1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 15:40:47 +00:00

added md5 sha256 to iso-checksums.txt

This commit is contained in:
Bill Maxwell
2015-02-23 12:00:30 -07:00
parent e5192ddc5e
commit 5fd74dd5ae

View File

@@ -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