1
0
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:
Ed Maste 2018-04-10 19:49:04 +00:00
parent 5c1d8c4b73
commit 8ea90e075c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332390
4 changed files with 21 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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}