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

replacing earlyoom with systemd-oomd

earlyoom is not needed since systemd already provides that
This commit is contained in:
ajeyrgowda 2021-07-20 09:07:52 -04:00 committed by tommytran732
parent f3da738195
commit f202bd0a6f
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -161,7 +161,7 @@ kernel_selector
# Pacstrap (setting up a base sytem onto the new root). # Pacstrap (setting up a base sytem onto the new root).
echo "Installing the base system (it may take a while)." echo "Installing the base system (it may take a while)."
pacstrap /mnt base ${kernel} ${kernel}-headers ${microcode} linux-firmware grub grub-btrfs snapper efibootmgr sudo networkmanager apparmor nano gdm gnome-control-center gnome-terminal gnome-software gnome-software-packagekit-plugin gnome-tweaks nautilus pipewire-pulse pipewire-alsa pipewire-jack flatpak firewalld adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts reflector snap-pac earlyoom pacstrap /mnt base ${kernel} ${kernel}-headers ${microcode} linux-firmware grub grub-btrfs snapper efibootmgr sudo networkmanager apparmor nano gdm gnome-control-center gnome-terminal gnome-software gnome-software-packagekit-plugin gnome-tweaks nautilus pipewire-pulse pipewire-alsa pipewire-jack flatpak firewalld adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts reflector snap-pac
# Generating /etc/fstab. # Generating /etc/fstab.
echo "Generating a new fstab." echo "Generating a new fstab."
@ -308,9 +308,9 @@ systemctl enable bluetooth --root=/mnt &>/dev/null
echo "Enabling Reflector." echo "Enabling Reflector."
systemctl enable reflector.timer --root=/mnt &>/dev/null systemctl enable reflector.timer --root=/mnt &>/dev/null
# Enabling EarlyOOM timer. # Enabling systemd-oom.
echo "Enabling Reflector." echo "Enabling systemd-oomd."
systemctl enable earlyoom --root=/mnt &>/dev/null systemctl enable systemd-oomd --root=/mnt &>/dev/null
# Enabling Snapper automatic snapshots. # Enabling Snapper automatic snapshots.
echo "Enabling Snapper and automatic snapshots entries." echo "Enabling Snapper and automatic snapshots entries."