--- elwix/build_romfs.sh 2013/07/31 13:17:53 1.6.2.7 +++ elwix/build_romfs.sh 2013/07/31 13:41:43 1.6.2.9 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_romfs.sh,v 1.6.2.7 2013/07/31 13:17:53 misho Exp $ +# $Id: build_romfs.sh,v 1.6.2.9 2013/07/31 13:41:43 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -67,6 +67,12 @@ build_romfs() install -d -m 0750 elwix/root/.ssh; install -d elwix/system; install -d elwix/tftpboot; + install -d elwix/pkg; + install -d elwix/pkg/bin; + install -d elwix/pkg/lib; + install -d elwix/pkg/libexec; + install -d elwix/pkg/libdata; + install -d elwix/pkg/sbin; ln -fs /elwix/etc etc; ln -fs /elwix/exports exports; ln -fs /elwix/home home; @@ -141,6 +147,8 @@ install_romfs() find ${WORLD}/usr/lib/engines -type f -name \*.so -exec install {} $LIBS/engines \; InstallList ${ELWIX_ROMFS} ${WORLD} ${ROMFS} + + ln ${BIN}/tcsh ${UBIN}/tcsh InstallDir ${WORLD}/usr/local/bin $UBIN InstallDir ${WORLD}/usr/local/sbin $USBIN