From 0b6baa57ba230fd501010a8e27478e998d065dd2 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Thu, 17 Sep 2026 19:37:41 +0000 Subject: [PATCH] ci: switch sstate cache from EFS to fsx OpenZFS The shared OpenEmbedded cache this layer reuses lives under the QLI project storage. meta-qcom moved that storage from AWS EFS to FSx OpenZFS in commit 0df38008d83f ("ci: switch sstate cache from EFS to fsxOpenZFS") to cut cost, remounting the same tree at /efsx. meta-ai was never updated and still points CACHE_DIR at the old /efs mount, so its builds keep the deprecated EFS filesystem alive and no longer share downloads or sstate with meta-qcom, losing the cache hits the shared tree exists to provide. Point CACHE_DIR at /efsx/qli/meta-qcom and update the workflow README to describe the same paths. Assisted-by: Claude Code:claude-opus-5[1m] Signed-off-by: Ricardo Salveti --- .github/workflows/Readme.md | 2 +- .github/workflows/build-openembedded.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Readme.md b/.github/workflows/Readme.md index ba294cf..b701206 100644 --- a/.github/workflows/Readme.md +++ b/.github/workflows/Readme.md @@ -4,7 +4,7 @@ The repository runs policy checks and standalone OpenEmbedded builds. ## Build flow -`pr.yml` and `push.yml` call `build-openembedded.yml`. Metadata setup and layer checks use GitHub-hosted runners. Compilation uses the `[self-hosted, qcom-u2404, amd64]` project runner pool and reuses `/efs/qli/meta-qcom/downloads` and `/efs/qli/meta-qcom/sstate-cache`. Each compilation job has an isolated temporary build directory; only the OpenEmbedded downloads and sstate caches are shared. Pull requests from forks skip the OpenEmbedded build because untrusted fork code must not execute on credential-bearing self-hosted runners or write to shared caches; a maintainer must reproduce the change on a repository branch. +`pr.yml` and `push.yml` call `build-openembedded.yml`. Metadata setup and layer checks use GitHub-hosted runners. Compilation uses the `[self-hosted, qcom-u2404, amd64]` project runner pool and reuses `/efsx/qli/meta-qcom/downloads` and `/efsx/qli/meta-qcom/sstate-cache`. Each compilation job has an isolated temporary build directory; only the OpenEmbedded downloads and sstate caches are shared. Pull requests from forks skip the OpenEmbedded build because untrusted fork code must not execute on credential-bearing self-hosted runners or write to shared caches; a maintainer must reproduce the change on a repository branch. The standalone matrix builds every recipe in this layer for `qemuarm`, `qemuarm64` and `qemux86-64` with `DISTRO = "nodistro"`. diff --git a/.github/workflows/build-openembedded.yml b/.github/workflows/build-openembedded.yml index 16f9103..251bf22 100644 --- a/.github/workflows/build-openembedded.yml +++ b/.github/workflows/build-openembedded.yml @@ -11,7 +11,7 @@ permissions: contents: read env: - CACHE_DIR: /efs/qli/meta-qcom + CACHE_DIR: /efsx/qli/meta-qcom KAS_CLONE_DEPTH: 1 jobs: