summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/run
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/clarch/larch/run')
-rwxr-xr-xbuild_tools/clarch/larch/run/cachepacs3
-rwxr-xr-xbuild_tools/clarch/larch/run/mklarch5
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