overlay-integrity: exclude recipes/wip/ (WIP scratch, never shipped)
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/<cat>/, 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) <noreply@anthropic.com>
This commit is contained in:
@@ -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/<cat>/, 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user