--- elwix/build_fs.sh 2017/06/20 08:49:03 1.11.2.5 +++ elwix/build_fs.sh 2021/03/11 13:59:50 1.12 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.11.2.5 2017/06/20 08:49:03 misho Exp $ +# $Id: build_fs.sh,v 1.12 2021/03/11 13:59:50 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -50,14 +50,6 @@ build_fsdir() install -d boot; # cf install -d cf; - case ${TARGET} in - i386|amd64) - ln -fs /dev/ada0g cf/map.cfg - ;; - mips) - ln -fs /dev/map/cfg cf/map.cfg - ;; - esac # etc install -d etc; # exports @@ -66,6 +58,7 @@ build_fsdir() install -d home; # local install -d local; + install -d local/lib; # root install -d -m 0750 root; # pkg @@ -82,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 0 1 _EOF } @@ -159,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