diff options
-rwxr-xr-x | auto/build | 7 | ||||
-rwxr-xr-x | auto/clean | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -32,6 +32,11 @@ prebuild() cat config/* 2>/dev/null | grep ^LH_ > config/chroot_local-includes/root/build.conf } +postbuild() +{ + rm -f config/chroot_local-includes/root/build.conf +} + if [ "$LH_KANOTIX_TMPFS" = "true" ]; then mkdir -p tmpfs # build using tmpfs @@ -44,10 +49,12 @@ if [ "$LH_KANOTIX_TMPFS" = "true" ]; then # build prebuild lh build noauto ${@} 2>&1 | tee binary.log + postbuild cd .. else prebuild lh build noauto ${@} 2>&1 | tee binary.log + postbuild fi exit 1 @@ -3,7 +3,7 @@ rm -f build.log # Remove generated files -rm -f config/binary config/bootstrap config/chroot config/common config/source config/kanotix +rm -f config/binary config/bootstrap config/chroot config/common config/source config/kanotix config/chroot_local-includes/root/build.conf if [ -f config/all ]; then sed -i '/^. config\/kanotix/d' config/all [ ! -s config/all ] && rm -f config/all |