mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
vmimage.subr: Log correct paths into METALOG
Paths all need to start with "./" because that's what newfs wants.
Fixes: e0c41af925 ("vmimage.subr: Enable FreeBSD-base repo if pkgbase")
MFC after: immediately
This commit is contained in:
parent
a537694b49
commit
aa33b6b820
1 changed files with 2 additions and 2 deletions
|
|
@ -109,8 +109,8 @@ vm_install_base() {
|
|||
metalog_add_data ./var/db/pkg/local.sqlite
|
||||
mkdir -p ${DESTDIR}/usr/local/etc/pkg/repos
|
||||
echo 'FreeBSD-base: { enabled: yes }' > ${DESTDIR}/usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
metalog_add_data /usr/local/etc/pkg/repos
|
||||
metalog_add_data /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
metalog_add_data ./usr/local/etc/pkg/repos
|
||||
metalog_add_data ./usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
else
|
||||
cd ${WORLDDIR} && \
|
||||
make DESTDIR=${DESTDIR} ${INSTALLOPTS} \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue