mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
ci(pi-gen): extra-host-dependencies installs qemu inside pi-gen container
Host-side tonistiigi/binfmt registration doesn't propagate into the pi-gen-action's nested Docker container's view of /proc/sys/fs/binfmt_misc. usimd/pi-gen-action's extra-host-dependencies input runs apt-get inside the pi-gen container before pi-gen launches — install qemu-user-static + binfmt-support there so the chroot's arm64 binaries can execute.
This commit is contained in:
parent
69e4bcb14a
commit
c60f2a8b9e
1 changed files with 6 additions and 3 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
|
@ -187,8 +187,7 @@ jobs:
|
|||
with:
|
||||
image-name: betterframe-client-${{ inputs.version }}
|
||||
stage-list: stage0 stage1 stage2 ./deploy/pi-gen/stage-betterframe-client
|
||||
# pi-gen default release is trixie (Debian 13). Leave unset so we
|
||||
# always track upstream pi-gen's current target.
|
||||
# pi-gen default release is trixie (Debian 13).
|
||||
enable-ssh: 1
|
||||
username: bfadmin
|
||||
password: betterframe
|
||||
|
|
@ -196,8 +195,12 @@ jobs:
|
|||
timezone: Etc/UTC
|
||||
hostname: betterframe-kiosk
|
||||
compression: xz
|
||||
# Surface pi-gen's stdout/stderr so failures show their real cause.
|
||||
verbose-output: true
|
||||
# Inject qemu-user-static + binfmt-support INTO the pi-gen build
|
||||
# container so its binfmt_misc check finds qemu-aarch64. The host
|
||||
# tonistiigi/binfmt registration alone doesn't propagate into
|
||||
# pi-gen's nested mount namespace.
|
||||
extra-host-dependencies: qemu-user-static binfmt-support
|
||||
|
||||
- name: List pi-gen output
|
||||
run: ls -la deploy/ || true
|
||||
|
|
|
|||
Loading…
Reference in a new issue