revert to nohang and disable systemd-oomd

This commit is contained in:
Shrinivas Vishnu Kumbhar 2021-07-09 12:35:53 +05:30
parent 7d93dbd35e
commit 88daa38bdd
2 changed files with 7 additions and 6 deletions

View File

@ -3,7 +3,7 @@
pkgname=garuda-common-settings
pkgver=1.4.1
pkgrel=1
pkgrel=2
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL')
@ -17,6 +17,7 @@ depends=('btrfsmaintenance'
'garuda-icons'
'haveged'
'memavaild'
'nohang'
'preload'
'prelockd'
'profile-sync-daemon'

View File

@ -15,16 +15,16 @@ post_install() {
systemctl enable grub-btrfs.path
systemctl enable haveged
systemctl enable memavaild
systemctl enable nohang-desktop
systemctl enable preload
systemctl enable prelockd
systemctl enable systemd-oomd
}
}
post_upgrade() {
msg "Disable conflicting services..."
systemctl disable --now ananicy
systemctl disable --now irqbalance
systemctl disable --now nohang-desktop
systemctl disable --now systemd-oomd
systemctl disable --now systemd-swap
systemctl disable --now uresourced
@ -37,9 +37,9 @@ post_upgrade() {
systemctl enable grub-btrfs.path
systemctl enable haveged
systemctl enable memavaild
systemctl enable nohang-desktop
systemctl enable preload
systemctl enable prelockd
systemctl enable systemd-oomd
msg "Updating font cache..."
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
@ -54,6 +54,6 @@ post_upgrade() {
echo ""
msg "Done!
This update replaces systemd-swap with zram-generator, nohang with systemd-oomd & makes irqbalance, uresourced and ananicy optdepends. If please remove the resulting orphans after this update by using the Garuda Assistant option!"
This update replaces systemd-swap with zram-generator & makes irqbalance, uresourced and ananicy optdepends. If please remove the resulting orphans after this update by using the Garuda Assistant option!"
echo ""
}