diff --git a/build.sh b/build.sh index 41e2b608..d0ef5c4c 100755 --- a/build.sh +++ b/build.sh @@ -693,8 +693,9 @@ if [ ! -f "$WORK_IMG" ]; then gpart create -s BSD /dev/${MD}s2 gpart add -t freebsd-ufs /dev/${MD}s2 - # Create UFS filesystem on partition a - newfs -U /dev/${MD}s2a + # Create UFS filesystem on partition a. Keep the label expected by the + # stock FreeBSD memstick loader configuration. + newfs -U -L FreeBSD_Install /dev/${MD}s2a # Mount the new filesystem MOUNT_POINT="${CACHE_DIR}/mnt"