Label installer root filesystem
This commit is contained in:
parent
e5496c247e
commit
1a2d0b1d1f
1 changed files with 3 additions and 2 deletions
5
build.sh
5
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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue