mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 21:26:33 +00:00
ci(pi-gen): swap to GitHub ubuntu-24.04-arm runner + pi-gen-action v1.11.0
Blacksmith arm64 runner kernel 6.5 ships binfmt_misc built-in (not modular), so pi-gen-action@v1's modprobe step errors. GitHub's ubuntu-24.04-arm has modular binfmt_misc and is the configuration #179 confirms works.
This commit is contained in:
parent
e19dedfe17
commit
771b94d387
1 changed files with 7 additions and 2 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
|
@ -131,7 +131,12 @@ jobs:
|
||||||
image:
|
image:
|
||||||
if: ${{ inputs.build-image }}
|
if: ${{ inputs.build-image }}
|
||||||
needs: binary
|
needs: binary
|
||||||
runs-on: blacksmith-4vcpu-ubuntu-2404-arm
|
# GitHub's official native-arm64 runner. Blacksmith's arm64 kernel (6.5)
|
||||||
|
# doesn't ship binfmt_misc as a loadable module so pi-gen-action@v1's
|
||||||
|
# `modprobe binfmt_misc` errors out even though we don't need it on a
|
||||||
|
# native runner. ubuntu-24.04-arm has a kernel where it's modular and
|
||||||
|
# modprobe-able. Issue #179 confirms this is the intended path.
|
||||||
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
|
|
@ -172,7 +177,7 @@ jobs:
|
||||||
chmod +x deploy/pi-gen/stage-betterframe-client/01-install-kiosk/00-run-chroot.sh
|
chmod +x deploy/pi-gen/stage-betterframe-client/01-install-kiosk/00-run-chroot.sh
|
||||||
|
|
||||||
- name: Build Pi image (pi-gen)
|
- name: Build Pi image (pi-gen)
|
||||||
uses: usimd/pi-gen-action@v1
|
uses: usimd/pi-gen-action@v1.11.0
|
||||||
with:
|
with:
|
||||||
image-name: betterframe-client-${{ inputs.version }}
|
image-name: betterframe-client-${{ inputs.version }}
|
||||||
stage-list: stage0 stage1 stage2 ./deploy/pi-gen/stage-betterframe-client
|
stage-list: stage0 stage1 stage2 ./deploy/pi-gen/stage-betterframe-client
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue