diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-16 11:50:04 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-16 11:50:04 +0200 |
| commit | 3610ad0b72d3bee64c54cb475516a6a20442c07f (patch) | |
| tree | a8c9d2e6b603283e779b89c769f91b353abce123 /CLAUDE.md | |
| parent | 766a11b18578e754eebc9d2ca69b198ef01129e1 (diff) | |
| download | sbo-dockerbuild-3610ad0b72d3bee64c54cb475516a6a20442c07f.tar.gz sbo-dockerbuild-3610ad0b72d3bee64c54cb475516a6a20442c07f.zip | |
test-build: add --local-deps for in-repo deps
Resolve deps that are siblings in the target's own repo (not on SBo or
official Slackware) by prepending the target's repo root to the dep search
roots when --local-deps is passed. The SBo tree is still searched after.
Covers packages like huggingface_cli whose deps live in the same
maintenance repo. Adds two logic self-checks and updates CLAUDE.md,
README, and the test-build-slackbuild skill.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -64,6 +64,10 @@ Deps are resolved from the SBo tree in the config (`SBO_TREE_CURRENT` / per run from the image's `/var/log/packages`), or 3. an override (see below). +With `--local-deps`, the target's own repo root (its grandparent dir) is +prepended to the search roots, so a dep that is a sibling in the same repo (not +on SBo) resolves and builds from there before the SBo tree is consulted. + Deps build first and are cached; the target always rebuilds (that is the test). ### current-vs-stable overrides @@ -101,7 +105,9 @@ built deps). Only **deps** are cached, never the target. `--stable` (15.0), `--dry-run`, `--yes`, `--no-cache`, `--keep` (copy the built target `.txz` to `<data>/kept/` so it can be installed on the host, e.g. to -regenerate post-install artifacts), `--no-color`. +regenerate post-install artifacts), `--local-deps` (also resolve deps from the +target's own repo, its grandparent dir, prepended before the SBo tree, for +packages whose deps are siblings in the same repo and not on SBo), `--no-color`. ## image-builder |
