summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-15 13:59:53 +0200
committerDaniel Baumann <daniel@debian.org>2008-04-15 13:59:53 +0200
commit214ad680d375f51341adce56dfa004b56e8e8dfb (patch)
tree78215dd34b46deb6915f2725419431537bf2651e
parent72a7e46e0067a118f834dec4cecf14a6d949c8ef (diff)
downloadvyos-live-build-214ad680d375f51341adce56dfa004b56e8e8dfb.tar.gz
vyos-live-build-214ad680d375f51341adce56dfa004b56e8e8dfb.zip
Creating binary and source file lists in build directory.
-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 d48bc6451..e40be9367 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 acb914980..00b348dc5 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 776fa06b3..e8f9b6e98 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