1999-06-27 16:55:58 +04:00
|
|
|
# $NetBSD: list,v 1.9 1999/06/27 12:56:00 mrg 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
|
|
|
|
|
|
|
|
SRCDIRS bin gnu/usr.bin/binutils gnu/usr.bin sbin sys/arch/sparc/stand usr.bin/less usr.bin usr.sbin/pppd usr.sbin
|
1998-06-06 09:29:50 +04:00
|
|
|
|
|
|
|
# copy the crunched binary, link to it, and kill it
|
1999-06-27 16:55:58 +04:00
|
|
|
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
|
1999-01-10 16:39:44 +03:00
|
|
|
|
1999-06-27 16:55:58 +04:00
|
|
|
LINK ramdiskbin usr/mdec/installboot
|
1999-01-10 16:39:44 +03:00
|
|
|
|
1999-06-27 16:55:58 +04:00
|
|
|
LINK ramdiskbin usr/sbin/chown usr/bin/chgrp
|
|
|
|
LINK ramdiskbin usr/sbin/chroot
|
|
|
|
LINK ramdiskbin usr/sbin/update
|
|
|
|
LINK ramdiskbin usr/sbin/pppd
|
|
|
|
LINK ramdiskbin usr/sbin/sysctl
|
1999-01-10 16:39:44 +03:00
|
|
|
|
|
|
|
# `internal' crunchgen links
|
1999-06-27 16:55:58 +04:00
|
|
|
ARGVLINK mount_ffs ffs
|
|
|
|
ARGVLINK mount_nfs nfs
|
|
|
|
ARGVLINK mount_cd9660 cd9660
|
|
|
|
ARGVLINK sh -sh
|
1999-01-10 16:39:44 +03:00
|
|
|
|
|
|
|
# no longer needed...
|
1999-06-27 16:55:58 +04:00
|
|
|
SPECIAL /bin/rm ramdiskbin
|
1998-06-06 09:29:50 +04:00
|
|
|
|
|
|
|
# copy the MAKEDEV script and make some devices
|
1999-01-10 16:39:44 +03:00
|
|
|
COPY ${TOPDIR}/../../etc/etc.sparc/MAKEDEV dev/MAKEDEV
|
1998-06-06 09:29:50 +04:00
|
|
|
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
|
1999-01-10 16:39:44 +03:00
|
|
|
COPY ${REALCURDIR}/termcap.src usr/share/misc/termcap
|
1998-06-06 09:29:50 +04:00
|
|
|
|
|
|
|
# various files that we need in /etc for the install
|
1999-01-10 16:39:44 +03:00
|
|
|
COPY ${TOPDIR}/../../etc/group etc/group
|
|
|
|
COPY ${TOPDIR}/../../etc/protocols etc/protocols
|
|
|
|
COPY ${TOPDIR}/../../etc/services etc/services
|
1998-06-06 09:29:50 +04:00
|
|
|
|
1999-01-10 16:39:44 +03:00
|
|
|
# we use libhack (/etc/passwd hackery)
|
|
|
|
SPECIAL sed -e 's/^\([^:]*:[^:]*:[^:]*:[^:]*:\):0:0:/\1/' ${TOPDIR}/../../etc/master.passwd > etc/passwd
|
1998-06-09 18:21:02 +04:00
|
|
|
|
1999-01-10 16:39:44 +03:00
|
|
|
# the disktab explanation file
|
1999-04-09 01:17:14 +04:00
|
|
|
COPY ${REALCURDIR}/disktab.preinstall etc/disktab.preinstall
|
1998-06-06 09:29:50 +04:00
|
|
|
|
|
|
|
# Minimize use of MFS
|
|
|
|
SYMLINK /tmp var/tmp
|
1999-01-10 16:39:44 +03:00
|
|
|
|
|
|
|
# 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
|
1999-04-09 01:17:14 +04:00
|
|
|
COPY ${REALCURDIR}/dot.profile .profile
|
1999-01-10 16:39:44 +03:00
|
|
|
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
|