diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-19 19:11:13 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-19 19:11:13 +0200 |
| commit | 30c6bc22a445105e7e7f37fb00ca054de1ecf3ad (patch) | |
| tree | 025a4df9a930434f528985d379afb1762fca10ec /README.md | |
| parent | 0679099f804000123f2999ce07948d324305d998 (diff) | |
| download | slackrepo_setup-30c6bc22a445105e7e7f37fb00ca054de1ecf3ad.tar.gz slackrepo_setup-30c6bc22a445105e7e7f37fb00ca054de1ecf3ad.zip | |
sbshadow: add --yes/--no, sbpull: pass flag, return sbshadow status
sbshadow --yes applies the plan without asking, --no shows it and
leaves the tree unchanged, so non-interactive callers (sb-builder runs
it as a detached job with no stdin) never hit the prompt. No flag keeps
the interactive prompt. SBO_REPO overrides the repo path for testing.
sbpull passes the flag on, and now returns sbshadow's exit status
instead of popd's, which made a failed sbshadow look successful.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -22,9 +22,13 @@ upstream tree), so the overlay version wins. carried in an overlay, and restores (unshadows) upstream packages no longer carried, from the pristine `current` branch. Asks once before changing anything, commits, then runs `mkhint -F` to regenerate phantom-dep hintfiles. -- `sbpull.bash`: `sbpull {personal|pentesting}` shell function. Pulls one - overlay subtree and runs `sbshadow`, to carry overlay changes without a full - rebuild. Source it from root's `~/.bashrc`. + `--yes` applies without asking, `--no` only shows the plan (for + non-interactive callers such as sb-builder). `SBO_REPO` overrides the repo + path. +- `sbpull.bash`: `sbpull {personal|pentesting} [--yes|--no]` shell function. + Pulls one overlay subtree and runs `sbshadow` (passing the flag on), to + carry overlay changes without a full rebuild. Source it from root's + `~/.bashrc`. ## Install |
