summaryrefslogtreecommitdiff
path: root/distrib/sun3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-30 01:31:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-30 01:31:21 +0000
commitb06e91c49bacbe816a8e7cddf68d776adb1e1130 (patch)
tree51cea4d030195be86feb0e64aa26ae5ee4a05b8e /distrib/sun3
parente8bb7a5cf517821dedd016a4acdef892f2d34b61 (diff)
use SCRIPT command
Diffstat (limited to 'distrib/sun3')
-rw-r--r--distrib/sun3/miniroot/list28
-rw-r--r--distrib/sun3/ramdisk/list16
2 files changed, 21 insertions, 23 deletions
diff --git a/distrib/sun3/miniroot/list b/distrib/sun3/miniroot/list
index 49bc05f3179..ded9646a953 100644
--- a/distrib/sun3/miniroot/list
+++ b/distrib/sun3/miniroot/list
@@ -1,26 +1,23 @@
-# $OpenBSD: list,v 1.8 2002/04/29 17:13:39 deraadt Exp $
+# $OpenBSD: list,v 1.9 2002/04/30 01:31:20 deraadt Exp $
# Sun3 extras
-LINK instbin sbin/disklabel
-LINK instbin sbin/dmesg
-LINK instbin sbin/dhclient
-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
+LINK instbin sbin/disklabel
+LINK instbin sbin/dmesg
+LINK instbin sbin/dhclient
+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
-# crunchgen source directory specials
-#CRUNCHSPECIAL installboot srcdir sys/arch/sun3/stand/installboot
-
# Minimize use of MFS
SYMLINK /tmp var/tmp
# copy the MAKEDEV script and make some devices
-SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${DESTDIR}/dev/MAKEDEV > dev/MAKEDEV
+SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV all
# we need the contents of /usr/mdec
@@ -40,6 +37,7 @@ SYMLINK /tmp/hosts etc/hosts
TERMCAP vt100,vt200,dumb,sun usr/share/misc/termcap
# and the installation tools
-SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`" < ${CURDIR}/../common/install.md > install.md
+SCRIPT ${CURDIR}/../common/install.md install.md
-SPECIAL sync; ${DESTDIR}/usr/mdec/installboot ${TARGDIR}/boot ${DESTDIR}/usr/mdec/bootxx /dev/rsvnd0c
+SPECIAL sync
+SPECIAL ${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 6c04698a92e..0c5f63ecd43 100644
--- a/distrib/sun3/ramdisk/list
+++ b/distrib/sun3/ramdisk/list
@@ -1,11 +1,11 @@
-# $OpenBSD: list,v 1.10 2002/04/29 17:13:39 deraadt Exp $
+# $OpenBSD: list,v 1.11 2002/04/30 01:31:20 deraadt Exp $
# Sun3 extra's
-LINK instbin sbin/disklabel
-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
+LINK instbin sbin/disklabel
+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
@@ -14,7 +14,7 @@ SRCDIRS sys/arch/sun3/stand
SYMLINK /tmp var/tmp
# copy the MAKEDEV script and make some devices
-SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${DESTDIR}/dev/MAKEDEV > dev/MAKEDEV
+SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV ramdisk
# we need the contents of /usr/mdec (but not installboot)
@@ -30,4 +30,4 @@ SYMLINK /tmp/hosts etc/hosts
TERMCAP vt100,vt200,dumb,sun usr/share/misc/termcap
# and the installation tools
-SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../common/install.md > install.md
+SCRIPT ${CURDIR}/../common/install.md install.md