mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
af97072406
commit
8dfd3db1be
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue