summaryrefslogtreecommitdiff
path: root/distrib/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-29 17:13:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-29 17:13:40 +0000
commit38bf101802581aab6eedd860599bec1fe80f8bf1 (patch)
tree7064997817e5c9040fd694554804d319d5451954 /distrib/sparc
parentbe5da28bf760481cf2c10351d5815e8673d7a7f6 (diff)
generate termcap file using a list2sh.awk directrive; distrib becomes a lot smaller again
Diffstat (limited to 'distrib/sparc')
-rw-r--r--distrib/sparc/miniroot/list6
-rw-r--r--distrib/sparc/ramdisk/list6
2 files changed, 4 insertions, 8 deletions
diff --git a/distrib/sparc/miniroot/list b/distrib/sparc/miniroot/list
index 116794ac3d8..3429a3b4eab 100644
--- a/distrib/sparc/miniroot/list
+++ b/distrib/sparc/miniroot/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.17 2002/04/22 02:43:16 deraadt Exp $
+# $OpenBSD: list,v 1.18 2002/04/29 17:13:39 deraadt Exp $
# $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $
# Sparc extra's
@@ -27,9 +27,6 @@ SPECIAL cd dev; sh MAKEDEV all
COPYDIR ${DESTDIR}/usr/mdec usr/mdec
SPECIAL rm -f usr/mdec/binstall usr/mdec/installboot
-# and a few useful bits of the termcap file (512K and still growing 8-)
-SPECIAL tic -C ${CURDIR}/../../share/termtypes/termtypes.master | sed -n -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' -e 's,/usr/lib/tabset,/usr/share/tabset,g' -e '/^dumb|/,/:[ ]*$/p' -e '/^unknown|/,/:[ ]*$/p' -e '/^sun.*|/,/:[ ]*$/p' -e '/^vt.*|/,/:[ ]*$/p' -e '/^pc3|/,/:[ ]*$/p' -e '/^pcvt.*|/,/:[ ]*$/p' > usr/share/misc/termcap
-
# copy the kernel
COPY bsd bsd
@@ -39,6 +36,7 @@ SYMLINK /tmp/disktab.shadow etc/disktab
SYMLINK /tmp/fstab.shadow etc/fstab
SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
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`/" < ${ARCHDIR}/../install.md > install.md
diff --git a/distrib/sparc/ramdisk/list b/distrib/sparc/ramdisk/list
index b7acb40d3f5..2e5c1a58bcd 100644
--- a/distrib/sparc/ramdisk/list
+++ b/distrib/sparc/ramdisk/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.14 2002/04/22 02:43:16 deraadt Exp $
+# $OpenBSD: list,v 1.15 2002/04/29 17:13:39 deraadt Exp $
# $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $
# Sparc extra's
@@ -22,15 +22,13 @@ SPECIAL cd dev; sh MAKEDEV ramdisk
COPYDIR ${DESTDIR}/usr/mdec usr/mdec
SPECIAL rm -f usr/mdec/binstall usr/mdec/installboot
-# and a few useful bits of the termcap file (512K and still growing 8-)
-SPECIAL tic -C ${CURDIR}/../../share/termtypes/termtypes.master | sed -n -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' -e 's,/usr/lib/tabset,/usr/share/tabset,g' -e '/^dumb|/,/:[ ]*$/p' -e '/^unknown|/,/:[ ]*$/p' -e '/^sun.*|/,/:[ ]*$/p' -e '/^vt.*|/,/:[ ]*$/p' -e '/^pc3|/,/:[ ]*$/p' -e '/^pcvt.*|/,/:[ ]*$/p' > usr/share/misc/termcap
-
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/disktab etc/disktab.shadow
SYMLINK /tmp/disktab.shadow etc/disktab
SYMLINK /tmp/fstab.shadow etc/fstab
SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
SYMLINK /tmp/hosts etc/hosts
+TERMCAP vt100,vt220,dumb,sun usr/share/misc/termcap
# and the installation tools
SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${ARCHDIR}/../install.md > install.md