summaryrefslogtreecommitdiff
path: root/assets/2026-01-19-remove-zfs-scripts-request.md
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-23 08:23:20 -0600
committerCraig Jennings <c@cjennings.net>2026-01-23 08:23:20 -0600
commitbe066310d83a076c97ac013f6a3d7ea7d7c3bf06 (patch)
treef8274d4114cf6a68d0acfa87438a7d667d0aaa26 /assets/2026-01-19-remove-zfs-scripts-request.md
parentaa7258550359b9fb9e92bbb2eb47dde508b5662d (diff)
chore: add stignore and reference docs
- .stignore for syncthing - Reference notes for ZFS scripts removal and console display issues
Diffstat (limited to 'assets/2026-01-19-remove-zfs-scripts-request.md')
-rw-r--r--assets/2026-01-19-remove-zfs-scripts-request.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/assets/2026-01-19-remove-zfs-scripts-request.md b/assets/2026-01-19-remove-zfs-scripts-request.md
new file mode 100644
index 0000000..f67aa47
--- /dev/null
+++ b/assets/2026-01-19-remove-zfs-scripts-request.md
@@ -0,0 +1,29 @@
+# Task: Remove zfssnapshot and zfsrollback from archsetup
+
+## Summary
+Remove the `zfssnapshot` and `zfsrollback` scripts from archsetup's dotfiles. These scripts are now provided by the archzfs ISO and installed to `/usr/local/bin/` during `install-archzfs`.
+
+## Files to Remove
+- `dotfiles/system/.local/bin/zfssnapshot`
+- `dotfiles/system/.local/bin/zfsrollback`
+
+## Reason for Change
+These scripts need to be available immediately after a fresh install from the archzfs ISO, before archsetup runs. Key use cases:
+
+1. **Rescue scenarios**: Rolling back from live USB when the installed system won't boot
+2. **Genesis rollback**: If archsetup fails mid-run, user can rollback to genesis and retry
+3. **Script availability**: The scripts themselves must survive a genesis rollback (they're now part of genesis snapshot)
+
+By including them in the ISO and `install-archzfs`, they're guaranteed to be present from first boot, with fzf also installed as a dependency.
+
+## Changes Made in archzfs
+- Added `custom/zfssnapshot` and `custom/zfsrollback`
+- `build.sh` copies them to `/usr/local/bin/` on the ISO
+- `install-archzfs` installs `fzf` to target system (required by zfsrollback)
+- fzf was already in ISO package list
+
+## Note: Keep fzf in archsetup
+Archsetup should continue to install `fzf` in its package list. Archsetup can run on vanilla Arch installs with ext4 or btrfs (not just ZFS from archzfs ISO), where `install-archzfs` would not have run and fzf wouldn't be present.
+
+## Date
+2026-01-19