summaryrefslogtreecommitdiff
path: root/distrib/landisk/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-17 00:28:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-17 00:28:22 +0000
commitd67cf536981fe324152c9f4f89119b8b3a7b383d (patch)
tree0c088c5d3f1bd77f9db06173cd83167cff96d380 /distrib/landisk/miniroot
parent81f9f199b5e2a6741e5a9a68d39dd00dadaa4e18 (diff)
Stop using disklabel -r. The disklabel code does not know all the semantics
for pushing disklabels onto the disk (and besides that, it is buggy and unreadable crap); thanks for help from krw
Diffstat (limited to 'distrib/landisk/miniroot')
-rw-r--r--distrib/landisk/miniroot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/landisk/miniroot/Makefile b/distrib/landisk/miniroot/Makefile
index 90c120e34b5..8397d0768fb 100644
--- a/distrib/landisk/miniroot/Makefile
+++ b/distrib/landisk/miniroot/Makefile
@@ -38,10 +38,10 @@ do_files:
rd_setup:
dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS}
vnconfig -v -c ${VND} ${IMAGE}
- disklabel -w -r ${VND} ${DISKTYPE}
+ disklabel -w ${VND} ${DISKTYPE}
fdisk -i -y ${VND}
fdisk -u -f ${DESTDIR}/usr/mdec/mbr -y ${VND}
- disklabel -w -r ${VND} ${DISKTYPE}
+ disklabel -w ${VND} ${DISKTYPE}
disklabel -v -B -b ${DESTDIR}/usr/mdec/xxboot ${VND}
newfs ${NEWFSARGS} ${VND_RDEV}
fsck ${VND_RDEV}