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 | 2c60d749bcd3c689bd1380354db6eaca28bd282e (patch) | |
| tree | 8f83901f87c855d79be520a1f131a09b2eeb32ec | |
| parent | f742d41837756743629a4a7bf2f1932e919f77a8 (diff) | |
| download | archsetup-2c60d749bcd3c689bd1380354db6eaca28bd282e.tar.gz archsetup-2c60d749bcd3c689bd1380354db6eaca28bd282e.zip | |
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 |
