summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-15 13:59:53 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:32 +0100
commitef1b16304060cd726cbbfe02fb634cb5ed1fdc95 (patch)
tree78215dd34b46deb6915f2725419431537bf2651e /helpers
parente296deef492a98e2ca1a1c3f5b604f3f9153cd18 (diff)
downloadlive-build-ef1b16304060cd726cbbfe02fb634cb5ed1fdc95.zip
live-build-ef1b16304060cd726cbbfe02fb634cb5ed1fdc95.tar.gz
Creating binary and source file lists in build directory.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_md5sum3
-rwxr-xr-xhelpers/lh_clean3
-rwxr-xr-xhelpers/lh_source_md5sum3
3 files changed, 8 insertions, 1 deletions
diff --git a/helpers/lh_binary_md5sum b/helpers/lh_binary_md5sum
index d48bc64..e40be93 100755
--- a/helpers/lh_binary_md5sum
+++ b/helpers/lh_binary_md5sum
@@ -69,6 +69,9 @@ EOF
cat ../md5sum.txt >> md5sum.txt
rm -f ../md5sum.txt
+# File list
+find . | sed -e 's|^.||g' | grep "^/" > ../binary.list
+
cd "${OLDPWD}"
# Creating stage file
diff --git a/helpers/lh_clean b/helpers/lh_clean
index acb9149..00b348d 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -80,7 +80,7 @@ do
rm -f binary.img
rm -f binary*.tar.gz
rm -f binary.sh
- rm -f binary.packages
+ rm -f binary.list binary.packages
rm -rf binary
rm -rf tftpboot
@@ -107,6 +107,7 @@ do
rm -f source.img
rm -f source*.tar
rm -f source*.tar.gz
+ rm -f binary.list
rm -rf source
diff --git a/helpers/lh_source_md5sum b/helpers/lh_source_md5sum
index 776fa06..e8f9b6e 100755
--- a/helpers/lh_source_md5sum
+++ b/helpers/lh_source_md5sum
@@ -74,6 +74,9 @@ EOF
cat ../md5sum.txt >> md5sum.txt
rm -f ../md5sum.txt
+# File list
+find . | sed -e 's|^.||g' | grep "^/" > ../source.list
+
cd "${OLDPWD}"
# Creating stage file