diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2006-06-28 20:17:05 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2006-06-28 20:17:05 +0000 |
commit | f0b063e8d8b04d53ad8992c5881ea5c46fe2d99b (patch) | |
tree | 926bb43854b420c810e2aa55a7029accb0888b1a /distrib/armish/ramdisk | |
parent | 5e4e9f8b768b5c6a28b9b320e5262e67db343b1a (diff) |
Workaround the workaround added to load the kernel with redboot.
Make the address temporarily back to what it was so rdsetroot works.
Also fix a wrapped line indent error while here.
Diffstat (limited to 'distrib/armish/ramdisk')
-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 |