summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh')
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh b/raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh
index 092b7b9..73aa002 100644
--- a/raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh
+++ b/raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh
@@ -3,12 +3,6 @@ set -e
echo ">>> [snapshots-subvol] Running INSIDE target system"
-# Calamares' partition module ignores our btrfsSubvolumes config here and
-# always creates its own hardcoded set (/home /root /srv /var/cache
-# /var/log /var/tmp as separate subvolumes) -- there's no ".snapshots"
-# subvolume among them, which grub-btrfs/Snapper need. Create it by hand
-# as a proper top-level (subvolid=5) sibling of the other subvolumes,
-# so snapshots of "/" don't recursively include the snapshot store itself.
ROOT_DEV="$(findmnt -no SOURCE / | sed 's/\[.*\]//')"
ROOT_FS="$(findmnt -no FSTYPE /)"