Skip to content

Commit

Permalink
Also output checksums to build log (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmhewitt authored Nov 18, 2021
1 parent 06eee48 commit 1b194a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build-pinebookpro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ xz -z "${basedir}/${imagename}.img"

cd "${basedir}"

md5sum "${imagename}.img.xz" > "${imagename}.md5.txt"
sha256sum "${imagename}.img.xz" > "${imagename}.sha256.txt"
md5sum "${imagename}.img.xz" | tee "${imagename}.md5.txt"
sha256sum "${imagename}.img.xz" | tee "${imagename}.sha256.txt"

cd "${rootdir}"

Expand Down
4 changes: 2 additions & 2 deletions build-rpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ xz -T0 -z "${basedir}/${imagename}.img"

cd "${basedir}"

md5sum "${imagename}.img.xz" > "${imagename}.md5.txt"
sha256sum "${imagename}.img.xz" > "${imagename}.sha256.txt"
md5sum "${imagename}.img.xz" | tee "${imagename}.md5.txt"
sha256sum "${imagename}.img.xz" | tee "${imagename}.sha256.txt"

cd "${rootdir}"

Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ build () {
# includes the filename and not the path to
# our file.
cd $OUTPUT_DIR
md5sum "${FNAME}.iso" > "${FNAME}.md5.txt"
sha256sum "${FNAME}.iso" > "${FNAME}.sha256.txt"
md5sum "${FNAME}.iso" | tee "${FNAME}.md5.txt"
sha256sum "${FNAME}.iso" | tee "${FNAME}.sha256.txt"
cd $BASE_DIR
}

Expand Down

0 comments on commit 1b194a0

Please sign in to comment.