From d608609ec47f62c12a8f0099f0d02ed832890158 Mon Sep 17 00:00:00 2001 From: Mitchell R Date: Wed, 20 May 2026 01:05:49 +0200 Subject: [PATCH] ci(pi-gen): drop extra-host-dependencies (caused sudo apt exit 100) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Log diagnosis on run 26130391965: ##[error]The process '/usr/bin/sudo' failed with exit code 100 Failure was inside the action's 'Installing build dependencies on host' step. extra-host-dependencies: qemu-user-static binfmt-support broke apt — possibly conflicting locks or the action's input handling. tonistiigi/binfmt --install arm64 already registered qemu-aarch64 with 'flags: POCF' (F = kernel-resident static binary). That's enough; no need for the inside-container qemu packages. --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6deafd3..fe50450 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -200,9 +200,10 @@ jobs: timezone: Etc/UTC hostname: betterframe-kiosk compression: xz - # Install qemu inside the pi-gen container so its chroot's arm64 - # binaries can exec. Documented input in v1.11. - extra-host-dependencies: qemu-user-static binfmt-support + # No extra-host-dependencies — tonistiigi/binfmt already + # registered qemu-aarch64 with the F flag (POCF), which loads + # the static QEMU into kernel memory so chroot exec works + # without needing the binary in the chroot. - name: List pi-gen output run: ls -la deploy/ || true