Does not build Raspberry Pi 3/4 images
Currently running Debian Bullseye (amd64), it seems that there might be something wrong with vmdb2
and/or util-linux
- correct me if I am wrong - since I cannot build image when the target is a Raspberry Pi 3 or 4 but everything seems to works fine for 0w
and 2
recipes.
The error seems to happen when writing the image (step "mkimg" of raspi_master.yaml
); see the following logs for more information. When the error occurs, the image is written to the disk but the partition RASPIFIRM
is empty, contrary to RASPIBOOT
.
Last lines printed to standard output when the error happens (here, for a Raspberry Pi 4 image):
Exec: ['chroot', '/tmp/tmpn_im_ptm', 'eatmydata', 'apt-get', '-y', '--no-show-progress', 'install', 'ssh', 'parted', 'dosfstools', 'wireless-tools', 'wpasupplicant', 'raspi-firmware/buster-backports', 'linux-image-arm64/buster-backports', 'firmware-brcm80211/buster-backports']
ERROR: Program failed: 100
ERROR: RuncmdError('Program failed: 100')
Something went wrong, cleaning up!
Exec: ['kpartx', '-dsv', 'raspi_4.img']
Command exited with non-zero status 1
492.03user 33.24system 8:37.08elapsed 101%CPU (0avgtext+0avgdata 108064maxresident)k
4478inputs+3307016outputs (22major+9941358minor)pagefaults 0swaps
make: *** [Makefile:61: raspi_4.img] Error 1
I would happily report a bug if I had more concrete details about what is actually happening.
Relevant packages versions of the building machine:
- util-linux 2.36.1-6
- vmdb2 0.22-1
- dosfstools 4.1-2
- binfmt-support 2.2.1-1
- qemu-user-static 1:5.2+dfsg-3
- time 1.9-0.1
- kpartx 0.8.5-1
- linux-image-5.10.0-3-amd64 5.10.12-1
Feel free to ask any detail I would have forgot to mention here.