diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-14 11:50:06 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-14 11:50:06 +0200 |
| commit | d839dd447e0365564a8d3c02039e82e5ee16029d (patch) | |
| tree | ae9176ab67f37a3a166866056466a81e90e77f14 /.extras/test-build | |
| parent | 5e9377246b5d932d7d74f86b7c33e556b4cfdcdc (diff) | |
| download | sbo-slackbuilds-d839dd447e0365564a8d3c02039e82e5ee16029d.tar.gz sbo-slackbuilds-d839dd447e0365564a8d3c02039e82e5ee16029d.zip | |
test-build: make drop: satisfy a dep at resolution time
Previously drop: only filtered the resolved build order, so an external dep
with no dir in the tree (a 15.0-only SBo package like rust-opt) was flagged
UNMET before the order filter ran, and drop: could never rescue it. Move the
OV_DROP check into _resolve_visit: a dropped token is now skipped entirely
(no recurse, no UNMET, no order entry), satisfying 15.0-only deps that the
-current base already provides. Still inert on 15.0. Add self-check coverage
and clarify overrides.example.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to '.extras/test-build')
| -rwxr-xr-x | .extras/test-build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.extras/test-build b/.extras/test-build index 8057683..90d45ac 100755 --- a/.extras/test-build +++ b/.extras/test-build @@ -231,6 +231,12 @@ _resolve_visit() { continue fi tok="$(apply_rename "$tok")" + # drop: satisfied by the -current base (e.g. a 15.0-only dep like rust-opt + # whose payload ships in current's full-install image). Skip it entirely: + # no recurse, no UNMET, no order entry. Inert on 15.0 (overrides are). + if [[ "${OV_DROP[$tok]:-}" == "1" ]]; then + continue + fi if [[ "${OV_FETCH[$tok]:-}" == "1" ]]; then FETCH_DEPS["$tok"]=1 continue |
