Hey,
I've been having issues with setting a 64 bits build with pi-gen on a Pi4 running a 32 bits Lite image.
The exact issue I'm seeing is a failure by debootstrap at the end :
[...]
2022-02-20 12:58:19 URL:http://deb.debian.org/debian/pool/main/z/zlib/zlib1g_1.2.11.dfsg-2_arm64.deb [87944/87944] -> "/home/rbazile/64bit-pi-gen/work/pi3-1-dev-64/stage0/rootfs//var/cache/apt/archives/partial/zlib1g_1%3a1.2.11.dfsg-2_arm64.deb" [1]
chroot: failed to run command '/bin/true': Exec format error
I've installed both qemu-user-static and binfmt-support, binfmt is loaded in the kernel and /proc/sys/fs/binfmt_misc is filled:
rbazile@rbazile-dev:~/64bit-pi-gen $ ls /proc/sys/fs/binfmt_misc/
python3.9 qemu-cris qemu-m68k qemu-mips64 qemu-mipsn32 qemu-ppc64 qemu-riscv64 qemu-sh4eb qemu-sparc64 qemu-xtensaeb
qemu-alpha qemu-hppa qemu-microblaze qemu-mips64el qemu-mipsn32el qemu-ppc64le qemu-s390x qemu-sparc qemu-x86_64 register
qemu-armeb qemu-i386 qemu-mips qemu-mipsel qemu-ppc qemu-riscv32 qemu-sh4 qemu-sparc32plus qemu-xtensa status
Is this expected behavior (not to be able to build the 64 bits version on the 32 bits OS) or am I missing something?
Thanks
Hey,
I've been having issues with setting a 64 bits build with pi-gen on a Pi4 running a 32 bits Lite image.
The exact issue I'm seeing is a failure by
debootstrapat the end :I've installed both
qemu-user-staticandbinfmt-support, binfmt is loaded in the kernel and/proc/sys/fs/binfmt_miscis filled:Is this expected behavior (not to be able to build the 64 bits version on the 32 bits OS) or am I missing something?
Thanks