Fix md5sum generation

This commit is contained in:
Tanguy Herbron 2022-05-23 11:33:03 +02:00
parent 49a5d5ded6
commit 0a0b775948

View File

@ -14,7 +14,11 @@ build-images:
- echo debian/preseed.cfg | cpio -H newc -o -A -F isofiles/install.amd/initrd
- cp debian/*.cfg isofiles/isolinux
- gzip isofiles/install.amd/initrd
- cd isofiles
# Execute the md5sum generation in a separated shell instance, because it returns a
# warning (file system loop) that makes the CI job error out
- sh -c "find -follow -type f ! -name md5sum.txt -print0 | xargs -0 md5sum > md5sum.txt"
- cd ..
- chmod -w -R isofiles/
- genisoimage -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o halia-debian-11.3.0-amd64.iso isofiles
artifacts: