Open carlosperate opened 10 months ago
This only happens with the pivirt "machine" type, so might be an issue with the qemu configuration.
However, this script actually runs every time the container is launched, which is not ideal, so as a workaround we can start the Pi OS image once more before shipping it, so that the script had the change to run and expand the img. This has the additional advantage that it the startup should be slightly faster.
With the Bullseye (legacy) 2023-10-10 image on https://github.com/carlosperate/docker-qemu-rpi-os, during boot: https://github.com/carlosperate/docker-qemu-rpi-os/commit/57a0dd0d177cd87be75894ed22b22c5335fa5f3c
And the error itself: