aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-09-28 21:13:30 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-09-28 21:13:30 +0000
commit79a94b12ae95bd01e1ff92f647d99526e1c79d49 (patch)
treeff715e25325b884b0c811d3cd6505a673af9e364 /release/scripts
parentf54137c33145752ab340a21d34d1a9df3389df35 (diff)
downloadsrc-79a94b12ae95bd01e1ff92f647d99526e1c79d49.tar.gz
src-79a94b12ae95bd01e1ff92f647d99526e1c79d49.zip
Fix UFS label for the root filesystem.
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-vmimage/; revision=272271
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/mk-vmimage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/mk-vmimage.sh b/release/scripts/mk-vmimage.sh
index d33b4c0e4a79..8e79e2998a51 100755
--- a/release/scripts/mk-vmimage.sh
+++ b/release/scripts/mk-vmimage.sh
@@ -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} \