summaryrefslogtreecommitdiff
path: root/scripts/build/binary_checksums
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:48:46 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:48:46 +0200
commitd1047e809a90daa0e88329efc0db21931be0b919 (patch)
tree5dc92aaaeb4d15dcad4796935b90a9675be93ad5 /scripts/build/binary_checksums
parent160d6bade79bf58a1c0d1842dc9b55ec178ec303 (diff)
downloadvyos-live-build-d1047e809a90daa0e88329efc0db21931be0b919.tar.gz
vyos-live-build-d1047e809a90daa0e88329efc0db21931be0b919.zip
Adding debian version 4.0~a1-1.debian/4.0_a1-1
Diffstat (limited to 'scripts/build/binary_checksums')
-rwxr-xr-xscripts/build/binary_checksums15
1 files changed, 3 insertions, 12 deletions
diff --git a/scripts/build/binary_checksums b/scripts/build/binary_checksums
index a19f16230..244ee1439 100755
--- a/scripts/build/binary_checksums
+++ b/scripts/build/binary_checksums
@@ -1,7 +1,7 @@
#!/bin/sh
## live-build(7) - System Build Scripts
-## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
+## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
@@ -43,15 +43,7 @@ Create_lockfile .lock
for CHECKSUM in ${LB_CHECKSUMS}
do
- case "${LB_MODE}" in
- progress-linux)
- CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
- ;;
-
- *)
- CHECKSUMS="${CHECKSUM}sum.txt"
- ;;
- esac
+ CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
Echo_message "Begin creating binary ${CHECKSUMS}..."
@@ -68,11 +60,10 @@ do
\! -path './boot/boot.bin' \
\! -path './boot/grub/stage2_eltorito' \
\! -path './*SUMS' \
- \! -path './*sum.txt' \
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF
-## This file contains the list of ${CHECKSUM} checksums of all files on this
+## This file contains the list of ${CHECKSUM} checksums of all fileson this
## medium.
##
## You can verify them automatically with the 'verify-checksums' boot parameter,