You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(rootfs/qemu-static): prefer native COMPAT over existing qemu-arm registration
When CONFIG_COMPAT runs armhf binaries natively on aarch64 (≈10× faster
than qemu-user emulation), but qemu-arm is registered in kernel binfmt_misc,
the previous "trust existing setup" check returned early and the build
went through qemu anyway. Empirically: helios4 build 41 min via qemu vs
19 min native COMPAT on droid (RK3399).
Reorder the probes: COMPAT first; if it works and qemu-arm is enabled,
actively disable the binfmt_misc entry (echo 0 > /proc/.../qemu-arm).
The descriptor itself is left intact — only the active flag is toggled.
Gated by ARMBIAN_PREFER_NATIVE_ARMHF=no for explicit opt-out. Behaviour
preserved on hosts without COMPAT.
Assisted-by: Claude:claude-opus-4.7
0 commit comments