--- elwix/build_romfs.sh 2017/02/13 16:52:46 1.9 +++ elwix/build_romfs.sh 2021/03/11 13:59:50 1.10 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_romfs.sh,v 1.9 2017/02/13 16:52:46 misho Exp $ +# $Id: build_romfs.sh,v 1.10 2021/03/11 13:59:50 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -53,18 +53,19 @@ 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 -