summaryrefslogtreecommitdiff
path: root/auto/build
diff options
context:
space:
mode:
Diffstat (limited to 'auto/build')
-rwxr-xr-xauto/build4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/build b/auto/build
index ced2c4a..24f4a84 100755
--- a/auto/build
+++ b/auto/build
@@ -25,6 +25,10 @@ prebuild()
cp "cache/$(basename "$URL")" "config/chroot_local-includes/usr/src/$(basename "$URL")"
fi
fi
+
+ # make current build configuration available for hooks inside chroot
+ mkdir -p chroot/root
+ cat config/* 2>/dev/null | grep ^LH_ > chroot/root/build.conf
}
if [ "$LH_KANOTIX_TMPFS" = "true" ]; then