diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-21 07:47:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-21 07:47:21 +0000 |
commit | 6a3ccf645b664cf1ad3dabadb633a067d6c4aff2 (patch) | |
tree | bb39ed23bc4a2a7d5bf906c975c54a83d22e8227 | |
parent | b3c8853b32e099d9b67f85bdccf3141511441a0a (diff) |
strip scripts; remove some crud
-rw-r--r-- | distrib/miniroot/list | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/distrib/miniroot/list b/distrib/miniroot/list index e579e180561..304e254ac51 100644 --- a/distrib/miniroot/list +++ b/distrib/miniroot/list @@ -1,8 +1,8 @@ -# $OpenBSD: list,v 1.25 2002/04/18 22:17:19 deraadt Exp $ +# $OpenBSD: list,v 1.26 2002/04/21 07:47:20 deraadt Exp $ # $NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $ SRCDIRS distrib/special -SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin usr.bin/vi +SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin # copy the crunched binary, link to it, and kill it COPY ${OBJDIR}/instbin instbin @@ -38,15 +38,10 @@ LINK instbin sbin/mount_nfs LINK instbin sbin/newfs sbin/mount_mfs LINK instbin sbin/ping LINK instbin sbin/route -LINK instbin sbin/shutdown -LINK instbin sbin/slattach LINK instbin sbin/umount LINK instbin usr/bin/ftp LINK instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat LINK instbin usr/bin/sed -LINK instbin usr/bin/sort -LINK instbin usr/bin/tip -LINK instbin usr/bin/build usr/bin/vi # `internal' crunchgen links ARGVLINK mount_ffs ffs @@ -64,8 +59,7 @@ COPY ${CURDIR}/protocols etc/protocols COPY ${CURDIR}/services etc/services # and the installation scripts -COPY ${CURDIR}/install.sub install.sub -COPY ${CURDIR}/install.sh install -COPY ${CURDIR}/upgrade.sh upgrade -SPECIAL sed "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/install.sub > install.sub +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/upgrade.sh > upgrade +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/install.sh > install +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/install.sub > install.sub SPECIAL chmod 755 install upgrade |