stages: - build build-x86: image: debian:latest stage: build script: - apt update - apt install -y xorriso curl genisoimage cpio - curl -LO https://laotzu.ftp.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-11.3.0-amd64-netinst.iso - xorriso -osirrox on -indev debian-11.3.0-amd64-netinst.iso -extract / ./isofiles - chmod +w -R isofiles/ - gunzip ./isofiles/install.amd/initrd.gz - echo preseed.cfg | cpio -H newc -o -A -F isofiles/install.amd/initrd - cp bootloader-configs/*.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: paths: - halia-debian-11.3.0-amd64.iso expire_in: 1 mos 8 days build-arm64: image: docker:latest stage: build services: - name: docker:dind script: - apt update - apt install -y git - git clone --depth 1 -b arm64 https://github.com/RPi-Distro/pi-gen - cd pi-gen - ./build-docker.sh -c ../config artifacts: paths: - ./pi-gen/deploy/*-Halia-arm64-lite.img expire_in: 1 mos 8 days