Skip to content

Commit

Permalink
bin/build-distro: Calculate files checksums after image build
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Mar 26, 2024
1 parent 7c30411 commit ee0dc2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/build-distro
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@ fi

sudo rm -Rf rootfs
echo "${SERIAL}" > serial

# Calculate checksums for all files within a directory.
for file in *; do
sha256sum "${file}" >> SHA265SUMS
done

0 comments on commit ee0dc2c

Please sign in to comment.