make-memstick.sh: put partition args on separate lines
This makes it easier to identify the individual partition types and facilitates comparisons across architectures. Reviewed by: gjb MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
d55e53acf5
commit
e6f9b529dc
@ -36,6 +36,12 @@ makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
mkimg -s gpt -b ${1}/boot/pmbr -p efi:=${1}/boot/boot1.efifat -p freebsd-boot:=${1}/boot/gptboot -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}
|
||||
mkimg -s gpt \
|
||||
-b ${1}/boot/pmbr \
|
||||
-p efi:=${1}/boot/boot1.efifat \
|
||||
-p freebsd-boot:=${1}/boot/gptboot \
|
||||
-p freebsd-ufs:=${2}.part \
|
||||
-p freebsd-swap::1M \
|
||||
-o ${2}
|
||||
rm ${2}.part
|
||||
|
||||
|
@ -36,6 +36,9 @@ makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
mkimg -s gpt -p efi:=${1}/boot/boot1.efifat -p freebsd:=${2}.part -o ${2}
|
||||
mkimg -s gpt \
|
||||
-p efi:=${1}/boot/boot1.efifat \
|
||||
-p freebsd:=${2}.part \
|
||||
-o ${2}
|
||||
rm ${2}.part
|
||||
|
||||
|
@ -36,6 +36,11 @@ makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
mkimg -s gpt -b ${1}/boot/pmbr -p freebsd-boot:=${1}/boot/gptboot -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}
|
||||
mkimg -s gpt \
|
||||
-b ${1}/boot/pmbr \
|
||||
-p freebsd-boot:=${1}/boot/gptboot \
|
||||
-p freebsd-ufs:=${2}.part \
|
||||
-p freebsd-swap::1M \
|
||||
-o ${2}
|
||||
rm ${2}.part
|
||||
|
||||
|
@ -41,7 +41,10 @@ makefs -B big -o version=2 ${tempfile} ${1}
|
||||
rm ${1}/etc/fstab
|
||||
rm ${1}/etc/rc.conf.local
|
||||
|
||||
mkimg -s apm -p freebsd-boot:=${1}/boot/boot1.hfs -p freebsd-ufs/FreeBSD_Install:=${tempfile} -o ${2}
|
||||
mkimg -s apm \
|
||||
-p freebsd-boot:=${1}/boot/boot1.hfs \
|
||||
-p freebsd-ufs/FreeBSD_Install:=${tempfile} \
|
||||
-o ${2}
|
||||
|
||||
rm -f ${tempfile}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user