From dd2aed00d27a9d74437bdfed63fc5fd84d6f7207 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 2 Jan 2013 10:37:31 +0100 Subject: [PATCH] Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082). --- scripts/build/binary_checksums | 10 +++++++++- scripts/build/source_checksums | 10 +++++++++- 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}..."