diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-02 10:37:31 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2013-01-02 10:38:53 +0100 |
commit | a39bfcb512b8678b9ce6900f5024d77106828c9d (patch) | |
tree | 67451710d2a88b9a5b22780bdc9c11285af3a708 | |
parent | bfbd7af101f33c4ed621442790dbfbf9c102ddf9 (diff) | |
download | vyos-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).
-rwxr-xr-x | scripts/build/binary_checksums | 10 | ||||
-rwxr-xr-x | 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 bd69ba26e..53c71ef2d 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 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}..." |