--- elwix/build_fs.sh 2017/06/18 21:01:32 1.11.2.3 +++ elwix/build_fs.sh 2017/10/08 00:05:36 1.11.2.8 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.11.2.3 2017/06/18 21:01:32 misho Exp $ +# $Id: build_fs.sh,v 1.11.2.8 2017/10/08 00:05:36 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -39,6 +39,9 @@ clean_fsdir() build_fsdir() { + # + # Structure of ELWIX CF Drive mount on /elwix + # echo "+++ Build ELWIX FS directory ... $1" mkdir -p $1 @@ -47,17 +50,8 @@ build_fsdir() install -d boot; # cf install -d cf; - case ${TARGET} in - i386) - ln -fs /dev/ada0g cf/map.cfg - ;; - mips) - ln -fs /dev/map/cfg cf/map.cfg - ;; - esac # etc install -d etc; - install -d -o 883 -g 883 etc/mqtt; # exports install -d exports; # home @@ -80,7 +74,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 } @@ -165,9 +158,6 @@ 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 MakeFS_boot ${FS} || exit 1 MakeFS_boot ${FS_EXT} || exit 1