Fix preseeding procedure

This commit is contained in:
Tanguy Herbron 2022-05-23 12:13:27 +02:00
parent f994a11d35
commit ccb37e5af6
5 changed files with 2 additions and 3 deletions

@ -7,13 +7,12 @@ build-images:
script:
- apt update
- apt install -y xorriso curl genisoimage cpio
- ls
- curl -O 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 debian/preseed.cfg | cpio -H newc -o -A -F isofiles/install.amd/initrd
- cp debian/*.cfg isofiles/isolinux
- 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