build.sh: Warn user of unsupported build environment architecture and fail early if binfmt_misc isn't working as expected

This commit is contained in:
Serge Schneider
2024-05-13 15:54:28 +01:00
parent e95e00f879
commit d87f764fcb
4 changed files with 13 additions and 3 deletions

View File

@@ -7,8 +7,8 @@ RUN apt-get -y update && \
apt-get -y install --no-install-recommends \
git vim parted \
quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \
libarchive-tools libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\
binfmt-support ca-certificates fdisk gpg pigz\
libarchive-tools libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc \
binfmt-support ca-certificates fdisk gpg pigz arch-test \
&& rm -rf /var/lib/apt/lists/*
COPY . /pi-gen/