Fix iso download URL

This commit is contained in:
Tanguy Herbron 2022-05-23 10:42:24 +02:00
parent 00cd128d34
commit 3580c84c5b

View File

@ -7,10 +7,10 @@ build-images:
script: script:
- apt update - apt update
- apt install -y xorriso curl genisoimage - apt install -y xorriso curl genisoimage
- curl -O https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-11.3.0-amd64-netinst.iso - 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 - xorriso -osirrox on -indev debian-11.3.0-amd64-netinst.iso -extract / ./isofiles
- chmod +w -R isofiles/ - chmod +w -R isofiles/
- gunzip isofiles/install.amd/initrd.gz - gunzip ./isofiles/install.amd/initrd.gz
- echo debian/preseed.cfg | cpio -H newc -o -A -F isofiles/install.amd/initrd - echo debian/preseed.cfg | cpio -H newc -o -A -F isofiles/install.amd/initrd
- cp debian/*.cfg isofiles/isolinux - cp debian/*.cfg isofiles/isolinux
- gzip isofiles/install.amd/initrd - gzip isofiles/install.amd/initrd