diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-02 10:37:31 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:04 +0200 |
commit | de261256c51987e9821095f967794a2a28e2ec6f (patch) | |
tree | 90bd864f82ebd9dd4eb6f307a38485522cb69983 /scripts | |
parent | bcab60fdf7700a8b3f174da4f93f05c03344055e (diff) | |
download | vyos-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).
Diffstat (limited to 'scripts')
-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 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}..." |