1
0
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:
Glen Barber 2014-09-28 23:22:55 +00:00
parent 5baa1b2730
commit 1e2f9a549b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=272277

View File

@ -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} \