summaryrefslogtreecommitdiff
path: root/distrib/hppa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-05-12 16:10:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-05-12 16:10:09 +0000
commit4041d9ab1d04e5b78f7d91d755dbcde3a0f60247 (patch)
tree030676d93e066de06ffa4ddd75fef9e6e1f3b40b /distrib/hppa
parentf89b83c716f09a18b09f65a6f6b7b2643840a3bc (diff)
The list + list.local approach is only needed if an architecture builds
multiple bsd.rd. hppa builds one. Fold into one file.
Diffstat (limited to 'distrib/hppa')
-rw-r--r--distrib/hppa/ramdisk/list103
-rw-r--r--distrib/hppa/ramdisk/list.local23
2 files changed, 103 insertions, 23 deletions
diff --git a/distrib/hppa/ramdisk/list b/distrib/hppa/ramdisk/list
new file mode 100644
index 00000000000..0408ef113d9
--- /dev/null
+++ b/distrib/hppa/ramdisk/list
@@ -0,0 +1,103 @@
+# $OpenBSD: list,v 1.14 2019/05/12 16:10:08 deraadt Exp $
+
+SRCDIRS distrib/special
+
+# copy the crunched binary, link to it, and kill it
+COPY ${OBJDIR}/instbin instbin
+LINK instbin bin/arch
+LINK instbin bin/cat
+LINK instbin bin/chmod bin/chgrp sbin/chown
+LINK instbin bin/cp
+LINK instbin bin/date
+LINK instbin bin/dd
+LINK instbin bin/df
+LINK instbin bin/ed
+LINK instbin bin/hostname
+LINK instbin bin/ksh bin/sh
+ARGVLINK ksh -sh
+LINK instbin bin/ln
+LINK instbin bin/ls
+LINK instbin bin/md5 bin/sha256 bin/sha512
+SPECIAL rm bin/md5
+LINK instbin bin/mkdir
+LINK instbin bin/mt bin/eject
+LINK instbin bin/mv
+LINK instbin bin/pax bin/tar
+LINK instbin bin/rm
+LINK instbin bin/sleep
+LINK instbin bin/stty
+LINK instbin bin/sync
+LINK instbin sbin/disklabel
+LINK instbin sbin/dhclient
+LINK instbin sbin/dmesg
+LINK instbin sbin/fsck
+LINK instbin sbin/fsck_ffs
+LINK instbin sbin/ifconfig
+LINK instbin sbin/init
+LINK instbin sbin/mknod
+LINK instbin sbin/mount
+LINK instbin sbin/mount_cd9660
+LINK instbin sbin/mount_ffs
+LINK instbin sbin/mount_nfs
+LINK instbin sbin/newfs
+LINK instbin sbin/ping sbin/ping6
+LINK instbin sbin/reboot sbin/halt
+LINK instbin sbin/route
+LINK instbin sbin/sysctl
+LINK instbin sbin/umount
+LINK instbin usr/bin/doas
+LINK instbin usr/bin/encrypt
+LINK instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
+LINK instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
+LINK instbin usr/bin/more usr/bin/less
+LINK instbin usr/bin/sed
+LINK instbin usr/bin/signify
+LINK instbin usr/sbin/chroot
+LINK instbin usr/sbin/pwd_mkdb
+LINK instbin usr/sbin/installboot
+
+SPECIAL awk -f ${UTILS}/trimcerts.awk ${DESTDIR}/etc/ssl/cert.pem etc/ssl/cert.pem
+LINK instbin usr/bin/ftp-ssl usr/bin/ftp
+SPECIAL rm usr/bin/ftp-ssl
+
+# various files that we need in /etc for the install
+COPY ${CURDIR}/../../miniroot/group etc/group
+COPY ${CURDIR}/../../miniroot/master.passwd etc/master.passwd
+SPECIAL pwd_mkdb -p -d etc master.passwd; rm etc/master.passwd
+COPY ${DESTDIR}/etc/signify/openbsd-${OSrev}-base.pub etc/signify/openbsd-${OSrev}-base.pub
+COPY ${CURDIR}/../../miniroot/protocols etc/protocols
+COPY ${CURDIR}/../../miniroot/services etc/services
+
+# for disklabel(8) -B
+COPY ${DESTDIR}/usr/mdec/sdboot usr/mdec/sdboot
+LINK usr/mdec/sdboot usr/mdec/boot.lif
+
+# and the installation scripts
+SCRIPT ${CURDIR}/../../miniroot/dot.profile .profile
+SCRIPT ${CURDIR}/../../miniroot/install.sub install.sub
+SPECIAL chmod 755 install.sub
+SYMLINK install.sub autoinstall
+SYMLINK install.sub install
+SYMLINK install.sub upgrade
+
+# hppa extra's
+LINK instbin sbin/disklabel
+LINK instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
+LINK instbin usr/bin/more usr/bin/less
+LINK instbin sbin/bioctl
+LINK instbin sbin/growfs
+LINK instbin sbin/slaacd
+
+# copy the MAKEDEV script and make some devices
+SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
+SPECIAL cd dev; sh MAKEDEV ramdisk
+
+# various files that we need in /etc for the install
+SYMLINK /tmp/i/fstab.shadow etc/fstab
+SYMLINK /tmp/i/resolv.conf.shadow etc/resolv.conf
+SYMLINK /tmp/i/hosts etc/hosts
+TERMCAP vt100,vt220,dumb,hp2392,hpansi,hpsub,hpex,hp700-wy,hp70092 usr/share/misc/termcap
+
+# and the installation tools (no upgrade from to 3.3)
+SCRIPT ${CURDIR}/../install.md install.md
+TZ
diff --git a/distrib/hppa/ramdisk/list.local b/distrib/hppa/ramdisk/list.local
deleted file mode 100644
index 7c4f54bce6b..00000000000
--- a/distrib/hppa/ramdisk/list.local
+++ /dev/null
@@ -1,23 +0,0 @@
-# $OpenBSD: list.local,v 1.7 2019/04/30 17:46:03 deraadt Exp $
-
-# hppa extra's
-LINK instbin sbin/disklabel
-LINK instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
-LINK instbin usr/bin/more usr/bin/less
-LINK instbin sbin/bioctl
-LINK instbin sbin/growfs
-LINK instbin sbin/slaacd
-
-# copy the MAKEDEV script and make some devices
-SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
-SPECIAL cd dev; sh MAKEDEV ramdisk
-
-# various files that we need in /etc for the install
-SYMLINK /tmp/i/fstab.shadow etc/fstab
-SYMLINK /tmp/i/resolv.conf.shadow etc/resolv.conf
-SYMLINK /tmp/i/hosts etc/hosts
-TERMCAP vt100,vt220,dumb,hp2392,hpansi,hpsub,hpex,hp700-wy,hp70092 usr/share/misc/termcap
-
-# and the installation tools (no upgrade from to 3.3)
-SCRIPT ${CURDIR}/../install.md install.md
-TZ