From f58a7e2923d4cc255451841c5c4388caabed54c7 Mon Sep 17 00:00:00 2001 From: vasilito Date: Tue, 28 Jul 2026 06:13:09 +0900 Subject: [PATCH] overlay-integrity: exclude recipes/wip/ (WIP scratch, never shipped) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit verify-overlay-integrity.sh scanned the entire recipes/ tree including recipes/wip/, so a broken WIP symlink for a graphics recipe (qt6-wayland-smoke) failed the overlay check even when building the text-only mini target that has nothing to do with graphics. recipes/wip/ is upstream work-in-progress scratch — the local-over-WIP policy stages shipped packages into local/recipes/ and links them into recipes//, never recipes/wip/ — so its symlink health must never clutter or block a build. Exclude it. Co-Authored-By: Claude Opus 4.8 (1M context) --- local/scripts/verify-overlay-integrity.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/local/scripts/verify-overlay-integrity.sh b/local/scripts/verify-overlay-integrity.sh index 5923c2a2fa..872dbbfeb7 100755 --- a/local/scripts/verify-overlay-integrity.sh +++ b/local/scripts/verify-overlay-integrity.sh @@ -101,7 +101,12 @@ while IFS= read -r link; do BROKEN_RECIPE_SYMLINKS=$((BROKEN_RECIPE_SYMLINKS + 1)) fi fi -done < <(find recipes -maxdepth 3 -type l 2>/dev/null | grep -v '/target$\|/stage\|/sysroot$\|/source$' | sort) +# NB: recipes/wip/ is EXCLUDED. It is upstream work-in-progress scratch and is +# never part of any shipped image — the local-over-WIP policy stages shipped +# packages into local/recipes/ and symlinks them into recipes//, never +# recipes/wip/. A broken symlink under recipes/wip/ (e.g. a graphics WIP recipe +# while building the text-only mini target) must not clutter or fail a build. +done < <(find recipes -maxdepth 3 -type l 2>/dev/null | grep -v '^recipes/wip/\|/target$\|/stage\|/sysroot$\|/source$' | sort) log " $RECIPE_SYMLINK_COUNT recipe symlinks checked, $BROKEN_RECIPE_SYMLINKS broken"