Fix preseeding procedure
This commit is contained in:
parent
f994a11d35
commit
ccb37e5af6
@ -7,13 +7,12 @@ build-images:
|
|||||||
script:
|
script:
|
||||||
- apt update
|
- apt update
|
||||||
- apt install -y xorriso curl genisoimage cpio
|
- 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
|
- 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 preseed.cfg | cpio -H newc -o -A -F isofiles/install.amd/initrd
|
||||||
- cp debian/*.cfg isofiles/isolinux
|
- cp bootloader-configs/*.cfg isofiles/isolinux
|
||||||
- gzip isofiles/install.amd/initrd
|
- gzip isofiles/install.amd/initrd
|
||||||
- cd isofiles
|
- cd isofiles
|
||||||
# Execute the md5sum generation in a separated shell instance, because it returns a
|
# Execute the md5sum generation in a separated shell instance, because it returns a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user