Update easy-arch.sh

This commit is contained in:
Tommaso Chiti 2021-05-11 20:02:25 +02:00 committed by GitHub
parent af97072406
commit 8dfd3db1be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,7 +214,6 @@ arch-chroot /mnt /bin/bash -e <<EOF
mkdir /.snapshots mkdir /.snapshots
mount -a mount -a
chmod 750 /.snapshots chmod 750 /.snapshots
systemctl enable grub-btrfs.path
# Installing GRUB. # Installing GRUB.
echo "Installing GRUB on /boot." echo "Installing GRUB on /boot."
@ -234,9 +233,10 @@ echo "Setting root password."
arch-chroot /mnt /bin/passwd arch-chroot /mnt /bin/passwd
# Enabling Snapper automatic snapshots. # Enabling Snapper automatic snapshots.
echo "Enabling Snapper." echo "Enabling Snapper and automatic snapshots entries."
systemctl enable snapper-timeline.timer --root=/mnt &>/dev/null systemctl enable snapper-timeline.timer --root=/mnt &>/dev/null
systemctl enable snapper-cleanup.timer --root=/mnt &>/dev/null systemctl enable snapper-cleanup.timer --root=/mnt &>/dev/null
systemctl enable grub-btrfs.path --root=/mnt &>/dev/null
echo "Done, you may now wish to reboot (further changes can be done by chrooting into /mnt)." echo "Done, you may now wish to reboot (further changes can be done by chrooting into /mnt)."
exit exit