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

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