diff options
author | Daniel Baumann <daniel@debian.org> | 2008-04-15 13:59:53 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:32 +0100 |
commit | ef1b16304060cd726cbbfe02fb634cb5ed1fdc95 (patch) | |
tree | 78215dd34b46deb6915f2725419431537bf2651e | |
parent | e296deef492a98e2ca1a1c3f5b604f3f9153cd18 (diff) | |
download | vyos-live-build-ef1b16304060cd726cbbfe02fb634cb5ed1fdc95.tar.gz vyos-live-build-ef1b16304060cd726cbbfe02fb634cb5ed1fdc95.zip |
Creating binary and source file lists in build directory.
-rwxr-xr-x | helpers/lh_binary_md5sum | 3 | ||||
-rwxr-xr-x | helpers/lh_clean | 3 | ||||
-rwxr-xr-x | helpers/lh_source_md5sum | 3 |
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 |