--- elwix/build_romfs.sh 2013/07/29 08:52:16 1.6.2.2 +++ elwix/build_romfs.sh 2013/07/29 14:13:32 1.6.2.5 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_romfs.sh,v 1.6.2.2 2013/07/29 08:52:16 misho Exp $ +# $Id: build_romfs.sh,v 1.6.2.5 2013/07/29 14:13:32 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -56,6 +56,9 @@ build_romfs() install -d boot/zfs; install -d dev; install -d elwix; + install -d elwix/altroot; + install -d elwix/altroot/var; + install -d elwix/cf; install -d elwix/etc; install -d elwix/exports; install -d elwix/home; @@ -63,7 +66,6 @@ build_romfs() install -d -m 0750 elwix/root/.ssh; install -d elwix/system; install -d elwix/tftpboot; - install -d elwix/var; ln -fs /elwix/etc etc; ln -fs /elwix/exports exports; ln -fs /elwix/home home; @@ -128,6 +130,8 @@ install_romfs() install -v ${CFGDIR}/root.skel/logout $SKEL/dot.logout; install -v ${CFGDIR}/root.skel/profile $SKEL/dot.profile; install -v ${CFGDIR}/root.skel/vimrc $SKEL/dot.vimrc; + + find ${WORLD}/libexec -type f -name ld-elf.so\* -exec install {} $LIBEXEC \; find ${WORLD}/lib -type f -name \*.so.\* -exec install {} $LIBS \; find ${WORLD}/lib -type f -name libalias_\*.so -exec install {} $LIBS \;