From 30c6bc22a445105e7e7f37fb00ca054de1ecf3ad Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 19 Oct 2026 19:11:13 +0200 Subject: 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 --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ab7a7b1..075c5b6 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3