1 # $NetBSD: fixit.conf,v 1.3 2012/04/21 12:27:29 roy Exp $ 2 # 3 # fixit.conf - put in anything we think we might want on a fixit floppy 4 5 # first, we list the source dirs that our programs reside in. These are 6 # searched in order listed to find the dir containing each program. 7 8 srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin 9 srcdirs /usr/src/gnu/usr.bin 10 11 # second, we list all the programs we want to include in our crunched binary. 12 # The order doesn't matter. Any program that needs hard links to it gets an 13 # `ln' directive. 14 15 # /bin stuff 16 17 progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir 18 progs mt mv pwd rcp rm rmdir sh sleep stty sync test 19 20 ln test [ 21 ln sh -sh # init invokes the shell this way 22 ln sh - 23 24 # /sbin stuff 25 26 progs badsect chown clri disklabel dump dmesg fdisk fsck halt ifconfig init 27 progs mknod mount newfs ping reboot restore swapon umount 28 ln dump rdump 29 ln restore rrestore 30 31 # /usr/bin stuff 32 33 progs ftp rsh sed telnet rlogin vi 34 35 # gnu stuff 36 37 progs cpio gzip 38 ln gzip gunzip 39 ln gzip gzcat 40 41 # finally, we specify the libraries to link in with our binary 42 43 libs -ledit # NetBSDism 44 libs -lcrypt # but don't include this when exporting :-( 45 libs -lcurses -lterminfo 46 libs -lkvm -ltelnet -lutil -ll 47