diff options
-rw-r--r-- | distrib/armish/ramdisk/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/distrib/armish/ramdisk/Makefile b/distrib/armish/ramdisk/Makefile index 670250626aa..bd96ee17b7a 100644 --- a/distrib/armish/ramdisk/Makefile +++ b/distrib/armish/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2006/06/06 00:01:49 drahn Exp $ +# $OpenBSD: Makefile,v 1.2 2006/06/28 20:17:04 drahn Exp $ REV= ${OSrev} @@ -39,7 +39,13 @@ all: ${BSD_RD} ${BSD_RD}: ${CBIN} ${IMAGE} bsd rdsetroot cp bsd ${BSD_RD} + awk 'BEGIN { printf("%c", 192); }' < /dev/null | dd of=${BSD_RD} bs=1 count=1 seek=95 conv=notrunc 2>/dev/null; + awk 'BEGIN { printf("%c", 192); }' < /dev/null | dd of=${BSD_RD} bs=1 count=1 seek=127 conv=notrunc 2>/dev/null; + awk 'BEGIN { printf("%c", 192); }' < /dev/null | dd of=${BSD_RD} bs=1 count=1 seek=159 conv=notrunc 2>/dev/null; ${.OBJDIR}/rdsetroot ${BSD_RD} < ${IMAGE} + dd if=/dev/zero of=${BSD_RD} bs=1 count=1 seek=95 conv=notrunc 2>/dev/null; + dd if=/dev/zero of=${BSD_RD} bs=1 count=1 seek=127 conv=notrunc 2>/dev/null; + dd if=/dev/zero of=${BSD_RD} bs=1 count=1 seek=159 conv=notrunc 2>/dev/null; ${IMAGE}: rd_setup do_files rd_teardown @@ -94,8 +100,7 @@ do_files: clean cleandir: /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \ - *.o *.lo *.c bsd ${BSD_RD} \ - rdsetroot + *.o *.lo *.c bsd ${BSD_RD} rdsetroot rm -f instbin.conf rm -rf cd-dir |