Fix ISO extracting in CI
This commit is contained in:
parent
9c447c5333
commit
00cd128d34
@ -8,7 +8,7 @@ build-images:
|
|||||||
- 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://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-11.3.0-amd64-netinst.iso
|
||||||
- xorriso -osirrox on -index 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
|
||||||
|
Loading…
Reference in New Issue
Block a user