aboutsummaryrefslogtreecommitdiffstats
path: root/.extras/test-build
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-13 11:08:05 +0200
committerDanilo M. <danix@danix.xyz>2026-07-13 11:08:05 +0200
commit71b58e1e4fb4f3060922fb162cea206cdb4589b2 (patch)
tree7b1d92fa06d6bff6215e173b91eafa91ff5f9b05 /.extras/test-build
parent11153a8775c08ef4559cb31664615fa9c4e158a2 (diff)
downloadsbo-slackbuilds-71b58e1e4fb4f3060922fb162cea206cdb4589b2.tar.gz
sbo-slackbuilds-71b58e1e4fb4f3060922fb162cea206cdb4589b2.zip
test-build: document installed_in_base deferral
Diffstat (limited to '.extras/test-build')
-rwxr-xr-x.extras/test-build10
1 files changed, 7 insertions, 3 deletions
diff --git a/.extras/test-build b/.extras/test-build
index 018030e..d830d69 100755
--- a/.extras/test-build
+++ b/.extras/test-build
@@ -182,9 +182,13 @@ declare -A HAS_README=()
declare -A _vstate=()
declare -A FETCH_DEPS=() # prog -> 1: resolve via sbopkg in-container
-# Is a prog already present in the container base? Overridden at build time to
-# consult the image; in resolution we treat "in base" as a callback so the pure
-# topo logic stays testable. Default: not in base (self-check has no base db).
+# Is a prog already present in the container base? Kept as a callback so the
+# pure topo logic stays testable. Default: not in base.
+# ponytail: stub returns false, so a dep that the full-install image already
+# provides currently reads as UNMET and needs a `drop:` override. Real fix
+# belongs with the image-builder work: query the image's package db (e.g.
+# `docker run --rm $ACTIVE_IMAGE ls /var/log/packages | grep`) once per run
+# and consult it here. Deferred until the image exists (Task 10 / image-builder).
installed_in_base() { return 1; }
_resolve_visit() {