aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 8484a50..d6ee7e9 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -49,7 +49,12 @@ Top-to-bottom layout:
(`ST_STATUS ST_REASON ST_TIME ST_README`), `ACTIVE_MOUNTS[]`.
3. **usage / init_color / parse_args / validate_env** - fail-fast startup
checks with copy-pasteable hints.
-4. **update_base** - patches local base from mirror's `patches/packages/` when
+4. **init_base** - `--init-base` mode only. First-time populate: `installpkg
+ --root` the full `slackware64/*/*.t?z` set into `SLACKWARE_BASE`, seed the
+ `last-base-update` marker, exit. Runs its own checks (root, NFS reachable,
+ not under mirror) since the base does not exist yet; refuses to clobber a
+ populated base. Wired in `main` before `validate_env`, exits 0.
+ **update_base** - patches local base from mirror's `patches/packages/` when
ChangeLog head differs (reused from reference script).
5. **SBo tree lookup** - `find_slackbuild_dir`, `category_of`, `pkg_key`,
`read_requires`.
@@ -93,7 +98,8 @@ not a status.
list `failed` (collides with `depends_on_failed`'s `local -n failed`), and
`ok`/`bad` must `return 0` (`((x++))` returns nonzero when x was 0).
- **NOT runnable-tested** (needs the VM): overlay mounts, chroot build flow,
- base patching, installpkg. Logic mirrors the reference script.
+ base patching, `--init-base` populate, installpkg. Logic mirrors the
+ reference script / the prior manual populate hint.
## Known shortcuts (ponytail: comments in source)