--- elwix/build_fs.sh 2017/06/18 21:01:32 1.11.2.3 +++ elwix/build_fs.sh 2017/06/20 08:49:03 1.11.2.5 @@ -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.5 2017/06/20 08:49:03 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 @@ -48,7 +51,7 @@ build_fsdir() # cf install -d cf; case ${TARGET} in - i386) + i386|amd64) ln -fs /dev/ada0g cf/map.cfg ;; mips) @@ -57,7 +60,6 @@ build_fsdir() esac # etc install -d etc; - install -d -o 883 -g 883 etc/mqtt; # exports install -d exports; # home @@ -165,9 +167,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