Open tomaka opened 4 years ago
The idea is basically to do the same as that, but with a USB stick instead of a CD-ROM: https://github.com/tomaka/redshirt/blob/4818d10b58cb17effb6e114de560b696ab1425b5/.github/workflows/ci.yml#L173-L184
Oh, grub-mkrescue
is apparently able to create a USB stick image.
The redshirt.iso
file is apparently actually bootable.
The redshirt.iso file is apparently actually bootable.
Doesn't work on a real machine. Cause unclear.
grub-mkrescue
seems to only be capable of doing ISO 9660, which obviously isn't great.
It turns out that this is bootable on a real machine. The question remaining to tackle is also: after the ISO is built on CI, how do we show it on the front page of the project?
It would be great if CI could build an image of a USB stick, so that one could directly write it and boot it on an actual machine.
Difficulty: I don't know any method that doesn't require using
losetup
, andlosetup
requires sudo access and doesn't work within docker.