summaryrefslogtreecommitdiff
path: root/distrib/sun3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-21 17:13:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-21 17:13:36 +0000
commit4bdeb7e69674d5632ace6390beb04c3ca1f20c6b (patch)
tree47f1954ed9908c73f073a8d5eafe8e634cad2530 /distrib/sun3
parent286c6c25aac0e1e129d58c60e02d8a7cc6d27e63 (diff)
same cleanup as elsewhere
Diffstat (limited to 'distrib/sun3')
-rw-r--r--distrib/sun3/miniroot/list30
-rw-r--r--distrib/sun3/ramdisk/list18
2 files changed, 19 insertions, 29 deletions
diff --git a/distrib/sun3/miniroot/list b/distrib/sun3/miniroot/list
index cb6b1cddf29..0e6191c7a21 100644
--- a/distrib/sun3/miniroot/list
+++ b/distrib/sun3/miniroot/list
@@ -1,22 +1,15 @@
-# $OpenBSD: list,v 1.4 2001/10/08 19:26:14 deraadt Exp $
+# $OpenBSD: list,v 1.5 2002/04/21 17:13:35 deraadt Exp $
# Sun3 extras
LINK instbin sbin/disklabel
LINK instbin sbin/dmesg
LINK instbin sbin/dhclient
-
-SYMLINK ../../instbin usr/bin/basename
-SYMLINK ../../instbin usr/bin/cksum usr/bin/sum
-SYMLINK ../../instbin usr/bin/cut
-SYMLINK ../../instbin usr/bin/getopt
-SYMLINK ../../instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
-SYMLINK ../../instbin usr/bin/netstat
-SYMLINK ../../instbin usr/bin/rsh
-SYMLINK ../../instbin usr/bin/strings
-SYMLINK ../../instbin usr/bin/tset usr/bin/reset
-SYMLINK ../../instbin usr/bin/less usr/bin/more
-SYMLINK ../../instbin usr/sbin/installboot
-SYMLINK ../../instbin usr/sbin/sysctl
+LINK instbin usr/bin/cksum usr/bin/sum
+LINK instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
+LINK instbin usr/bin/tset usr/bin/reset
+LINK instbin usr/bin/less usr/bin/more
+LINK instbin usr/sbin/installboot
+SPECIAL /bin/rm instbin
SRCDIRS sys/arch/sun3/stand
@@ -27,12 +20,11 @@ SRCDIRS sys/arch/sun3/stand
SYMLINK /tmp var/tmp
# copy the MAKEDEV script and make some devices
-COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
-COPY ${DESTDIR}/dev/MAKEDEV.local dev/MAKEDEV.local
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${DESTDIR}/dev/MAKEDEV > dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV all
-#SPECIAL /bin/rm dev/MAKEDEV
# we need the contents of /usr/mdec
+COPY ${DESTDIR}/usr/mdec/ufsboot boot
COPY ${DESTDIR}/usr/mdec/bootxx /usr/mdec/bootxx
COPY ${DESTDIR}/usr/mdec/ufsboot /usr/mdec/ufsboot
@@ -50,7 +42,7 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
SYMLINK /tmp/hosts etc/hosts
# and the installation tools
-COPY ${ARCHDIR}/dot.profile .profile
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${ARCHDIR}/dot.profile > .profile
SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`" < ${CURDIR}/../common/install.md > install.md
-COPY ${DESTDIR}/usr/mdec/ufsboot boot
+
SPECIAL sync; ${DESTDIR}/usr/mdec/installboot ${TARGDIR}/boot ${DESTDIR}/usr/mdec/bootxx /dev/rsvnd0c
diff --git a/distrib/sun3/ramdisk/list b/distrib/sun3/ramdisk/list
index 26cd1601eb8..41a7ac7f1f3 100644
--- a/distrib/sun3/ramdisk/list
+++ b/distrib/sun3/ramdisk/list
@@ -1,14 +1,12 @@
-# $OpenBSD: list,v 1.6 2001/10/08 19:26:14 deraadt Exp $
+# $OpenBSD: list,v 1.7 2002/04/21 17:13:35 deraadt Exp $
# Sun3 extra's
LINK instbin sbin/disklabel
-
-SYMLINK ../../instbin usr/bin/basename
-SYMLINK ../../instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
-SYMLINK ../../instbin usr/bin/rsh
-SYMLINK ../../instbin usr/bin/tset usr/bin/reset
-SYMLINK ../../instbin usr/bin/less usr/bin/more
-SYMLINK ../../instbin usr/sbin/installboot
+LINK instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
+LINK instbin usr/bin/tset usr/bin/reset
+LINK instbin usr/bin/less usr/bin/more
+LINK instbin usr/sbin/installboot
+SPECIAL /bin/rm instbin
SRCDIRS sys/arch/sun3/stand
@@ -16,7 +14,7 @@ SRCDIRS sys/arch/sun3/stand
SYMLINK /tmp var/tmp
# copy the MAKEDEV script and make some devices
-COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${DESTDIR}/dev/MAKEDEV > dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV ramdisk
# we need the contents of /usr/mdec (but not installboot)
@@ -34,5 +32,5 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
SYMLINK /tmp/hosts etc/hosts
# and the installation tools
-COPY ${ARCHDIR}/../ramdisk/dot.profile .profile
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${ARCHDIR}/../ramdisk/dot.profile > .profile
SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../common/install.md > install.md