summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-11-28 09:30:46 +0100
committerDaniel Baumann <daniel@debian.org>2012-11-28 09:30:46 +0100
commitade11a8ebb814d79a47d0edb86904f8f44445d2f (patch)
tree4c788a8a4004e1a624e9b44b56066001dc83eb30
parentb7d0742e0af397704871f54f3d862a7ce7d49729 (diff)
downloadvyos-live-build-ade11a8ebb814d79a47d0edb86904f8f44445d2f.tar.gz
vyos-live-build-ade11a8ebb814d79a47d0edb86904f8f44445d2f.zip
Marking comments in checksum files as such to avoid harmless but anoying warning messages during live-boots medium integrity check.
-rwxr-xr-xscripts/build/binary_checksums13
-rwxr-xr-xscripts/build/source_checksums13
2 files changed, 14 insertions, 12 deletions
diff --git a/scripts/build/binary_checksums b/scripts/build/binary_checksums
index 697707724..80c862d01 100755
--- a/scripts/build/binary_checksums
+++ b/scripts/build/binary_checksums
@@ -63,12 +63,13 @@ do
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF
-This file contains the list of ${CHECKSUM} checksums of all files on this medium.
-
-You can verify them automatically with the 'integrity-check' boot parameter,
-or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
-
-
+## This file contains the list of ${CHECKSUM} checksums of all fileson this
+## medium.
+##
+## You can verify them automatically with the 'integrity-check' boot parameter,
+## or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
+##
+##
EOF
cat ../${CHECKSUMS} >> ${CHECKSUMS}
diff --git a/scripts/build/source_checksums b/scripts/build/source_checksums
index e03406473..e09a1a9f2 100755
--- a/scripts/build/source_checksums
+++ b/scripts/build/source_checksums
@@ -67,12 +67,13 @@ do
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF
-This file contains the list of ${CHECKSUM} checksums of all files on this medium.
-
-You can verify them automatically with the 'integrity-check' boot parameter,
-or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
-
-
+## This file contains the list of ${CHECKSUM} checksums of all files on this
+## medium.
+##
+## You can verify them automatically with the 'integrity-check' boot parameter,
+## or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
+##
+##
EOF
cat ../${CHECKSUMS} >> ${CHECKSUMS}