Merge "imagebuild: tinyipa: Build sha256 checksum files"
This commit is contained in:
commit
a7808d0f4d
@ -23,6 +23,7 @@ clean_build:
|
||||
sudo rm -rf tinyipafinal
|
||||
rm -f tinyipa*.vmlinuz
|
||||
rm -f tinyipa*.gz
|
||||
rm -f tinyipa*.sha256
|
||||
rm -f build_files/corepure64.gz
|
||||
rm -f build_files/vmlinuz64
|
||||
rm -f build_files/*.tcz
|
||||
|
@ -183,6 +183,14 @@ cp "$WORKDIR/build_files/vmlinuz64" "$WORKDIR/tinyipa${branch_ext}.vmlinuz"
|
||||
# Create tar.gz containing tinyipa files
|
||||
tar czf tinyipa${branch_ext}.tar.gz tinyipa${branch_ext}.gz tinyipa${branch_ext}.vmlinuz
|
||||
|
||||
# Create sha256 files which will be uploaded by the publish jobs along with
|
||||
# the tinyipa ones in order to provide a way to verify the integrity of the tinyipa
|
||||
# builds.
|
||||
for f in tinyipa${branch_ext}.{gz,tar.gz,vmlinuz}; do
|
||||
sha256sum $f > $f.sha256
|
||||
done
|
||||
|
||||
# Output files with sizes created by this script
|
||||
echo "Produced files:"
|
||||
du -h tinyipa${branch_ext}.gz tinyipa${branch_ext}.tar.gz tinyipa${branch_ext}.vmlinuz
|
||||
echo "Checksums: " tinyipa${branch_ext}.*sha256
|
||||
|
Loading…
Reference in New Issue
Block a user