--- elwix/build_fs.sh 2016/12/15 14:32:50 1.10.2.2 +++ elwix/build_fs.sh 2017/02/13 16:52:46 1.11 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.10.2.2 2016/12/15 14:32:50 misho Exp $ +# $Id: build_fs.sh,v 1.11 2017/02/13 16:52:46 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -108,11 +108,14 @@ create_etc_fstab() # Automatic generated fstab for ELWIX $2 at ${BUILD_DATE} # /dev/ufs/elwix /elwix ufs ro 0 1 -md3 /tmp mfs rw,-s8m,-oasync,-S,-n 0 0 -md4 /var mfs rw,-s16m,-S,-n 0 0 _EOF } +update_etc_cfexec() +{ + echo "mount = \"/elwix\"" >> $1/etc/cfexec.conf +} + install_fsdir() { echo "+++ Install ELWIX RootFS $1 in bundle OS install file ..." @@ -186,6 +189,9 @@ MakeFS_etc ${FS_EXT} ${FS_EXT_ETC} ext || exit 1 create_etc_fstab ${FS} || exit 1 create_etc_fstab ${FS_EXT} ext || exit 1 + +update_etc_cfexec ${FS} || exit 1 +update_etc_cfexec ${FS_EXT} ext || exit 1 MakeFS_backup ${FS} || exit 1 MakeFS_backup ${FS_EXT} || exit 1