From 4a458a1a3d1f6b55d7b669599efa5dd4d158ef93 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 25 Jan 2026 11:53:25 -0600 Subject: 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. --- archsetup | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'archsetup') diff --git a/archsetup b/archsetup index c5acb36..afaf00c 100755 --- a/archsetup +++ b/archsetup @@ -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 } -- cgit v1.2.3