diff options
Diffstat (limited to 'distrib/powerpc64/iso/Makefile')
-rw-r--r-- | distrib/powerpc64/iso/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/powerpc64/iso/Makefile b/distrib/powerpc64/iso/Makefile index 5571cff3f6d..9093e59f7dc 100644 --- a/distrib/powerpc64/iso/Makefile +++ b/distrib/powerpc64/iso/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2021/04/13 21:16:01 deraadt Exp $ +# $OpenBSD: Makefile,v 1.5 2022/02/10 15:12:57 krw Exp $ FS= install${OSrev}.img FSSIZE= 1032192 @@ -28,8 +28,7 @@ all: ${FS} ${CDROM} ${FS}: ${BASE} ${XBASE} dd if=/dev/zero of=${FS} bs=512 count=${TOTALSIZE} vnconfig -v ${FS} > vnd - echo 'u\ne 0\nc\nn\n${MSDOSSTART}\n${MSDOSSIZE}\ne 3\nA6\nn\n${FFSSTART}\n*\nf 0\nw\nq\n' \ - | fdisk -e `cat vnd` >/dev/null + fdisk -iy -b "${MSDOSSIZE}@${MSDOSSTART}:c" `cat vnd` >/dev/null echo 'a a\n\n\n\nw\nq\n' | disklabel -E `cat vnd` >/dev/null newfs -t msdos ${NEWFS_ARGS_msdos} /dev/r`cat vnd`i mount ${MOUNT_ARGS_msdos} /dev/`cat vnd`i ${MOUNT_POINT} |