summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-02 10:50:05 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:04 +0200
commit565b1ea291a8b711e4e08d81c6100b41386ff53e (patch)
tree6df82a56f4cbc588713780283388c8c1fb619af3 /scripts
parent449a338ffa84b8a67eae7c428054c20473714a5c (diff)
downloadvyos-live-build-565b1ea291a8b711e4e08d81c6100b41386ff53e.tar.gz
vyos-live-build-565b1ea291a8b711e4e08d81c6100b41386ff53e.zip
Also ignoring legacy checksum filenames when creating checksum files.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_checksums1
-rwxr-xr-xscripts/build/source_checksums1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/binary_checksums b/scripts/build/binary_checksums
index b42313ed2..0e39e8efa 100755
--- a/scripts/build/binary_checksums
+++ b/scripts/build/binary_checksums
@@ -68,6 +68,7 @@ do
\! -path './boot/boot.bin' \
\! -path './boot/grub/stage2_eltorito' \
\! -path './*SUMS' \
+ \! -path './*sums.txt' \
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF
diff --git a/scripts/build/source_checksums b/scripts/build/source_checksums
index f487e83d8..fdf7cd2c9 100755
--- a/scripts/build/source_checksums
+++ b/scripts/build/source_checksums
@@ -72,6 +72,7 @@ do
cd ${DIRECTORY}
find . -type f \
\! -path './*SUMS' \
+ \! -path './*sums.txt' \
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF