version 1.2.4.3, 2012/02/09 01:36:21
|
version 1.2.4.6, 2012/02/21 16:15:14
|
Line 35 NEWKERN="${REL}/kernel"
|
Line 35 NEWKERN="${REL}/kernel"
|
clean_elwix() |
clean_elwix() |
{ |
{ |
echo "+++ Clean csh from ELWIX World ..." |
echo "+++ Clean csh from ELWIX World ..." |
rm -rf ${BSDOBJ}/usr/src/bin/csh/* | # rm -rf ${BSDOBJ}/usr/src/bin/csh/* |
| rm -rf $BSDOBJ/elwix |
|
|
echo "+++ Clean ELWIX RootFS firmware ..." |
echo "+++ Clean ELWIX RootFS firmware ..." |
rm -rf $MKDIR |
rm -rf $MKDIR |
Line 57 prepare_elwix()
|
Line 58 prepare_elwix()
|
# Auto-generated Makefile include for crungegen |
# Auto-generated Makefile include for crungegen |
# !!! Dont edit by hand !!! |
# !!! Dont edit by hand !!! |
# |
# |
#BUILDOPTS += TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ} | |
CRUNCH_SUPPRESS_LINK_-sh= 1 | #CRUNCH_SUPPRESS_LINK_-sh= 1 |
CRUNCH_SUPPRESS_LINK_-csh= 1 | #CRUNCH_SUPPRESS_LINK_-csh= 1 |
CRUNCH_SUPPRESS_LINK_-tcsh= 1 | #CRUNCH_SUPPRESS_LINK_-tcsh= 1 |
| |
LIBS += -L${WORLD}/lib -L${WORLD}/usr/lib |
LIBS += -L${WORLD}/lib -L${WORLD}/usr/lib |
_EOF |
_EOF |
cat >$ROOTFS_CONF <<_EOF |
cat >$ROOTFS_CONF <<_EOF |
|
srcdirs ${BSDSRC}/tools/tools ${BSDSRC}/tools/tools/ath |
|
srcdirs ${BSDSRC}/release/picobsd/tinyware |
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/openssh | srcdirs ${BSDSRC}/usr.bin ${BSDSRC}/usr.sbin ${BSDSRC}/usr.sbin/wpa |
#buildopts -DRESCUE CRUNCH_CFLAGS=-DRESCUE TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ} | srcdirs ${BSDSRC}/secure/usr.bin ${BSDSRC}/secure/usr.sbin ${BSDSRC}/secure/libexec |
buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ} | |
| buildopts -DNO_PAM -DNO_KERBEROS WITHOUT_PAM_SUPPORT=yes WITHOUT_KERBEROS_SUPPORT=yes WITHOUT_KERBEROS=yes |
| buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ}/elwix |
_EOF |
_EOF |
cat $CFGDIR/$ROOTFS_CONF >>$ROOTFS_CONF |
cat $CFGDIR/$ROOTFS_CONF >>$ROOTFS_CONF |
|
|
crunchgen -f -p $BSDOBJ -h $MKDIR/$MKH -m $MKF -c elwix.c -e elwix $ROOTFS_CONF | . ${CENV} |
| install -d ${BSDOBJ}/elwix |
| crunchgen -f -o -p ${BSDOBJ}/elwix -h $MKDIR/$MKH -m $MKF -c elwix.c -e elwix $ROOTFS_CONF |
cd - |
cd - |
} |
} |
|
|
Line 79 build_elwix()
|
Line 87 build_elwix()
|
{ |
{ |
echo "+++ Build ELWIX RootFS firmware ..." |
echo "+++ Build ELWIX RootFS firmware ..." |
cd $MKDIR |
cd $MKDIR |
|
. ${CENV} |
|
MAKEOBJDIRPREFIX=${BSDOBJ}/elwix |
make -f $MKF clean |
make -f $MKF clean |
make -f $MKF |
make -f $MKF |
|
if [ $? -ne 0 ]; then |
|
exit 1 |
|
fi |
cd - |
cd - |
} |
} |
|
|
Line 93 build_rootdir()
|
Line 106 build_rootdir()
|
install -d dev; |
install -d dev; |
install -d elwix; |
install -d elwix; |
install -d elwix/etc; |
install -d elwix/etc; |
|
install -d libexec; |
install -d mnt; |
install -d mnt; |
install -d -m 0555 proc; |
install -d -m 0555 proc; |
install -d sbin; |
install -d sbin; |
install -d system; |
install -d system; |
install -d -m 1777 tmp; |
install -d -m 1777 tmp; |
install -d usr; |
install -d usr; |
|
install -d usr/bin; |
|
install -d usr/lib; |
|
install -d usr/libexec; |
|
install -d usr/sbin; |
install -d var; |
install -d var; |
|
|
ln -fs /usr/lib lib; |
ln -fs /usr/lib lib; |
ln -fs /usr/libexec libexec; |
|
|
|
ln -fs /elwix/etc etc; |
ln -fs /elwix/etc etc; |
ln -fs /elwix/exports exports; |
ln -fs /elwix/exports exports; |
Line 115 build_rootdir()
|
Line 132 build_rootdir()
|
|
|
install_rootfs() |
install_rootfs() |
{ |
{ |
PRG="/sbin/elwix" |
|
BIN="${ROOTFS}/bin" |
BIN="${ROOTFS}/bin" |
SBIN="${ROOTFS}/sbin" |
SBIN="${ROOTFS}/sbin" |
LIBEXEC="${ROOTFS}/libexec" | UBIN="${ROOTFS}/usr/bin" |
| LIBEXEC="${ROOTFS}/usr/libexec" |
ETC="${ROOTFS}/elwix/etc" |
ETC="${ROOTFS}/elwix/etc" |
|
|
|
PRG="/sbin/elwix" |
|
LNPRG="${SBIN}/elwix" |
|
|
echo "+++ Install ELWIX into RootFS directory ..." |
echo "+++ Install ELWIX into RootFS directory ..." |
install $MKDIR/elwix $SBIN |
install $MKDIR/elwix $SBIN |
|
|
Line 130 install_rootfs()
|
Line 150 install_rootfs()
|
|
|
# ln -s /usr/sbin/nologin $SBIN |
# ln -s /usr/sbin/nologin $SBIN |
|
|
ln -s $PRG $BIN/test | ln $LNPRG $BIN/csh |
ln -s $PRG $BIN/\[ | ln $LNPRG $BIN/tcsh |
ln -s $PRG $BIN/cat | |
ln -s $PRG $BIN/chflags | |
ln -s $PRG $BIN/chio | |
ln -s $PRG $BIN/chmod | |
ln -s $PRG $BIN/cp | |
# ln -s $PRG $BIN/csh | |
# ln -s $PRG $BIN/tcsh | |
ln -s /bin/tcsh $BIN/-tcsh | |
ln -s /bin/csh $BIN/-csh | |
ln -s $PRG $BIN/date | |
ln -s $PRG $BIN/dd | |
ln -s $PRG $BIN/df | |
ln -s $PRG $BIN/domainname | |
ln -s $PRG $BIN/echo | |
ln -s $PRG $BIN/expr | |
ln -s $PRG $BIN/getfacl | |
ln -s $PRG $BIN/hostname | |
ln -s $PRG $BIN/kenv | |
ln -s $PRG $BIN/kill | |
ln -s $PRG $BIN/ln | |
ln -s $PRG $BIN/link | |
ln -s $PRG $BIN/ls | |
ln -s $PRG $BIN/mkdir | |
ln -s $PRG $BIN/mv | |
ln -s $PRG $BIN/pax | |
ln -s $PRG $BIN/pkill | |
ln -s $PRG $BIN/pgrep | |
ln -s $PRG $BIN/sh | |
ln -s $PRG $BIN/-sh | |
ln -s $PRG $BIN/ps | |
ln -s $PRG $BIN/pwait | |
ln -s $PRG $BIN/pwd | |
ln -s $PRG $BIN/realpath | |
ln -s $PRG $BIN/rm | |
ln -s $PRG $BIN/unlink | |
ln -s $PRG $BIN/rmdir | |
ln -s $PRG $BIN/setfacl | |
ln -s $PRG $BIN/sleep | |
ln -s $PRG $BIN/stty | |
ln -s $PRG $BIN/sync | |
ln -s $PRG $BIN/uuidgen | |
|
|
ln $PRG $BIN/su | ln $LNPRG $BIN/test |
chmod u+s $BIN/su | ln $LNPRG $BIN/\[ |
ln $PRG $BIN/login | ln $LNPRG $BIN/cat |
chmod u+s $BIN/login | ln $LNPRG $BIN/chflags |
ln $PRG $BIN/netstat | ln $LNPRG $BIN/chio |
chmod g+s $BIN/netstat | ln $LNPRG $BIN/chmod |
| ln $LNPRG $BIN/cp |
| ln $LNPRG $BIN/date |
| ln $LNPRG $BIN/dd |
| ln $LNPRG $BIN/df |
| ln $LNPRG $BIN/domainname |
| ln $LNPRG $BIN/echo |
| ln $LNPRG $BIN/expr |
| ln $LNPRG $BIN/getfacl |
| ln $LNPRG $BIN/hostname |
| ln $LNPRG $BIN/kenv |
| ln $LNPRG $BIN/kill |
| ln $LNPRG $BIN/ln |
| ln $LNPRG $BIN/link |
| ln $LNPRG $BIN/ls |
| ln $LNPRG $BIN/mkdir |
| ln $LNPRG $BIN/mv |
| ln $LNPRG $BIN/pax |
| ln $LNPRG $BIN/pkill |
| ln $LNPRG $BIN/pgrep |
| ln $LNPRG $BIN/sh |
| ln $LNPRG $BIN/-sh |
| ln $LNPRG $BIN/ps |
| ln $LNPRG $BIN/pwait |
| ln $LNPRG $BIN/pwd |
| ln $LNPRG $BIN/realpath |
| ln $LNPRG $BIN/rm |
| ln $LNPRG $BIN/unlink |
| ln $LNPRG $BIN/rmdir |
| ln $LNPRG $BIN/setfacl |
| ln $LNPRG $BIN/sleep |
| ln $LNPRG $BIN/stty |
| ln $LNPRG $BIN/sync |
| ln $LNPRG $BIN/uuidgen |
|
|
ln -s $PRG $BIN/true | ln $LNPRG $BIN/true |
ln -s $PRG $BIN/false | ln $LNPRG $BIN/false |
ln -s $PRG $BIN/basename | ln $LNPRG $BIN/basename |
ln -s $PRG $BIN/tail | ln $LNPRG $BIN/tail |
ln -s $PRG $BIN/nc | ln $LNPRG $BIN/nc |
ln -s $PRG $BIN/w | ln $LNPRG $BIN/w |
ln -s $PRG $BIN/head | ln $LNPRG $BIN/head |
ln -s $PRG $BIN/uname | ln $LNPRG $BIN/uname |
ln -s $PRG $BIN/tset | ln $LNPRG $BIN/tset |
ln -s $PRG $BIN/vmstat | ln $LNPRG $BIN/vmstat |
ln -s $PRG $BIN/systat | ln $LNPRG $BIN/systat |
ln -s $PRG $BIN/bsdtar | ln $LNPRG $BIN/tput |
ln -s $PRG $BIN/bsdcpio | ln $LNPRG $BIN/grep |
ln -s $PRG $BIN/tput | ln $LNPRG $BIN/awk |
ln -s $PRG $BIN/bsdgrep | ln $LNPRG $BIN/less |
ln -s $PRG $BIN/grep | ln $LNPRG $BIN/gzip |
ln -s $PRG $BIN/awk | ln $LNPRG $BIN/cap_mkdb |
ln -s $PRG $BIN/less | ln $LNPRG $BIN/sed |
ln -s $PRG $BIN/passwd | ln $LNPRG $BIN/vi |
ln -s $PRG $BIN/gzip | ln $LNPRG $BIN/du |
ln -s $PRG $BIN/cap_mkdb | ln $LNPRG $BIN/getopt |
ln -s $PRG $BIN/sed | ln $LNPRG $BIN/logger |
ln -s $PRG $BIN/vi | ln $LNPRG $BIN/nice |
ln -s $PRG $BIN/du | ln $LNPRG $BIN/nohup |
ln -s $PRG $BIN/getopt | ln $LNPRG $BIN/seq |
ln -s $PRG $BIN/cu | ln $LNPRG $BIN/sockstat |
ln -s $PRG $BIN/logger | ln $LNPRG $BIN/stat |
ln -s $PRG $BIN/nice | ln $LNPRG $BIN/tee |
ln -s $PRG $BIN/nohup | ln $LNPRG $BIN/tftp |
ln -s $PRG $BIN/seq | ln $LNPRG $BIN/touch |
ln -s $PRG $BIN/sockstat | ln $LNPRG $BIN/wc |
ln -s $PRG $BIN/stat | ln $LNPRG $BIN/xargs |
ln -s $PRG $BIN/tee | ln $LNPRG $BIN/printenv |
ln -s $PRG $BIN/tftp | ln $LNPRG $BIN/egrep |
ln -s $PRG $BIN/touch | ln $LNPRG $BIN/fgrep |
ln -s $PRG $BIN/wc | ln $LNPRG $BIN/tar |
ln -s $PRG $BIN/xargs | ln $LNPRG $BIN/cpio |
ln -s $PRG $BIN/ssh | ln $LNPRG $BIN/nawk |
ln -s $PRG $BIN/scp | ln $LNPRG $BIN/gunzip |
ln -s $PRG $BIN/sftp | ln $LNPRG $BIN/gzcat |
ln -s $PRG $BIN/ssh-keygen | ln $LNPRG $BIN/zcat |
ln -s $PRG $BIN/printenv | ln $LNPRG $BIN/more |
ln -s $PRG $BIN/slogin | ln $LNPRG $BIN/reset |
ln -s $PRG $BIN/egrep | ln $LNPRG $BIN/readlink |
ln -s $PRG $BIN/fgrep | ln $LNPRG $BIN/uptime |
ln -s $PRG $BIN/tar | ln $LNPRG $BIN/bzip2 |
ln -s $PRG $BIN/cpio | ln $LNPRG $BIN/bunzip2 |
ln -s $PRG $BIN/nawk | ln $LNPRG $BIN/bzcat |
ln -s $PRG $BIN/gunzip | |
ln -s $PRG $BIN/more | |
ln -s $PRG $BIN/reset | |
ln -s $PRG $BIN/readlink | |
ln -s $PRG $BIN/uptime | |
ln -s $PRG $BIN/tip | |
|
|
|
ln $LNPRG $SBIN/adjkerntz |
|
ln $LNPRG $SBIN/atacontrol |
|
ln $LNPRG $SBIN/badsect |
|
ln $LNPRG $SBIN/bsdlabel |
|
ln $LNPRG $SBIN/disklabel |
|
ln $LNPRG $SBIN/camcontrol |
|
ln $LNPRG $SBIN/ccdconfig |
|
ln $LNPRG $SBIN/comcontrol |
|
ln $LNPRG $SBIN/conscontrol |
|
ln $LNPRG $SBIN/devfs |
|
ln $LNPRG $SBIN/dhclient |
|
ln $LNPRG $SBIN/dmesg |
|
ln $LNPRG $SBIN/dump |
|
ln $LNPRG $SBIN/rdump |
|
ln $LNPRG $SBIN/dumpfs |
|
ln $LNPRG $SBIN/dumpon |
|
ln $LNPRG $SBIN/fdisk |
|
ln $LNPRG $SBIN/ffsinfo |
|
ln $LNPRG $SBIN/fsck |
|
ln $LNPRG $SBIN/fsck_ffs |
|
ln $LNPRG $SBIN/fsck_ufs |
|
ln $LNPRG $SBIN/fsck_4.2bsd |
|
ln $LNPRG $SBIN/fsck_msdosfs |
|
ln $LNPRG $SBIN/gbde |
|
ln $LNPRG $SBIN/ggatec |
|
ln $LNPRG $SBIN/ggated |
|
ln $LNPRG $SBIN/ggatel |
|
ln $LNPRG $SBIN/-geom |
|
ln $LNPRG $SBIN/glabel |
|
ln $LNPRG $SBIN/gpart |
|
ln $LNPRG $SBIN/growfs |
|
ln $LNPRG $SBIN/hastctl |
|
ln $LNPRG $SBIN/hastd |
|
ln $LNPRG $SBIN/ifconfig |
|
ln $LNPRG $SBIN/init |
|
ln $LNPRG $SBIN/ipfw |
|
ln $LNPRG $SBIN/iscontrol |
|
ln $LNPRG $SBIN/kldconfig |
|
ln $LNPRG $SBIN/kldload |
|
ln $LNPRG $SBIN/kldstat |
|
ln $LNPRG $SBIN/kldunload |
|
ln $LNPRG $SBIN/ldconfig |
|
ln $LNPRG $SBIN/md5 |
|
ln $LNPRG $SBIN/sha1 |
|
ln $LNPRG $SBIN/sha256 |
|
ln $LNPRG $SBIN/rmd160 |
|
ln $LNPRG $SBIN/mdconfig |
|
ln $LNPRG $SBIN/mdmfs |
|
ln $LNPRG $SBIN/mount_mfs |
|
ln $LNPRG $SBIN/mknod |
|
ln $LNPRG $SBIN/mksnap_ffs |
|
ln $LNPRG $SBIN/mount |
|
ln $LNPRG $SBIN/mount_cd9660 |
|
ln $LNPRG $SBIN/mount_msdosfs |
|
ln $LNPRG $SBIN/mount_nfs |
|
ln $LNPRG $SBIN/mount_ntfs |
|
ln $LNPRG $SBIN/mount_nullfs |
|
ln $LNPRG $SBIN/mount_udf |
|
ln $LNPRG $SBIN/mount_unionfs |
|
ln $LNPRG $SBIN/natd |
|
ln $LNPRG $SBIN/newfs |
|
ln $LNPRG $SBIN/newfs_msdos |
|
ln $LNPRG $SBIN/nfsiod |
|
ln $LNPRG $SBIN/nos-tun |
|
ln $LNPRG $SBIN/pfctl |
|
ln $LNPRG $SBIN/pflogd |
|
ln $LNPRG $SBIN/quotacheck |
|
ln $LNPRG $SBIN/reboot |
|
ln $LNPRG $SBIN/halt |
|
ln $LNPRG $SBIN/fastboot |
|
ln $LNPRG $SBIN/fasthalt |
|
ln $LNPRG $SBIN/recoverdisk |
|
ln $LNPRG $SBIN/restore |
|
ln $LNPRG $SBIN/rrestore |
|
ln $LNPRG $SBIN/route |
|
ln $LNPRG $SBIN/rtsol |
|
ln $LNPRG $SBIN/shutdown |
|
ln $LNPRG $SBIN/savecore |
|
ln $LNPRG $SBIN/setkey |
|
ln $LNPRG $SBIN/spppcontrol |
|
ln $LNPRG $SBIN/swapon |
|
ln $LNPRG $SBIN/swapoff |
|
ln $LNPRG $SBIN/swapctl |
|
ln $LNPRG $SBIN/sysctl |
|
ln $LNPRG $SBIN/tunefs |
|
ln $LNPRG $SBIN/umount |
|
ln $LNPRG $SBIN/zfs |
|
ln $LNPRG $SBIN/zpool |
|
|
ln $PRG $SBIN/ping | ln $LNPRG $SBIN/ping |
chmod u+s $SBIN/ping | ln $LNPRG $SBIN/ping6 |
ln $PRG $SBIN/ping6 | ln $LNPRG $SBIN/traceroute |
chmod u+s $SBIN/ping6 | ln $LNPRG $SBIN/traceroute6 |
ln $PRG $SBIN/shutdown | |
chmod u+s $SBIN/shutdown | |
|
|
ln -s $PRG $SBIN/adjkerntz | ln $LNPRG $SBIN/chown |
ln -s $PRG $SBIN/atacontrol | ln $LNPRG $SBIN/pwd_mkdb |
ln -s $PRG $SBIN/badsect | ln $LNPRG $SBIN/arp |
ln -s $PRG $SBIN/bsdlabel | ln $LNPRG $SBIN/gpioctl |
ln -s $PRG $SBIN/disklabel | ln $LNPRG $SBIN/hostapd |
ln -s $PRG $SBIN/camcontrol | ln $LNPRG $SBIN/hostapd_cli |
ln -s $PRG $SBIN/ccdconfig | ln $LNPRG $SBIN/wpa_supplicant |
ln -s $PRG $SBIN/comcontrol | ln $LNPRG $SBIN/wpa_cli |
ln -s $PRG $SBIN/conscontrol | ln $LNPRG $SBIN/wpa_passphrase |
ln -s $PRG $SBIN/devfs | ln $LNPRG $SBIN/wake |
ln -s $PRG $SBIN/dhclient | ln $LNPRG $SBIN/watchdog |
ln -s $PRG $SBIN/dmesg | ln $LNPRG $SBIN/watchdogd |
ln -s $PRG $SBIN/dump | ln $LNPRG $SBIN/inetd |
ln -s $PRG $SBIN/rdump | ln $LNPRG $SBIN/wlandebug |
ln -s $PRG $SBIN/dumpfs | ln $LNPRG $SBIN/chroot |
ln -s $PRG $SBIN/dumpon | ln $LNPRG $SBIN/i2c |
ln -s $PRG $SBIN/fdisk | ln $LNPRG $SBIN/iostat |
ln -s $PRG $SBIN/ffsinfo | ln $LNPRG $SBIN/jail |
ln -s $PRG $SBIN/fsck | ln $LNPRG $SBIN/jexec |
ln -s $PRG $SBIN/fsck_ffs | ln $LNPRG $SBIN/jls |
ln -s $PRG $SBIN/fsck_ufs | ln $LNPRG $SBIN/ndp |
ln -s $PRG $SBIN/fsck_4.2bsd | ln $LNPRG $SBIN/newsyslog |
ln -s $PRG $SBIN/fsck_msdosfs | ln $LNPRG $SBIN/nologin |
ln -s $PRG $SBIN/gbde | ln $LNPRG $SBIN/pstat |
ln -s $PRG $SBIN/ggatec | ln $LNPRG $SBIN/rtadvctl |
ln -s $PRG $SBIN/ggated | ln $LNPRG $SBIN/rtadvd |
ln -s $PRG $SBIN/ggatel | ln $LNPRG $SBIN/rtsold |
ln -s $PRG $SBIN/-geom | ln $LNPRG $SBIN/syslogd |
ln -s $PRG $SBIN/glabel | ln $LNPRG $SBIN/setfib |
ln -s $PRG $SBIN/gpart | ln $LNPRG $SBIN/swapinfo |
ln -s $PRG $SBIN/growfs | ln $LNPRG $SBIN/chgrp |
ln -s $PRG $SBIN/hastctl | |
ln -s $PRG $SBIN/hastd | |
ln -s $PRG $SBIN/ifconfig | |
ln -s $PRG $SBIN/init | |
ln -s $PRG $SBIN/ipfw | |
ln -s $PRG $SBIN/iscontrol | |
ln -s $PRG $SBIN/kldconfig | |
ln -s $PRG $SBIN/kldload | |
ln -s $PRG $SBIN/kldstat | |
ln -s $PRG $SBIN/kldunload | |
ln -s $PRG $SBIN/ldconfig | |
ln -s $PRG $SBIN/md5 | |
ln -s $PRG $SBIN/sha1 | |
ln -s $PRG $SBIN/sha256 | |
ln -s $PRG $SBIN/rmd160 | |
ln -s $PRG $SBIN/mdconfig | |
ln -s $PRG $SBIN/mdmfs | |
ln -s $PRG $SBIN/mount_mfs | |
ln -s $PRG $SBIN/mknod | |
ln -s $PRG $SBIN/mksnap_ffs | |
ln -s $PRG $SBIN/mount | |
ln -s $PRG $SBIN/mount_cd9660 | |
ln -s $PRG $SBIN/mount_msdosfs | |
ln -s $PRG $SBIN/mount_nfs | |
ln -s $PRG $SBIN/mount_ntfs | |
ln -s $PRG $SBIN/mount_nullfs | |
ln -s $PRG $SBIN/mount_udf | |
ln -s $PRG $SBIN/mount_unionfs | |
ln -s $PRG $SBIN/natd | |
ln -s $PRG $SBIN/newfs | |
ln -s $PRG $SBIN/newfs_msdos | |
ln -s $PRG $SBIN/nfsiod | |
ln -s $PRG $SBIN/nos-tun | |
ln -s $PRG $SBIN/pfctl | |
ln -s $PRG $SBIN/pflogd | |
ln -s $PRG $SBIN/quotacheck | |
ln -s $PRG $SBIN/reboot | |
ln -s $PRG $SBIN/halt | |
ln -s $PRG $SBIN/fastboot | |
ln -s $PRG $SBIN/fasthalt | |
ln -s $PRG $SBIN/recoverdisk | |
ln -s $PRG $SBIN/restore | |
ln -s $PRG $SBIN/rrestore | |
ln -s $PRG $SBIN/route | |
ln -s $PRG $SBIN/rtsol | |
ln -s $PRG $SBIN/savecore | |
ln -s $PRG $SBIN/setkey | |
ln -s $PRG $SBIN/spppcontrol | |
ln -s $PRG $SBIN/swapon | |
ln -s $PRG $SBIN/swapoff | |
ln -s $PRG $SBIN/swapctl | |
ln -s $PRG $SBIN/sysctl | |
ln -s $PRG $SBIN/tunefs | |
ln -s $PRG $SBIN/umount | |
ln -s $PRG $SBIN/zfs | |
ln -s $PRG $SBIN/zpool | |
|
|
ln $PRG $SBIN/traceroute | ln $LNPRG $UBIN/login |
chmod u+s $SBIN/traceroute | ln $LNPRG $UBIN/passwd |
ln $PRG $SBIN/traceroute6 | ln $LNPRG $UBIN/vimage |
chmod u+s $SBIN/traceroute6 | |
|
|
ln -s $PRG $SBIN/chown | ln $LNPRG $LIBEXEC/getty |
ln -s $PRG $SBIN/pwd_mkdb | ln $LNPRG $LIBEXEC/tftpd |
ln -s $PRG $SBIN/arp | |
ln -s $PRG $SBIN/gpioctl | |
ln -s $PRG $SBIN/hostapd | |
ln -s $PRG $SBIN/hostapd_cli | |
ln -s $PRG $SBIN/wpa_supplicant | |
ln -s $PRG $SBIN/wpa_cli | |
ln -s $PRG $SBIN/wpa_passphrase | |
ln -s $PRG $SBIN/wake | |
ln -s $PRG $SBIN/sshd | |
ln -s $PRG $SBIN/watchdog | |
ln -s $PRG $SBIN/watchdogd | |
ln -s $PRG $SBIN/inetd | |
ln -s $PRG $SBIN/wlandebug | |
ln -s $PRG $SBIN/tcpdump | |
ln -s $PRG $SBIN/chroot | |
ln -s $PRG $SBIN/cron | |
ln -s $PRG $SBIN/i2c | |
ln -s $PRG $SBIN/iostat | |
ln -s $PRG $SBIN/jail | |
ln -s $PRG $SBIN/jexec | |
ln -s $PRG $SBIN/jls | |
ln -s $PRG $SBIN/ndp | |
ln -s $PRG $SBIN/newsyslog | |
ln -s $PRG $SBIN/nologin | |
ln -s $PRG $SBIN/ntpdate | |
ln -s $PRG $SBIN/pstat | |
ln -s $PRG $SBIN/rtadvctl | |
ln -s $PRG $SBIN/rtadvd | |
ln -s $PRG $SBIN/rtsold | |
ln -s $PRG $SBIN/syslogd | |
ln -s $PRG $SBIN/setfib | |
ln -s $PRG $SBIN/swapinfo | |
ln -s $PRG $SBIN/chgrp | |
|
|
|
|
ln $PRG $SBIN/getty |
|
|
|
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 413 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 |