From 71b58e1e4fb4f3060922fb162cea206cdb4589b2 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 13 Jul 2026 11:08:05 +0200 Subject: test-build: document installed_in_base deferral --- .extras/test-build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.extras') 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() { -- cgit v1.2.3