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