summaryrefslogtreecommitdiff
path: root/distrib/octeon/ramdisk/list
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2013-03-26 18:03:54 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2013-03-26 18:03:54 +0000
commitd97be1f3c659020f3a03c03443c28d018aa9304d (patch)
treec02b36098e4d4a18a6b1e35575b324663c5f6b6d /distrib/octeon/ramdisk/list
parenta0618bdb1b7a4202f1ed76820c904808ca4e2a51 (diff)
add ramdisk installer for octeon, still has some rough edges and needs some
manual fiddling, but works good enough to perform an install on the CAM-0100.
Diffstat (limited to 'distrib/octeon/ramdisk/list')
-rw-r--r--distrib/octeon/ramdisk/list88
1 files changed, 88 insertions, 0 deletions
diff --git a/distrib/octeon/ramdisk/list b/distrib/octeon/ramdisk/list
new file mode 100644
index 00000000000..96972afb303
--- /dev/null
+++ b/distrib/octeon/ramdisk/list
@@ -0,0 +1,88 @@
+# $OpenBSD: list,v 1.1 2013/03/26 18:03:53 jasper Exp $
+
+SRCDIRS distrib/special
+SRCDIRS bin sbin usr.bin usr.sbin
+
+# 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/date
+LINK instbin bin/chmod bin/chgrp sbin/chown
+LINK instbin bin/cp
+LINK instbin bin/dd
+LINK instbin bin/df
+LINK instbin bin/ed
+LINK instbin bin/expr
+LINK instbin bin/hostname
+LINK instbin bin/ksh bin/sh
+ARGVLINK ksh -sh
+LINK instbin bin/ln
+LINK instbin bin/ls
+LINK instbin bin/mkdir
+LINK instbin bin/mt bin/eject
+LINK instbin bin/mv
+LINK instbin bin/pax bin/tar bin/cpio
+LINK instbin bin/rm
+LINK instbin bin/sha256
+LINK instbin bin/sleep
+LINK instbin bin/stty
+LINK instbin bin/sync
+LINK instbin sbin/dhclient
+LINK instbin sbin/disklabel
+LINK instbin sbin/dmesg
+LINK instbin sbin/fdisk
+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_udf
+LINK instbin sbin/mount_ffs
+LINK instbin sbin/mount_msdos
+LINK instbin sbin/mount_nfs
+LINK instbin sbin/newfs
+LINK instbin sbin/newfs_msdos
+LINK instbin sbin/ping
+LINK instbin sbin/ping6
+LINK instbin sbin/reboot sbin/halt
+LINK instbin sbin/route
+LINK instbin sbin/rtsol
+LINK instbin sbin/umount
+LINK instbin usr/bin/ftp
+LINK instbin usr/bin/grep usr/bin/fgrep usr/bin/egrep
+LINK instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
+LINK instbin usr/bin/less usr/bin/more
+LINK instbin usr/bin/sed
+LINK instbin sbin/sysctl
+
+# 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
+COPY ${DESTDIR}/etc/group etc/group
+COPY ${CURDIR}/../../miniroot/master.passwd etc/master.passwd
+SPECIAL pwd_mkdb -p -d etc master.passwd; rm etc/master.passwd
+COPY ${CURDIR}/../../miniroot/protocols etc/protocols
+COPY ${CURDIR}/../../miniroot/services etc/services
+SYMLINK /tmp/fstab.shadow etc/fstab
+SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
+SYMLINK /tmp/hosts etc/hosts
+TERMCAP vt100,vt220,dumb usr/share/misc/termcap
+
+# firmware we might need
+# ...none yet untill USB works.
+
+# and the installation tools
+SCRIPT ${CURDIR}/../../miniroot/dot.profile .profile
+SCRIPT ${CURDIR}/install.md install.md
+SCRIPT ${CURDIR}/../../miniroot/upgrade.sh upgrade
+SCRIPT ${CURDIR}/../../miniroot/install.sh install
+SCRIPT ${CURDIR}/../../miniroot/install.sub install.sub
+SPECIAL chmod 755 install upgrade
+
+HASH var/hash
+TZ