--- elwix/build_romfs.sh 2017/06/12 08:47:24 1.9.2.1 +++ elwix/build_romfs.sh 2020/08/31 15:46:03 1.9.2.8 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_romfs.sh,v 1.9.2.1 2017/06/12 08:47:24 misho Exp $ +# $Id: build_romfs.sh,v 1.9.2.8 2020/08/31 15:46:03 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -53,20 +53,20 @@ build_romfs() install -d lib/geom; install -d libdata; install -d libexec; - install -d local; - install -d local/bin; - install -d local/lib; - install -d local/libexec; - install -d local/libdata; - install -d local/sbin; install -d share; install -d share/keys; install -d share/misc; install -d share/skel; install -d share/zoneinfo; + ln -s /elwix/local local; ln -s /elwix/pkg pkg; + # special patch to ensuring properly working of passwd!!! + ln -s /sbin/pwd_mkdb sbin; + # special patch to ensuring properly working of atrun!!! + ln -s /usr/pkg/sbin/mini_sendmail sbin/sendmail; + chown -hR root:wheel . cd - } @@ -81,7 +81,6 @@ install_romfs() SHARE="${ROMFS_USR}/share" SKEL="${SHARE}/skel" MISC="${SHARE}/misc" - KEYS="${SHARE}/keys" echo "+++ Install ELWIX RomFS software ... $ROMFS_USR" if [ -r ${BSDSRC}/release/picobsd/mfs_tree/etc/termcap ]; then @@ -97,8 +96,6 @@ 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; - - ln -sf /var/pkg/keys ${KEYS}/pkg find ${WORLD}/lib -type f -name \*.so.\* ! -name \*.debug -exec install {} $LIBS \; find ${WORLD}/lib -type f -name libalias_\*.so -exec install {} $LIBS \;