summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-02 10:37:31 +0100
committerDaniel Baumann <daniel@debian.org>2013-01-02 10:38:06 +0100
commitdd2aed00d27a9d74437bdfed63fc5fd84d6f7207 (patch)
tree90bd864f82ebd9dd4eb6f307a38485522cb69983 /scripts
parent1dbd997d9ddbf4f5da8842d382caa851efc8da4d (diff)
downloadvyos-live-build-dd2aed00d27a9d74437bdfed63fc5fd84d6f7207.tar.gz
vyos-live-build-dd2aed00d27a9d74437bdfed63fc5fd84d6f7207.zip
Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082).
Diffstat (limited to 'scripts')
-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}..."