diff options
Diffstat (limited to 'build_tools/clarch/larch/run')
-rwxr-xr-x | build_tools/clarch/larch/run/cachepacs | 3 | ||||
-rwxr-xr-x | build_tools/clarch/larch/run/mklarch | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/build_tools/clarch/larch/run/cachepacs b/build_tools/clarch/larch/run/cachepacs index f8b5951..3e4a1fb 100755 --- a/build_tools/clarch/larch/run/cachepacs +++ b/build_tools/clarch/larch/run/cachepacs @@ -109,11 +109,12 @@ doInstall() { mount --bind /proc ${INSTLDIR}/proc ${PACMAN} -r ${INSTLDIR} -Sw $1 RET=$? + echo $RET umount ${INSTLDIR}/proc umount ${INSTLDIR}/sys if [ ${RET} -ne 0 ]; then echo "//" - echo "// Package $1 FAILED." + echo "// cachepacks package $1 FAILED." echo "//" return 1 fi diff --git a/build_tools/clarch/larch/run/mklarch b/build_tools/clarch/larch/run/mklarch index 2a1c574..236088a 100755 --- a/build_tools/clarch/larch/run/mklarch +++ b/build_tools/clarch/larch/run/mklarch @@ -242,7 +242,10 @@ else fi cachepacs -a ${PROFILE}/cache_packs $INPACSO -d ${INSTLDIR} - +if [ $? -ne 0 ] +then + exit 1 +fi # Generate glibc locales if [ -f ${PROFILE}/locale.gen ]; then |