summaryrefslogtreecommitdiff
path: root/scripts/build/source_checksums
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:53 +0100
commita39bfcb512b8678b9ce6900f5024d77106828c9d (patch)
tree67451710d2a88b9a5b22780bdc9c11285af3a708 /scripts/build/source_checksums
parentbfbd7af101f33c4ed621442790dbfbf9c102ddf9 (diff)
downloadvyos-live-build-a39bfcb512b8678b9ce6900f5024d77106828c9d.tar.gz
vyos-live-build-a39bfcb512b8678b9ce6900f5024d77106828c9d.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/build/source_checksums')
-rwxr-xr-xscripts/build/source_checksums10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/build/source_checksums b/scripts/build/source_checksums
index a767938d1..592029827 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}..."