summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh
diff options
context:
space:
mode:
authorNippy <nippy@Nippy-Mac-mini.local>2026-10-09 10:49:26 +0200
committerNippy <nippy@Nippy-Mac-mini.local>2026-10-09 10:49:26 +0200
commit91978706279a19a3ac96393630876f3e50cbc518 (patch)
tree1355da60486a305aefeea4e55543bbf1008715b3 /raveos-calamares-theme/etc/calamares/modules/calamares-create-snapshots-subvol.sh
parent17a23f8a0cec5439d674d90c593497e4ceed2c68 (diff)
downloadRaveOS-PKGBUILD-91978706279a19a3ac96393630876f3e50cbc518.tar.gz
RaveOS-PKGBUILD-91978706279a19a3ac96393630876f3e50cbc518.zip
fix
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 /)"