mirror of
https://github.com/rancher/os.git
synced 2025-06-27 15:26:50 +00:00
Merge pull request #37 from cloudnautique/add_md5_checksum_to_pkg
added md5 file.
This commit is contained in:
commit
7a8d9c5ec9
@ -45,3 +45,11 @@ cd ${CD}
|
||||
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
|
||||
-isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin \
|
||||
-o ${DIST}/artifacts/rancheros.iso $(pwd)
|
||||
|
||||
if [ -e ${DIST}/artficats/iso-checksums.txt ]; then
|
||||
rm ${DIST}/artficats/iso-checksums.txt
|
||||
fi
|
||||
|
||||
for algorithm in 'sha256' 'md5'; do
|
||||
echo "${algorithm}: $(${algorithm}sum ${DIST}/artifacts/rancheros.iso)" >> ${DIST}/artifacts/iso-checksums.txt
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user