summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-04-01 03:35:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-04-01 03:35:58 +0000
commitb2f9be366dd213e8c2afcca06d7f17b4786900bb (patch)
treed63fcbf3c101287af3788c0268cbba98c93b3537
parentabb2e8f0ac9ca1bb2ada885463c3d0460388a8c4 (diff)
strip comments, hp300 ramdisk is getting full
-rw-r--r--distrib/hp300/ramdisk/list21
1 files changed, 12 insertions, 9 deletions
diff --git a/distrib/hp300/ramdisk/list b/distrib/hp300/ramdisk/list
index cd0dee20ac9..8c154cc790f 100644
--- a/distrib/hp300/ramdisk/list
+++ b/distrib/hp300/ramdisk/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.11 1998/04/28 16:27:59 millert Exp $
+# $OpenBSD: list,v 1.12 1999/04/01 03:35:57 millert Exp $
COPY ${OBJDIR}/raminst raminst
LINK raminst bin/cat
@@ -79,17 +79,20 @@ COPY rd.master.passwd etc/master.passwd
COPY rd.disktab etc/disktab
SPECIAL cd etc; pwd_mkdb -p -d . ./master.passwd
+# we strip comments from files since we need the space...
+
# and the common installation tools
-COPY ${TOPDIR}/common/dot.commonutils .commonutils
-COPY ${TOPDIR}/common/termcap.hp-vt usr/share/misc/termcap
+SPECIAL sed -e '/^#[ ].*$/d' < ${TOPDIR}/common/dot.commonutils > .commonutils
+SPECIAL sed -e '/^#[ ].*$/d' < ${TOPDIR}/common/termcap.hp-vt > usr/share/misc/termcap
# and the installation tools
-COPY dot.profile .profile
-COPY dot.instutils .instutils
-COPY install.md install.md
-COPY ${CURDIR}/../../miniroot/install.sh install
-COPY ${CURDIR}/../../miniroot/upgrade.sh upgrade
-SPECIAL sed -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub
+SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/dot.profile > .profile
+SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/dot.instutils > .instutils
+SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/install.md > install.md
+SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/install.sh > install
+SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade
+SPECIAL sed -e "/^VERSION=/s/=.*/=${REV}/" -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/install.sub > install.sub
+
SPECIAL chmod 755 install upgrade
# so DNS can work