Always 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.
This commit is contained in:
parent
200cc0151e
commit
c552eabe63
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue