--- elwix/build_fs.sh 2013/08/07 13:26:30 1.9 +++ elwix/build_fs.sh 2014/06/30 20:59:27 1.9.4.1 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.9 2013/08/07 13:26:30 misho Exp $ +# $Id: build_fs.sh,v 1.9.4.1 2014/06/30 20:59:27 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -158,32 +158,32 @@ if [ ! -r ${REL}/${ROOTFS_KERN} -o ! -r ${REL}/${ROMFS exit 1 fi -clean_fsdir ${FS} ${REL}/${OS} -clean_fsdir ${FS_EXT} ${REL}/${OS_EXT} +clean_fsdir ${FS} ${REL}/${OS} || exit 1 +clean_fsdir ${FS_EXT} ${REL}/${OS_EXT} || exit 1 -build_fsdir ${FS} -build_fsdir ${FS_EXT} +build_fsdir ${FS} || exit 1 +build_fsdir ${FS_EXT} || exit 1 -MakeFS_home ${FS} -MakeFS_home ${FS_EXT} +MakeFS_home ${FS} || exit 1 +MakeFS_home ${FS_EXT} || exit 1 -MakeFS_var ${FS} ${FS_ETC} -MakeFS_var ${FS_EXT} ${FS_EXT_ETC} +MakeFS_var ${FS} ${FS_ETC} || exit 1 +MakeFS_var ${FS_EXT} ${FS_EXT_ETC} || exit 1 -MakeFS_etc ${FS} ${FS_ETC} -MakeFS_etc ${FS_EXT} ${FS_EXT_ETC} ext +MakeFS_etc ${FS} ${FS_ETC} || exit 1 +MakeFS_etc ${FS_EXT} ${FS_EXT_ETC} ext || exit 1 -create_etc_fstab ${FS} -create_etc_fstab ${FS_EXT} ext +create_etc_fstab ${FS} || exit 1 +create_etc_fstab ${FS_EXT} ext || exit 1 -MakeFS_backup ${FS} -MakeFS_backup ${FS_EXT} +MakeFS_backup ${FS} || exit 1 +MakeFS_backup ${FS_EXT} || exit 1 -MakeFS_boot ${FS} -MakeFS_boot ${FS_EXT} +MakeFS_boot ${FS} || exit 1 +MakeFS_boot ${FS_EXT} || exit 1 -install_fsdir ${FS} -install_fsdir ${FS_EXT} ext +install_fsdir ${FS} || exit 1 +install_fsdir ${FS_EXT} ext || exit 1 echo "+++ Complete build ELWIX FS" echo "ELWIX finish version ${VERSION}, Good luck!"