summaryrefslogtreecommitdiff
path: root/distrib/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-03 03:36:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-03 03:36:54 +0000
commit40a568bee647cbd35c9590eda3920216b5ad2ad6 (patch)
tree9f4d576b94448e049fddede01a4a2906be2ad343 /distrib/i386
parent291beb079a311a2f9852574770121813d7ab6779 (diff)
avoid dd. do not ask me why
Diffstat (limited to 'distrib/i386')
-rw-r--r--distrib/i386/common/Makefile.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/distrib/i386/common/Makefile.inc b/distrib/i386/common/Makefile.inc
index 456caf0c326..156fbe37a93 100644
--- a/distrib/i386/common/Makefile.inc
+++ b/distrib/i386/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.6 2002/05/19 08:55:12 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2002/07/03 03:36:53 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -34,9 +34,10 @@ ${FS}: bsd.gz
disklabel -w -r ${VND} ${FLOPPYTYPE}
newfs -m 0 -o space -i 524288 -c 80 ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
- cp ${BOOT} ${MOUNT_POINT}/
- strip ${MOUNT_POINT}/boot
- cp bsd.gz ${MOUNT_POINT}/bsd
+ cp ${BOOT} ${.OBJDIR}/boot
+ strip ${.OBJDIR}/boot
+ dd if=${.OBJDIR}/boot of=${MOUNT_POINT}/boot bs=512
+ dd if=bsd.gz of=${MOUNT_POINT}/bsd bs=512
/usr/mdec/installboot -v -s ${FLOPPYSECS} -h 2 ${MOUNT_POINT}/boot \
${DESTDIR}/usr/mdec/biosboot ${VND_CRDEV}
@echo ""