Closed benfrancis closed 1 year ago
Does it work if you don't use the qcow2 mechanism? You'd probably need to disable the later stages to build everything within disk space given by github. The qcow2 mechanism is going to be removed at some point.
Weirdly when I re-ran the job the build completed successfully so it must have been something weird with GitHub (I have new errors to fix now). Sorry for the noise.
The qcow2 mechanism is going to be removed at some point.
That's interesting to know, is there somewhere I can read more about that?
When running build-docker.sh in CI (inside a GitHub hosted runner), I get the following error:
mount: /pi-gen/work/Raspbian/tmpimage/boot: failed to setup loop device for /pi-gen/work/Raspbian/export-image/2022-11-30-Raspbian.img.
This appears to be triggered by this line https://github.com/RPi-Distro/pi-gen/blob/buster/scripts/qcow2_handling#L233
This works when running locally in Ubuntu, but not in GitHub's ubuntu-latest VM.
Do you have any suggestions what might be different about the VM which is causing this to fail? (e.g. a missing kernel module).
More complete output: