jhalfs git · trunk
jhalfs LFS build automation (mirror)
Python 78.4% Shell 19.8% Makefile 1.8%git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gzAlways run "teardown" after chroot
If the shell exits with an error, teardown is not run in target chroot, which may lead to unwanted effects, such as preventing unmounting the $BUILD_DIR. Tell make to ignore the error.
LFS/master.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index 7e4e919..2aa9843 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -437,11 +437,11 @@ fi cat << EOF chroot1: devices - sudo \$(CHROOT1) + -sudo \$(CHROOT1) \$(MAKE) teardown chroot: devices - sudo \$(CHROOT1) + -sudo \$(CHROOT1) \$(MAKE) teardown SETUP: $SETUP_TGT