NetBSD/distrib/sparc/ramdisk/list

130 lines
4.1 KiB
Plaintext

# $NetBSD: list,v 1.11 1999/11/23 23:16:05 simonb Exp $
LIBS libhack.o -lz -lpcap -lbz2
CRUNCHSPECIAL dd srcdir distrib/utils/x_dd
CRUNCHSPECIAL ftp srcdir distrib/utils/x_ftp
CRUNCHSPECIAL gzip srcdir distrib/utils/x_gzip
CRUNCHSPECIAL ifconfig srcdir distrib/utils/x_ifconfig
CRUNCHSPECIAL init srcdir distrib/utils/init_s
CRUNCHSPECIAL netstat srcdir distrib/utils/x_netstat
CRUNCHSPECIAL route srcdir distrib/utils/x_route
CRUNCHSPECIAL sh srcdir distrib/utils/x_sh
CRUNCHSPECIAL ping srcdir distrib/utils/x_ping
SRCDIRS bin gnu/usr.bin/binutils gnu/usr.bin sbin sys/arch/sparc/stand usr.bin/less usr.bin usr.sbin/pppd usr.sbin
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/ramdiskbin ramdiskbin
LINK ramdiskbin bin/cat
LINK ramdiskbin bin/chmod
LINK ramdiskbin bin/cp
LINK ramdiskbin bin/dd
LINK ramdiskbin bin/df
LINK ramdiskbin bin/ed
LINK ramdiskbin bin/expr
LINK ramdiskbin bin/hostname
LINK ramdiskbin bin/kill
LINK ramdiskbin bin/ln
LINK ramdiskbin bin/ls
LINK ramdiskbin bin/mkdir
LINK ramdiskbin bin/mt
LINK ramdiskbin bin/mv
LINK ramdiskbin bin/pax usr/bin/tar usr/bin/cpio
LINK ramdiskbin bin/rm
LINK ramdiskbin bin/rcmd
LINK ramdiskbin bin/rcp
LINK ramdiskbin bin/sh
LINK ramdiskbin bin/sleep
LINK ramdiskbin bin/stty
LINK ramdiskbin bin/sync
LINK ramdiskbin bin/test bin/[
LINK ramdiskbin sbin/disklabel
LINK ramdiskbin sbin/fsck
LINK ramdiskbin sbin/fsck_ffs
LINK ramdiskbin sbin/ifconfig
LINK ramdiskbin sbin/init
LINK ramdiskbin sbin/mknod
LINK ramdiskbin sbin/mount
LINK ramdiskbin sbin/mount_cd9660
LINK ramdiskbin sbin/mount_ffs
LINK ramdiskbin sbin/mount_kernfs
LINK ramdiskbin sbin/mount_nfs
LINK ramdiskbin sbin/newfs sbin/mount_mfs
LINK ramdiskbin sbin/ping
LINK ramdiskbin sbin/reboot sbin/halt
LINK ramdiskbin sbin/restore sbin/rrestore
LINK ramdiskbin sbin/route
LINK ramdiskbin sbin/umount
LINK ramdiskbin usr/bin/bzip2 usr/bin/bunzip2 usr/bin/bzcat
LINK ramdiskbin usr/bin/chflags
LINK ramdiskbin usr/bin/ftp
LINK ramdiskbin usr/bin/getopt
LINK ramdiskbin usr/bin/gzip usr/bin/gunzip usr/bin/zcat
LINK ramdiskbin usr/bin/less usr/bin/more
LINK ramdiskbin usr/bin/netstat
LINK ramdiskbin usr/bin/rsh
LINK ramdiskbin usr/bin/sed
LINK ramdiskbin usr/bin/sort
LINK ramdiskbin usr/mdec/installboot
LINK ramdiskbin usr/sbin/chown usr/bin/chgrp
LINK ramdiskbin usr/sbin/chroot
LINK ramdiskbin usr/sbin/pppd
LINK ramdiskbin usr/sbin/sysctl
# `internal' crunchgen links
ARGVLINK mount_ffs ffs
ARGVLINK mount_nfs nfs
ARGVLINK mount_cd9660 cd9660
ARGVLINK sh -sh
# no longer needed...
SPECIAL /bin/rm ramdiskbin
# copy the MAKEDEV script and make some devices
COPY ${TOPDIR}/../../etc/etc.sparc/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV floppy
SPECIAL /bin/rm dev/MAKEDEV
# we need the boot blocks /usr/mdec
COPY ${DESTDIR}/usr/mdec/binstall usr/mdec/binstall
COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot
LINK usr/mdec/boot usr/mdec/boot.net
COPY ${DESTDIR}/usr/mdec/bootxx usr/mdec/bootxx
# and the termcap file
COPY ${REALCURDIR}/termcap.src usr/share/misc/termcap
# various files that we need in /etc for the install
COPY ${TOPDIR}/../../etc/group etc/group
COPY ${TOPDIR}/../../etc/protocols etc/protocols
COPY ${TOPDIR}/../../etc/services etc/services
# we use libhack (/etc/passwd hackery)
SPECIAL sed -e 's/^\([^:]*:[^:]*:[^:]*:[^:]*:\):0:0:/\1/' ${TOPDIR}/../../etc/master.passwd > etc/passwd
# the disktab explanation file
COPY ${REALCURDIR}/disktab.preinstall etc/disktab.preinstall
# Minimize use of MFS
SYMLINK /tmp var/tmp
# 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
# and the installation tools
COPY ${REALCURDIR}/dot.profile .profile
COPY ${TOPDIR}/install.md install.md
COPY ${TOPDIR}/../miniroot/install.sh install
COPY ${TOPDIR}/../miniroot/upgrade.sh upgrade
SPECIAL sed "/^VERSION=/s/=.*/=${REV}/" < ${TOPDIR}/../miniroot/install.sub > install.sub
SPECIAL chmod 755 install upgrade