Home | History | Annotate | Line # | Download | only in common
list.ramdisk revision 1.4
      1 #	$NetBSD: list.ramdisk,v 1.4 2007/05/28 12:06:17 tls Exp $
      2 
      3 SRCDIRS	usr.bin/less
      4 SRCDIRS	bin sbin usr.bin usr.sbin gnu/usr.bin
      5 
      6 # Programs for a minimal ramdisk image
      7 
      8 PROG	bin/cat
      9 PROG	bin/chmod
     10 PROG	bin/cp
     11 PROG	bin/ln
     12 PROG	bin/ls
     13 PROG	bin/mkdir
     14 PROG	bin/mv
     15 PROG	bin/pax		usr/bin/tar
     16 PROG	bin/pwd
     17 PROG	bin/rm
     18 PROG	bin/sh
     19 PROG	bin/stty
     20 
     21 PROG	sbin/disklabel
     22 PROG	sbin/dmesg
     23 PROG	sbin/fsck
     24 PROG	sbin/fsck_ffs
     25 PROG	sbin/ifconfig
     26 PROG	sbin/init
     27 PROG	sbin/mknod
     28 PROG	sbin/mount
     29 PROG	sbin/mount_cd9660
     30 PROG	sbin/mount_ffs
     31 # PROG	sbin/mount_kernfs
     32 PROG	sbin/mount_msdos
     33 PROG	sbin/mount_nfs
     34 PROG	sbin/newfs	sbin/mount_mfs
     35 PROG	sbin/ping
     36 PROG	sbin/reboot	sbin/halt
     37 PROG	sbin/route
     38 PROG	sbin/swapctl
     39 PROG	sbin/umount
     40 
     41 PROG	usr/bin/ftp
     42 PROG	usr/bin/gzip	usr/bin/gzcat usr/bin/gunzip
     43 PROG	usr/bin/sed
     44 
     45 # One of these is rather useful
     46 # PROG	usr/bin/less	usr/bin/more
     47 # PROG	usr/bin/more	usr/bin/less
     48 
     49 # sysinst doesn't use installboot
     50 # PROG	usr/sbin/installboot
     51 
     52 PROG	usr/sbin/chown	usr/bin/chgrp
     53 PROG	usr/sbin/chroot
     54 
     55 SPECIAL	ifconfig	srcdir	distrib/utils/x_ifconfig
     56 SPECIAL	ping		srcdir	distrib/utils/x_ping
     57 SPECIAL	route		srcdir	distrib/utils/x_route
     58 # SPECIAL more		srcdir	distrib/utils/more
     59 
     60 # init invokes the shell as -sh
     61 ARGVLN	sh -sh
     62 
     63 # libhack.o is built by Makefile & included Makefile.inc
     64 LIBS	libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm -lz -lssp
     65 
     66 # various files that we need in /etc for the install
     67 COPY	${NETBSDSRCDIR}/etc/group		etc/group
     68 COPY	${NETBSDSRCDIR}/etc/master.passwd	etc/master.passwd
     69 COPY	${NETBSDSRCDIR}/etc/netconfig		etc/netconfig
     70 COPY	${NETBSDSRCDIR}/etc/protocols		etc/protocols
     71 COPY	${NETBSDSRCDIR}/distrib/common/services		etc/services
     72 
     73 # we need the boot block in /usr/mdec + the MBR copy
     74 COPY	${DESTDIR}/usr/mdec/boot		usr/mdec/boot
     75 COPY	${DESTDIR}/usr/mdec/bootxx_ffsv1	usr/mdec/bootxx_ffsv1
     76 COPY	${DESTDIR}/usr/mdec/bootxx_ffsv2	usr/mdec/bootxx_ffsv2
     77 COPY	${DESTDIR}/usr/mdec/mbr			usr/mdec/mbr
     78 COPY	${DESTDIR}/usr/mdec/mbr_ext		usr/mdec/mbr_ext
     79 COPY	${DESTDIR}/usr/mdec/mbr_bootsel		usr/mdec/mbr_bootsel
     80 
     81 # and the common installation tools
     82 COPY	${CURDIR}/../common/termcap.mini	usr/share/misc/termcap
     83 
     84 # and the boot script
     85 CMD	sed -e "s/@BOOTMODEL@/${BOOTMODEL}/" < ${CURDIR}/../common/dot.profile > .profile
     86 MTREE	./.profile	type=file uname=root gname=wheel mode=0444
     87