From b94e04f5afe7b358782df39da8b903ba308abcc4 Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Mon, 6 Sep 2010 14:24:42 +0200
Subject: write build.conf to config/chroot_local-includes not to chroot/

(in chroot it does not work because chroot is deleted first on lh build)
---
 auto/build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/auto/build b/auto/build
index 24f4a84..ba83a3a 100755
--- a/auto/build
+++ b/auto/build
@@ -27,8 +27,7 @@ prebuild()
 	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
+	cat config/* 2>/dev/null | grep ^LH_ > config/chroot_local-includes/root/build.cfg
 }
 
 if [ "$LH_KANOTIX_TMPFS" = "true" ]; then
-- 
cgit v1.0