diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2013-08-25 10:11:16 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-08-25 10:11:16 +0200 |
commit | 97685e70eb99edaea1a9a420460ef05fd2b19dcd (patch) | |
tree | 993b26701c735e633b4260dc69215269240480fc | |
parent | 559d2331951c98d542767c0623d18b7be390cd16 (diff) | |
download | kanotix-97685e70eb99edaea1a9a420460ef05fd2b19dcd.zip kanotix-97685e70eb99edaea1a9a420460ef05fd2b19dcd.tar.gz |
further auto hook fixes for live-build 3.0.5
-rwxr-xr-x | auto/clean | 1 | ||||
-rw-r--r-- | auto/functions/compat | 2 | ||||
-rw-r--r-- | auto/live-build/functions/00_init.sh | 8 |
3 files changed, 9 insertions, 2 deletions
@@ -6,7 +6,6 @@ rm -f build.log rm -f config/binary config/bootstrap config/chroot config/common config/source \ config/kanotix config/chroot_local-includes/root/build.conf config/chroot_local-packageslists/kanotix-flavours.list rm -f config/package-lists/compat.list.chroot -rmdir --ignore-fail-on-non-empty config/package-lists if [ -f config/all ]; then sed -i '/^. config\/kanotix/d' config/all [ ! -s config/all ] && rm -f config/all diff --git a/auto/functions/compat b/auto/functions/compat index e93c386..79f629a 100644 --- a/auto/functions/compat +++ b/auto/functions/compat @@ -87,7 +87,7 @@ Compat_packagelists() ( echo '# AUTOGENERATED from "lb config -p" option - DO NOT CHANGE' IFS=" " - for packagelist in $1 + for packagelist in $@ do echo "#include <$packagelist>" done diff --git a/auto/live-build/functions/00_init.sh b/auto/live-build/functions/00_init.sh index c57efaa..0f0b97c 100644 --- a/auto/live-build/functions/00_init.sh +++ b/auto/live-build/functions/00_init.sh @@ -7,3 +7,11 @@ do . "${_FILE}" fi done +Set_defaults() { + # hide this script from the real Set_defaults + # to make sure that no path is set to this local folder + mv local local.tmp + . /usr/share/live/build/functions/defaults.sh + Set_defaults "@" + mv local.tmp local +} |