johang / sd-card-images

Scripts to build bootable SD card images with Debian for various single-board computers
https://sd-card-images.johang.se
GNU General Public License v3.0
151 stars 33 forks source link

Chroot error when building debian #21

Closed wouter-heerwegh closed 1 year ago

wouter-heerwegh commented 1 year ago

When I run the command stated in the README file to build debian, I get the following error

chroot: failed to run command '/bin/sh': exec format error

Anyone who has an idea on how to fix/debug this?

johang commented 1 year ago

You need to install qemu-user-static on the host.