summaryrefslogtreecommitdiff
path: root/auto/build
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2010-09-06 14:00:30 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2010-09-06 14:00:30 +0200
commite955da790f318b075fd4933a8e1297ace5442511 (patch)
treef9c9f931ac0ed61f7b559502ead386fa91a3e716 /auto/build
parent94344d2f7072d63d3b77e4d837077f2fd5fd3ddb (diff)
downloadkanotix-e955da790f318b075fd4933a8e1297ace5442511.zip
kanotix-e955da790f318b075fd4933a8e1297ace5442511.tar.gz
added console-setup preseed and build.conf for chroot
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