summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-10 06:04:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-10 06:04:50 +0000
commit5896693bd2ebf0011e3662d8db01e4d902f64598 (patch)
treef7cefd336149cd78d70ee2069cb17e32f2407c4d
parentc1aa95a96a35491e50bb9288424b7ec33811b909 (diff)
leave a stripped MAKEDEV around
-rw-r--r--distrib/sparc64/bsd.rd/list9
-rw-r--r--distrib/sparc64/ramdisk/list9
-rw-r--r--distrib/sparc64/ramdiskB/list9
3 files changed, 15 insertions, 12 deletions
diff --git a/distrib/sparc64/bsd.rd/list b/distrib/sparc64/bsd.rd/list
index 3bd28bba31a..7b0f4a8d62c 100644
--- a/distrib/sparc64/bsd.rd/list
+++ b/distrib/sparc64/bsd.rd/list
@@ -1,13 +1,14 @@
-# $OpenBSD: list,v 1.2 2001/10/12 19:04:56 jason Exp $
+# $OpenBSD: list,v 1.3 2002/04/10 06:04:49 deraadt 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
+#COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${DESTDIR}/dev/MAKEDEV > dev/MAKEDEV
+SPECIAL cd dev; sh MAKEDEV ramdisk
+#SPECIAL rm dev/MAKEDEV
# and the installation tools
SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../common/dot.profile > .profile
diff --git a/distrib/sparc64/ramdisk/list b/distrib/sparc64/ramdisk/list
index 0bfd185f2ea..11c23bb50d7 100644
--- a/distrib/sparc64/ramdisk/list
+++ b/distrib/sparc64/ramdisk/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.8 2002/02/14 03:40:13 deraadt Exp $
+# $OpenBSD: list,v 1.9 2002/04/10 06:04:49 deraadt Exp $
SRCDIRS distrib/special
SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin
@@ -52,9 +52,10 @@ LINK instbin usr/bin/sed
LINK instbin usr/bin/sort
# copy the MAKEDEV script and make some devices
-COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
-SPECIAL echo "cd dev; sh MAKEDEV ramdisk; rm MAKEDEV"
-SPECIAL cd dev; sh MAKEDEV ramdisk; rm MAKEDEV
+#COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${DESTDIR}/dev/MAKEDEV > dev/MAKEDEV
+SPECIAL cd dev; sh MAKEDEV ramdisk
+#SPECIAL rm dev/MAKEDEV
# we need the contents of /usr/mdec
#COPY ${DESTDIR}/usr/mdec/installboot usr/mdec/installboot
diff --git a/distrib/sparc64/ramdiskB/list b/distrib/sparc64/ramdiskB/list
index 4a18fbcb634..1cc0f49c8de 100644
--- a/distrib/sparc64/ramdiskB/list
+++ b/distrib/sparc64/ramdiskB/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.4 2002/02/14 03:40:13 deraadt Exp $
+# $OpenBSD: list,v 1.5 2002/04/10 06:04:49 deraadt Exp $
SRCDIRS distrib/special
SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin
@@ -52,9 +52,10 @@ LINK instbin usr/bin/sed
LINK instbin usr/bin/sort
# copy the MAKEDEV script and make some devices
-COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
-SPECIAL echo "cd dev; sh MAKEDEV ramdisk; rm MAKEDEV"
-SPECIAL cd dev; sh MAKEDEV ramdisk; rm MAKEDEV
+#COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${DESTDIR}/dev/MAKEDEV > dev/MAKEDEV
+SPECIAL cd dev; sh MAKEDEV ramdisk
+#SPECIAL rm dev/MAKEDEV
# we need the contents of /usr/mdec
#COPY ${DESTDIR}/usr/mdec/installboot usr/mdec/installboot