mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
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
5c1d8c4b73
commit
8ea90e075c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332390
@ -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