summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-02 10:50:05 +0100
committerDaniel Baumann <daniel@debian.org>2013-01-02 10:51:12 +0100
commit499fe805fd954f56ac75e13c5e22ab1594a6d78e (patch)
tree6df82a56f4cbc588713780283388c8c1fb619af3
parentcc4a598798e6cec1019e7f80e3e7c0e682714669 (diff)
downloadvyos-live-build-499fe805fd954f56ac75e13c5e22ab1594a6d78e.tar.gz
vyos-live-build-499fe805fd954f56ac75e13c5e22ab1594a6d78e.zip
Also ignoring legacy checksum filenames when creating checksum files.
-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