mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-22 09:31:34 -05:00
Fix snapper inside chroot.
This commit is contained in:
parent
b343cf3970
commit
b30fab7b2a
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user