summaryrefslogtreecommitdiff
path: root/scripts/build
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:01 +0100
commite724421fee5e33e9f40c439f1872862a08663d79 (patch)
tree05d0bdf9d535006fbaf6c8d1e4c981a224a7edb8 /scripts/build
parenta6b15215679f77211c77152f9799e55280094665 (diff)
downloadvyos-live-build-e724421fee5e33e9f40c439f1872862a08663d79.tar.gz
vyos-live-build-e724421fee5e33e9f40c439f1872862a08663d79.zip
Also ignoring legacy checksum filenames when creating checksum files.
Diffstat (limited to 'scripts/build')
-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 eba2c6b1d..3636d68bd 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 592029827..f2fe6e148 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