diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-06 16:24:14 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-06 16:24:14 +0200 |
commit | 9f8aa6da27267d88a115606cb009464ee05b097d (patch) | |
tree | 2f8fa19f8306c7682f99587a6e85152f586f2019 | |
parent | 9cf8c8574e0dc040796c54f5d8f0f5cc04e90d0e (diff) | |
download | kanotix-9f8aa6da27267d88a115606cb009464ee05b097d.zip kanotix-9f8aa6da27267d88a115606cb009464ee05b097d.tar.gz |
added build.conf cleanup
-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 |