--- elwix/build_fs.sh 2017/07/13 11:27:13 1.11.2.7 +++ elwix/build_fs.sh 2018/07/06 08:30:29 1.11.2.10 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.11.2.7 2017/07/13 11:27:13 misho Exp $ +# $Id: build_fs.sh,v 1.11.2.10 2018/07/06 08:30:29 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -58,6 +58,7 @@ build_fsdir() install -d home; # local install -d local; + install -d local/lib; # root install -d -m 0750 root; # pkg @@ -74,7 +75,6 @@ create_etc_fstab() cat >$1/etc/fstab <<_EOF # Automatic generated fstab for ELWIX $2 at ${BUILD_DATE} # -/dev/ufs/elwix /elwix ufs ro,noauto 0 1 _EOF } @@ -151,8 +151,8 @@ MakeFS_home ${FS_EXT} || exit 1 MakeFS_var ${FS} ${FS_ETC} || exit 1 MakeFS_var ${FS_EXT} ${FS_EXT_ETC} || exit 1 -MakeFS_etc ${FS} ${FS_ETC} || exit 1 -MakeFS_etc ${FS_EXT} ${FS_EXT_ETC} ext || exit 1 +MakeFS_etc ${FS} ${FS_ETC} rootfs || exit 1 +MakeFS_etc ${FS_EXT} ${FS_EXT_ETC} rootfsext || exit 1 create_etc_fstab ${FS} || exit 1 create_etc_fstab ${FS_EXT} ext || exit 1