diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-29 07:28:10 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-29 07:28:10 -0600 |
| commit | 4dd6e3004f3a9829940fc858d6107b39296b282e (patch) | |
| tree | c0cb38271ab82ae1e1b64c1dae365d2d6d17df79 | |
| parent | 082a6731d52a4795e90bf5c29bf8ad0510d11188 (diff) | |
fix(archsetup): remount /.snapshots after snapper config
Archangel creates @snapshots subvolume and adds it to fstab.
Archsetup unmounts it for snapper create-config, but never
remounted it, causing snap-pac errors during package installs.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| -rwxr-xr-x | archsetup | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1289,6 +1289,12 @@ EOF display "task" "snapper root config already exists" fi + # Ensure /.snapshots is mounted (archangel may have created @snapshots in fstab) + if ! mountpoint -q /.snapshots 2>/dev/null; then + mkdir -p /.snapshots + mount /.snapshots >> "$logfile" 2>&1 || true + fi + action="configuring snapper retention policy" && display "task" "$action" # Conservative retention - local snapshots for quick rollback snapper -c root set-config "TIMELINE_CREATE=yes" >> "$logfile" 2>&1 |
