1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-25 10:51:33 -05:00

Fix snapper inside chroot.

This commit is contained in:
Tommaso Chiti 2021-02-01 12:45:21 +01:00
parent b343cf3970
commit b30fab7b2a

View File

@ -157,7 +157,11 @@ arch-chroot /mnt /bin/bash -e <<"EOF"
# Snapper configuration # Snapper configuration
umount /.snapshots umount /.snapshots
rm -r /.snapshots rm -r /.snapshots
snapper -c root create-config / snapper --no-dbus -c root create-config /
btrfs subvolume delete /.snapshots
mkdir /.snapshots
mount -a
chmod 750 /.snapshots
# Installing GRUB. # Installing GRUB.
echo "Installing GRUB on /boot." echo "Installing GRUB on /boot."