#	$NetBSD: list,v 1.9 2000/06/10 04:56:12 matt Exp $

# Do this first in case spwd.db and pwd.db fill disk
COPY	${CURDIR}/../../../etc/master.passwd	etc/master.passwd
SPECIAL	pwd_mkdb -p -d ./ etc/master.passwd
SPECIAL	/bin/rm etc/spwd.db
SPECIAL	/bin/rm etc/pwd.db

# copy the MAKEDEV script and make some devices
COPY	${CURDIR}/../../../etc/etc.vax/MAKEDEV	dev/MAKEDEV
SPECIAL	cd dev; sh MAKEDEV std mt0 st0 rd0 rd1 dz0 dl0 dhu0 rx0
SPECIAL	cd dev; sh MAKEDEV ra0 ra1 hp0 hp1 sd0 sd1 sd2 md0 pty0 cd0 cd1
SPECIAL	/bin/rm dev/MAKEDEV

# copy the crunched binary, link to it, and kill it
COPY	${OBJDIR}/ramdiskbin		ramdiskbin
LINK	ramdiskbin			sysinst
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/ln
LINK	ramdiskbin			bin/ls
LINK	ramdiskbin			bin/mkdir
LINK	ramdiskbin			bin/mt
LINK	ramdiskbin			bin/mv
LINK	ramdiskbin			bin/pax
LINK	ramdiskbin			bin/pwd
LINK	ramdiskbin			bin/rm
LINK	ramdiskbin			bin/sh
LINK	ramdiskbin			bin/stty
LINK	ramdiskbin			bin/sync
LINK	ramdiskbin			sbin/disklabel
LINK	ramdiskbin			sbin/fdisk
LINK	ramdiskbin			sbin/fsck
LINK	ramdiskbin			sbin/fsck_ffs
LINK	ramdiskbin			sbin/halt
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_msdos
LINK	ramdiskbin			sbin/mount_nfs
LINK	ramdiskbin			sbin/mount_kernfs
LINK	ramdiskbin			sbin/newfs
LINK	ramdiskbin			sbin/ping
LINK	ramdiskbin			sbin/reboot
#LINK	ramdiskbin			sbin/restore
LINK	ramdiskbin			sbin/route
#LINK	ramdiskbin			sbin/rrestore
LINK	ramdiskbin			sbin/shutdown
LINK	ramdiskbin			sbin/swapctl
LINK	ramdiskbin			sbin/umount
SYMLINK	/bin/cat		usr/bin/chgrp
SYMLINK	/bin/cat		usr/bin/ftp
SYMLINK	/bin/cat		usr/bin/gunzip
SYMLINK	/bin/cat		usr/bin/gzcat
SYMLINK	/bin/cat		usr/bin/gzip
SYMLINK	/bin/cat		usr/bin/more
SYMLINK	/bin/cat		usr/bin/sed
SYMLINK	/bin/cat		usr/bin/strings
SYMLINK	/bin/cat		usr/bin/tar
# SYMLINK	/bin/cat		usr/sbin/bad144
SYMLINK	/bin/cat		usr/sbin/chown
SYMLINK	/bin/cat		usr/sbin/chroot
SPECIAL	/bin/rm ramdiskbin

# we need the boot in /, and boot blocks in /usr/mdec
COPY	${DESTDIR}/boot			boot
COPY	${DESTDIR}/usr/mdec/xxboot	usr/mdec/xxboot
LINK	usr/mdec/xxboot			usr/mdec/raboot
LINK	usr/mdec/xxboot			usr/mdec/hpboot
LINK	usr/mdec/xxboot			usr/mdec/rdboot
LINK	usr/mdec/xxboot			usr/mdec/sdboot

# various files that we need in /etc for the install
COPY	${CURDIR}/../../../etc/group		etc/group
COPY	${CURDIR}/../../../etc/netconfig	etc/netconfig
COPY	${CURDIR}/../../../etc/protocols	etc/protocols
COPY	${CURDIR}/../../../etc/services		etc/services

# and the common installation tools
# COPY	dot.commonutils			.commonutils
COPY	${CURDIR}/termcap.vt100		usr/share/misc/termcap

# the disktab explanation file
COPY	${CURDIR}/disktab.preinstall	etc/disktab.preinstall

# and the installation tools
COPY	${CURDIR}/dot.profile		.profile
# COPY	${CURDIR}/dot.instutils		.instutils
# COPY	${OBJDIR}/install.sh		install
# COPY	${OBJDIR}/upgrade.sh		upgrade
# COPY	${OBJDIR}/start.sh		start
# COPY	${CURDIR}/dot.hdprofile		tmp/.hdprofile
# SPECIAL	chmod 755 install
# SPECIAL	chmod 755 upgrade
# SPECIAL	chmod 755 start

#the lists of obsolete files used by sysinst  
SPECIAL sh ${CURDIR}/../../sets/makeobsolete -b -s ${CURDIR}/../../sets -t ./dist
