diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-03-28 16:34:25 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-03-28 16:34:25 +0000 |
commit | b5dd44220fcfd4506bd7efcd862441ec3157bf02 (patch) | |
tree | 15cef9bc5969b5515eea72b5a89be1474cfdcc98 /distrib/landisk/miniroot | |
parent | 582b4c19db095f3d6bedf1c879707d8499d2b661 (diff) |
Use vnconfig's -t capability to avoid specifying geometry info to
fdisk while building media.
ok deraadt@
Diffstat (limited to 'distrib/landisk/miniroot')
-rw-r--r-- | distrib/landisk/miniroot/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/landisk/miniroot/Makefile b/distrib/landisk/miniroot/Makefile index ace29faf591..4b7a0639c69 100644 --- a/distrib/landisk/miniroot/Makefile +++ b/distrib/landisk/miniroot/Makefile @@ -37,9 +37,9 @@ do_files: rd_setup: dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS} - vnconfig -v -c ${VND} ${IMAGE} - fdisk -i -y -c 160 -h 2 -s 16 ${VND} - fdisk -u -y -c 160 -h 2 -s 16 -f ${DESTDIR}/usr/mdec/mbr ${VND} + vnconfig -v -c -t ${DISKTYPE} ${VND} ${IMAGE} + fdisk -i -y ${VND} + fdisk -u -y -f ${DESTDIR}/usr/mdec/mbr ${VND} disklabel -w ${VND} ${DISKTYPE} disklabel -v -B -b ${DESTDIR}/usr/mdec/xxboot ${VND} newfs ${NEWFSARGS} ${VND_RDEV} |