summaryrefslogtreecommitdiff
path: root/distrib/sparc64/bsd.rd
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-10-12 19:04:57 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-10-12 19:04:57 +0000
commitdae3a5a412135f89d36c71059c79203dcfb834e9 (patch)
treed8f2ea85406049b02b3771ae9ff2f50cca9b81cb /distrib/sparc64/bsd.rd
parentd2b8a1b4a93966c8e9af3e49b9529aedc2d31528 (diff)
repair (actually populate the ramdisk with devices and such)
Diffstat (limited to 'distrib/sparc64/bsd.rd')
-rw-r--r--distrib/sparc64/bsd.rd/Makefile6
-rw-r--r--distrib/sparc64/bsd.rd/list6
2 files changed, 8 insertions, 4 deletions
diff --git a/distrib/sparc64/bsd.rd/Makefile b/distrib/sparc64/bsd.rd/Makefile
index 2fbffd53cb9..05f07c7dfea 100644
--- a/distrib/sparc64/bsd.rd/Makefile
+++ b/distrib/sparc64/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2001/10/10 04:21:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2001/10/12 19:04:56 jason Exp $
TOP= ${.CURDIR}/..
@@ -30,6 +30,8 @@ BOOTXX?= /usr/mdec/bootxx
RDSETROOT= elfrdsetroot
+CLEANFILES+= bsd.rd_unz elfrdsetroot
+
#.include "${TOP}/common/Makefile.inc"
all: ${CBIN} bsd.rd
@@ -87,8 +89,6 @@ unconfig:
-umount ${MOUNT_POINT}
-vnconfig -u ${VND}
-${IMAGE}: ${CBIN} rd_setup do_files rd_teardown
-
rd_setup: ${CBIN}
dd if=/dev/zero of=${REALIMAGE} bs=512 count=${NBLKS}
vnconfig -v -c ${VND} ${REALIMAGE}
diff --git a/distrib/sparc64/bsd.rd/list b/distrib/sparc64/bsd.rd/list
index 0442e0a2e15..3bd28bba31a 100644
--- a/distrib/sparc64/bsd.rd/list
+++ b/distrib/sparc64/bsd.rd/list
@@ -1,10 +1,14 @@
-# $OpenBSD: list,v 1.1 2001/10/10 04:21:02 deraadt Exp $
+# $OpenBSD: list,v 1.2 2001/10/12 19:04:56 jason Exp $
# we strip comments from files since we need the space...
# the disktab explanation file
#SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../common/disktab.preinstall > etc/disktab.preinstall
+COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL echo "cd dev; sh MAKEDEV ramdisk; rm MAKEDEV"
+SPECIAL cd dev; sh MAKEDEV ramdisk; rm MAKEDEV
+
# and the installation tools
SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../common/dot.profile > .profile
SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub