diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-25 11:53:25 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-25 11:53:25 -0600 |
| commit | 4a458a1a3d1f6b55d7b669599efa5dd4d158ef93 (patch) | |
| tree | 89b5f8cb2db4961d1d54f7486d9aab460609c542 /archsetup | |
| parent | d63ba1f5e6919cd14c95f7209c38db0ff0632ce5 (diff) | |
fix(archsetup): remove btrfs snapshot tools and ZFS scripts
Remove timeshift-autosnap and grub-btrfs from btrfs installation path.
Delete lkg and lkg_rollback ZFS utility scripts from dotfiles.
Diffstat (limited to 'archsetup')
| -rwxr-xr-x | archsetup | 22 |
1 files changed, 2 insertions, 20 deletions
@@ -1176,27 +1176,9 @@ EOF display "task" "zfs-replicate timer created (enable after SSH key setup to TrueNAS)" elif is_btrfs_root; then - # Btrfs: Install timeshift-autosnap and grub-btrfs - display "task" "btrfs detected - installing snapshot tools" - aur_install timeshift-autosnap - pacman_install grub-btrfs - action="enabling snapshot boot menu updates" && display "task" "$action" - systemctl enable grub-btrfsd >> "$logfile" 2>&1 || error_warn "$action" "$?" - - action="starting snapshot boot menu updates" && display "task" "$action" - # starting and stopping service to generate the grub-btrfs config - systemctl start grub-btrfsd >> "$logfile" 2>&1 || error_warn "$action" "$?" - systemctl stop grub-btrfsd >> "$logfile" 2>&1 || error_warn "$action" "$?" - # edit grub-btrfs config for timeshift auto snapshot support - sed -i \ - 's|ExecStart=/usr/bin/grub-btrfsd --syslog /.snapshots|ExecStart=/usr/bin/grub-btrfsd --syslog --timeshift-auto|' \ - /etc/systemd/system/grub-btrfsd.service - - action="regenerating boot menu" && display "task" "$action" - grub-mkconfig -o /boot/grub/grub.cfg >> "$logfile" 2>&1 || error_warn "$action" "$?" + display "task" "btrfs filesystem detected" else - # ext4 or other filesystem - no automatic snapshots - display "task" "ext4/other filesystem detected - skipping snapshot tools" + display "task" "ext4/other filesystem detected" fi } |
