Fix UFS label for the root filesystem.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
f54137c331
commit
79a94b12ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=272271
@ -63,7 +63,7 @@ vm_create_baseimage() {
|
||||
mkdir -p ${DESTDIR}
|
||||
truncate -s ${VMSIZE} ${VMBASE}
|
||||
mddev=$(mdconfig -f ${VMBASE})
|
||||
newfs -L root -j ${mddev}
|
||||
newfs -L rootfs -j /dev/${mddev}
|
||||
mount /dev/${mddev} ${DESTDIR}
|
||||
cd ${WORLDDIR} && \
|
||||
${IMAKE} DESTDIR=${DESTDIR} \
|
||||
|
Loading…
Reference in New Issue
Block a user