summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-02 10:37:31 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:04 +0200
commitde261256c51987e9821095f967794a2a28e2ec6f (patch)
tree90bd864f82ebd9dd4eb6f307a38485522cb69983
parentbcab60fdf7700a8b3f174da4f93f05c03344055e (diff)
downloadvyos-live-build-de261256c51987e9821095f967794a2a28e2ec6f.tar.gz
vyos-live-build-de261256c51987e9821095f967794a2a28e2ec6f.zip
Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082).
-rwxr-xr-xscripts/build/binary_checksums10
-rwxr-xr-xscripts/build/source_checksums10
2 files changed, 18 insertions, 2 deletions
diff --git a/scripts/build/binary_checksums b/scripts/build/binary_checksums
index e584b8029..7407b754f 100755
--- a/scripts/build/binary_checksums
+++ b/scripts/build/binary_checksums
@@ -43,7 +43,15 @@ Create_lockfile .lock
for CHECKSUM in ${LB_CHECKSUMS}
do
- CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
+ case "${LB_MODE}" in
+ progress-linux)
+ CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
+ ;;
+
+ *)
+ CHECKSUMS="${CHECKSUM}sums.txt"
+ ;;
+ esac
Echo_message "Begin creating binary ${CHECKSUMS}..."
diff --git a/scripts/build/source_checksums b/scripts/build/source_checksums
index 9a94818b9..f487e83d8 100755
--- a/scripts/build/source_checksums
+++ b/scripts/build/source_checksums
@@ -50,7 +50,15 @@ do
for CHECKSUM in ${LB_CHECKSUMS}
do
- CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
+ case "${LB_MODE}" in
+ progress-linux)
+ CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
+ ;;
+
+ *)
+ CHECKSUMS="${CHECKSUM}sums.txt"
+ ;;
+ esac
Echo_message "Begin creating source ${CHECKSUMS}..."