mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Remove the UFS label from the root filesystem since it is added
by mkimg(1) as a gpt label, consistent with the fstab(5) entry. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5baa1b2730
commit
1e2f9a549b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=272277
@ -63,7 +63,7 @@ vm_create_baseimage() {
|
||||
mkdir -p ${DESTDIR}
|
||||
truncate -s ${VMSIZE} ${VMBASE}
|
||||
mddev=$(mdconfig -f ${VMBASE})
|
||||
newfs -L rootfs -j /dev/${mddev}
|
||||
newfs -j /dev/${mddev}
|
||||
mount /dev/${mddev} ${DESTDIR}
|
||||
cd ${WORLDDIR} && \
|
||||
${IMAKE} DESTDIR=${DESTDIR} \
|
||||
|
Loading…
Reference in New Issue
Block a user