Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assemble arm64 image in amd64 container
1. In order to support qemu-binfmt with non-native chroot, install qemu-user-static on host rather than in container On debian 12 host, after install qemu-user-static $ cat /proc/sys/fs/binfmt_misc/qemu-aarch64 enabled interpreter /usr/libexec/qemu-binfmt/aarch64-binfmt-P flags: POCF offset 0 magic 7f454c460201010000000000000000000200b700 mask ffffffffffffff00fffffffffffffffffeffffff On an amd64 host: $ debootstrap --arch=arm64 buster buster-chroot http://deb.debian.org/debian ... $ chroot buster-chroot /bin/bash See https://issues.guix.gnu.org/36117 for detail 2. Install arch-test in container unconditionally which is required by mmdebstrap root@0fb7bae77452:/usr/src/config/uefi-arm64-ostree# ruck build --config image.yaml ... 2024-04-01 12:30:49,605 Running mmdebstrap. I: automatically chosen mode: root E: install arch-test for foreign architecture support Signed-off-by: Hongxu Jia <[email protected]>
- Loading branch information