mirror of
https://github.com/rancher/os.git
synced 2025-09-17 07:30:42 +00:00
added md5 sha256 to iso-checksums.txt
This commit is contained in:
@@ -45,3 +45,11 @@ cd ${CD}
|
|||||||
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
|
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
|
||||||
-isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin \
|
-isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin \
|
||||||
-o ${DIST}/artifacts/rancheros.iso $(pwd)
|
-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
|
||||||
|
Reference in New Issue
Block a user