From 0a0b775948b641473771ad184fda7bdbd96ea5b7 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Mon, 23 May 2022 11:33:03 +0200 Subject: [PATCH] Fix md5sum generation --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 59ca285..5a45728 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: