--- elwix/build_fs.sh 2014/09/15 18:17:07 1.9.4.4 +++ elwix/build_fs.sh 2016/12/15 14:32:50 1.10.2.2 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.9.4.4 2014/09/15 18:17:07 misho Exp $ +# $Id: build_fs.sh,v 1.10.2.2 2016/12/15 14:32:50 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -32,14 +32,14 @@ fi clean_fsdir() { - echo "+++ Clean ELWIX FS ..." + echo "+++ Clean ELWIX FS ... $1" chflags -Rf nosunlink $1 rm -rf $1 $2 } build_fsdir() { - echo "+++ Build ELWIX FS directory ..." + echo "+++ Build ELWIX FS directory ... $1" mkdir -p $1 cd $1 @@ -108,15 +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 0 0 -md4 /var mfs rw,-s16m,-S 0 0 -/var/db /elwix/etc unionfs rw,noauto,-onoatime 0 0 +md3 /tmp mfs rw,-s8m,-oasync,-S,-n 0 0 +md4 /var mfs rw,-s16m,-S,-n 0 0 _EOF } install_fsdir() { - echo "+++ Install ELWIX FS $1 in bundle OS install file ..." + echo "+++ Install ELWIX RootFS $1 in bundle OS install file ..." OSZ="" install -v ${REL}/${ROOTFS_KERN} $1/boot/kernel/kernel.gz @@ -156,6 +155,8 @@ install_fsdir() cd $1 tar -czvf $OSZ . + + echo "+++ Completed ELWIX RootFS $1 --> $OSZ" } ### main() @@ -195,5 +196,5 @@ MakeFS_boot ${FS_EXT} || exit 1 install_fsdir ${FS} || exit 1 install_fsdir ${FS_EXT} ext || exit 1 -echo "+++ Complete build ELWIX FS" -echo "ELWIX finish version ${VERSION}, Good luck!" +echo "+++ Complete build ELWIX RootFS system" +echo "ELWIX RootFS finish version ${VERSION}, Good luck!"