Skip to content

Commit 6704791

Browse files
committed
bootstrap-tarballs: Document code that computes checksum list
Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 4e2f897 commit 6704791

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-scripts/bootstrap-tarballs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,12 @@ make tar-package # package tarball (containing all files as if they were
7676
mv cfengine-masterfiles*.tar.gz $BASEDIR/output/tarballs/
7777
make distclean
7878

79+
# Compute a checksum list that can be used to verify the integrity of the
80+
# tarballs
7981
cd $BASEDIR/output/tarballs
8082
sha256sum *.tar.gz > sha256sums.txt
83+
# Add the BSD (16-bit) checksum of the checksum list to it's filename. This way
84+
# you can verify the integrity of the checksum list itself.
8185
CKSUM=`sum sha256sums.txt | cut -d ' ' -f 1`
8286
mv sha256sums.txt sha256sums.$CKSUM.txt
8387

0 commit comments

Comments
 (0)