Diff for /elwix/build_rootfs.sh between versions 1.2.4.3 and 1.2.4.4

version 1.2.4.3, 2012/02/09 01:36:21 version 1.2.4.4, 2012/02/10 01:54:03
Line 65  LIBS += -L${WORLD}/lib -L${WORLD}/usr/lib Line 65  LIBS += -L${WORLD}/lib -L${WORLD}/usr/lib
 _EOF  _EOF
         cat >$ROOTFS_CONF <<_EOF          cat >$ROOTFS_CONF <<_EOF
 srcdirs ${BSDSRC}/bin ${BSDSRC}/sbin ${BSDSRC}/libexec ${BSDSRC}/cddl/sbin ${BSDSRC}/sbin/ggate  srcdirs ${BSDSRC}/bin ${BSDSRC}/sbin ${BSDSRC}/libexec ${BSDSRC}/cddl/sbin ${BSDSRC}/sbin/ggate
srcdirs ${BSDSRC}/usr.bin ${BSDSRC}/usr.sbin ${BSDSRC}/crypto/opensshsrcdirs ${BSDSRC}/usr.bin ${BSDSRC}/usr.sbin ${BSDSRC}/usr.sbin/wpa
 
 #buildopts -DRESCUE CRUNCH_CFLAGS=-DRESCUE TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ}  #buildopts -DRESCUE CRUNCH_CFLAGS=-DRESCUE TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ}
 buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ}  buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ}
 _EOF  _EOF
Line 174  install_rootfs() Line 175  install_rootfs()
         ln -s $PRG $BIN/sync          ln -s $PRG $BIN/sync
         ln -s $PRG $BIN/uuidgen          ln -s $PRG $BIN/uuidgen
   
         ln $PRG $BIN/su  
         chmod u+s $BIN/su  
         ln $PRG $BIN/login  
         chmod u+s $BIN/login  
         ln $PRG $BIN/netstat  
         chmod g+s $BIN/netstat  
   
         ln -s $PRG $BIN/true          ln -s $PRG $BIN/true
         ln -s $PRG $BIN/false          ln -s $PRG $BIN/false
         ln -s $PRG $BIN/basename          ln -s $PRG $BIN/basename
Line 192  install_rootfs() Line 186  install_rootfs()
         ln -s $PRG $BIN/tset          ln -s $PRG $BIN/tset
         ln -s $PRG $BIN/vmstat          ln -s $PRG $BIN/vmstat
         ln -s $PRG $BIN/systat          ln -s $PRG $BIN/systat
         ln -s $PRG $BIN/bsdtar  
         ln -s $PRG $BIN/bsdcpio  
         ln -s $PRG $BIN/tput          ln -s $PRG $BIN/tput
         ln -s $PRG $BIN/bsdgrep  
         ln -s $PRG $BIN/grep          ln -s $PRG $BIN/grep
         ln -s $PRG $BIN/awk          ln -s $PRG $BIN/awk
         ln -s $PRG $BIN/less          ln -s $PRG $BIN/less
         ln -s $PRG $BIN/passwd  
         ln -s $PRG $BIN/gzip          ln -s $PRG $BIN/gzip
         ln -s $PRG $BIN/cap_mkdb          ln -s $PRG $BIN/cap_mkdb
         ln -s $PRG $BIN/sed          ln -s $PRG $BIN/sed
         ln -s $PRG $BIN/vi          ln -s $PRG $BIN/vi
         ln -s $PRG $BIN/du          ln -s $PRG $BIN/du
         ln -s $PRG $BIN/getopt          ln -s $PRG $BIN/getopt
         ln -s $PRG $BIN/cu  
         ln -s $PRG $BIN/logger          ln -s $PRG $BIN/logger
         ln -s $PRG $BIN/nice          ln -s $PRG $BIN/nice
         ln -s $PRG $BIN/nohup          ln -s $PRG $BIN/nohup
Line 218  install_rootfs() Line 207  install_rootfs()
         ln -s $PRG $BIN/touch          ln -s $PRG $BIN/touch
         ln -s $PRG $BIN/wc          ln -s $PRG $BIN/wc
         ln -s $PRG $BIN/xargs          ln -s $PRG $BIN/xargs
         ln -s $PRG $BIN/ssh  
         ln -s $PRG $BIN/scp  
         ln -s $PRG $BIN/sftp  
         ln -s $PRG $BIN/ssh-keygen  
         ln -s $PRG $BIN/printenv          ln -s $PRG $BIN/printenv
         ln -s $PRG $BIN/slogin  
         ln -s $PRG $BIN/egrep          ln -s $PRG $BIN/egrep
         ln -s $PRG $BIN/fgrep          ln -s $PRG $BIN/fgrep
         ln -s $PRG $BIN/tar          ln -s $PRG $BIN/tar
Line 234  install_rootfs() Line 218  install_rootfs()
         ln -s $PRG $BIN/reset          ln -s $PRG $BIN/reset
         ln -s $PRG $BIN/readlink          ln -s $PRG $BIN/readlink
         ln -s $PRG $BIN/uptime          ln -s $PRG $BIN/uptime
         ln -s $PRG $BIN/tip  
   
   
         ln $PRG $SBIN/ping  
         chmod u+s $SBIN/ping  
         ln $PRG $SBIN/ping6  
         chmod u+s $SBIN/ping6  
         ln $PRG $SBIN/shutdown  
         chmod u+s $SBIN/shutdown  
   
         ln -s $PRG $SBIN/adjkerntz          ln -s $PRG $SBIN/adjkerntz
         ln -s $PRG $SBIN/atacontrol          ln -s $PRG $SBIN/atacontrol
         ln -s $PRG $SBIN/badsect          ln -s $PRG $SBIN/badsect
Line 309  install_rootfs() Line 284  install_rootfs()
         ln -s $PRG $SBIN/nfsiod          ln -s $PRG $SBIN/nfsiod
         ln -s $PRG $SBIN/nos-tun          ln -s $PRG $SBIN/nos-tun
         ln -s $PRG $SBIN/pfctl          ln -s $PRG $SBIN/pfctl
           ln -s $PRG $SBIN/ping
           ln -s $PRG $SBIN/ping6
         ln -s $PRG $SBIN/pflogd          ln -s $PRG $SBIN/pflogd
         ln -s $PRG $SBIN/quotacheck          ln -s $PRG $SBIN/quotacheck
         ln -s $PRG $SBIN/reboot          ln -s $PRG $SBIN/reboot
Line 320  install_rootfs() Line 297  install_rootfs()
         ln -s $PRG $SBIN/rrestore          ln -s $PRG $SBIN/rrestore
         ln -s $PRG $SBIN/route          ln -s $PRG $SBIN/route
         ln -s $PRG $SBIN/rtsol          ln -s $PRG $SBIN/rtsol
           ln -s $PRG $SBIN/shutdown
         ln -s $PRG $SBIN/savecore          ln -s $PRG $SBIN/savecore
         ln -s $PRG $SBIN/setkey          ln -s $PRG $SBIN/setkey
         ln -s $PRG $SBIN/spppcontrol          ln -s $PRG $SBIN/spppcontrol
Line 332  install_rootfs() Line 310  install_rootfs()
         ln -s $PRG $SBIN/zfs          ln -s $PRG $SBIN/zfs
         ln -s $PRG $SBIN/zpool          ln -s $PRG $SBIN/zpool
   
        ln $PRG $SBIN/traceroute        ln -s $PRG $SBIN/traceroute
        chmod u+s $SBIN/traceroute        ln -s $PRG $SBIN/traceroute6
        ln $PRG $SBIN/traceroute6 
        chmod u+s $SBIN/traceroute6 
 
         ln -s $PRG $SBIN/chown          ln -s $PRG $SBIN/chown
         ln -s $PRG $SBIN/pwd_mkdb          ln -s $PRG $SBIN/pwd_mkdb
         ln -s $PRG $SBIN/arp          ln -s $PRG $SBIN/arp
Line 347  install_rootfs() Line 322  install_rootfs()
         ln -s $PRG $SBIN/wpa_cli          ln -s $PRG $SBIN/wpa_cli
         ln -s $PRG $SBIN/wpa_passphrase          ln -s $PRG $SBIN/wpa_passphrase
         ln -s $PRG $SBIN/wake          ln -s $PRG $SBIN/wake
         ln -s $PRG $SBIN/sshd  
         ln -s $PRG $SBIN/watchdog          ln -s $PRG $SBIN/watchdog
         ln -s $PRG $SBIN/watchdogd          ln -s $PRG $SBIN/watchdogd
         ln -s $PRG $SBIN/inetd          ln -s $PRG $SBIN/inetd
         ln -s $PRG $SBIN/wlandebug          ln -s $PRG $SBIN/wlandebug
         ln -s $PRG $SBIN/tcpdump  
         ln -s $PRG $SBIN/chroot          ln -s $PRG $SBIN/chroot
         ln -s $PRG $SBIN/cron  
         ln -s $PRG $SBIN/i2c          ln -s $PRG $SBIN/i2c
         ln -s $PRG $SBIN/iostat          ln -s $PRG $SBIN/iostat
         ln -s $PRG $SBIN/jail          ln -s $PRG $SBIN/jail
Line 363  install_rootfs() Line 335  install_rootfs()
         ln -s $PRG $SBIN/ndp          ln -s $PRG $SBIN/ndp
         ln -s $PRG $SBIN/newsyslog          ln -s $PRG $SBIN/newsyslog
         ln -s $PRG $SBIN/nologin          ln -s $PRG $SBIN/nologin
         ln -s $PRG $SBIN/ntpdate  
         ln -s $PRG $SBIN/pstat          ln -s $PRG $SBIN/pstat
         ln -s $PRG $SBIN/rtadvctl          ln -s $PRG $SBIN/rtadvctl
         ln -s $PRG $SBIN/rtadvd          ln -s $PRG $SBIN/rtadvd
Line 373  install_rootfs() Line 344  install_rootfs()
         ln -s $PRG $SBIN/swapinfo          ln -s $PRG $SBIN/swapinfo
         ln -s $PRG $SBIN/chgrp          ln -s $PRG $SBIN/chgrp
   
        ln -s $PRG $SBIN/getty
        ln $PRG $SBIN/getty 
 
         ln -s $PRG $SBIN/tftpd          ln -s $PRG $SBIN/tftpd
         ln -s $PRG $SBIN/sftp-server  
   
         chown -hR root:wheel $ROOTFS          chown -hR root:wheel $ROOTFS
         chgrp kmem $BIN/netstat  
   
         echo "+++ ELWIX clean CVS tags ..."          echo "+++ ELWIX clean CVS tags ..."
         CleanCVS $ETC          CleanCVS $ETC
Line 418  if SnitVer ${WORLD}/elwix.ver; then Line 385  if SnitVer ${WORLD}/elwix.ver; then
         build_rootdir          build_rootdir
         install_rootfs          install_rootfs
   
        build_image        build_image && install_image
        install_image 
 else  else
         echo "Skipped ELWIX RootFS build ..."          echo "Skipped ELWIX RootFS build ..."
 fi  fi

Removed from v.1.2.4.3  
changed lines
  Added in v.1.2.4.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>