From e296deef492a98e2ca1a1c3f5b604f3f9153cd18 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Tue, 15 Apr 2008 13:54:32 +0200
Subject: Also copying binary package list to build directory.

---
 helpers/lh_binary_manifest | 2 ++
 helpers/lh_clean           | 1 +
 2 files changed, 3 insertions(+)

diff --git a/helpers/lh_binary_manifest b/helpers/lh_binary_manifest
index 2bce9e1..b5e558a 100755
--- a/helpers/lh_binary_manifest
+++ b/helpers/lh_binary_manifest
@@ -57,5 +57,7 @@ EOF
 
 Chroot "dpkg -l" >> binary/packages.txt
 
+cp binary/packages.txt binary.packages
+
 # Creating stage file
 Create_stagefile .stage/binary_manifest
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 4d20016..acb9149 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -80,6 +80,7 @@ do
 			rm -f binary.img
 			rm -f binary*.tar.gz
 			rm -f binary.sh
+			rm -f binary.packages
 
 			rm -rf binary
 			rm -rf tftpboot
-- 
cgit v1.0