1
0
Fork 0
mirror of synced 2024-11-22 18:15:37 -05:00

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

View file

@ -15,16 +15,16 @@ post_install() {
systemctl enable grub-btrfs.path systemctl enable grub-btrfs.path
systemctl enable haveged systemctl enable haveged
systemctl enable memavaild systemctl enable memavaild
systemctl enable nohang-desktop
systemctl enable preload systemctl enable preload
systemctl enable prelockd systemctl enable prelockd
systemctl enable systemd-oomd }
}
post_upgrade() { post_upgrade() {
msg "Disable conflicting services..." msg "Disable conflicting services..."
systemctl disable --now ananicy systemctl disable --now ananicy
systemctl disable --now irqbalance systemctl disable --now irqbalance
systemctl disable --now nohang-desktop systemctl disable --now systemd-oomd
systemctl disable --now systemd-swap systemctl disable --now systemd-swap
systemctl disable --now uresourced systemctl disable --now uresourced
@ -37,9 +37,9 @@ post_upgrade() {
systemctl enable grub-btrfs.path systemctl enable grub-btrfs.path
systemctl enable haveged systemctl enable haveged
systemctl enable memavaild systemctl enable memavaild
systemctl enable nohang-desktop
systemctl enable preload systemctl enable preload
systemctl enable prelockd systemctl enable prelockd
systemctl enable systemd-oomd
msg "Updating font cache..." msg "Updating font cache..."
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
@ -54,6 +54,6 @@ post_upgrade() {
echo "" echo ""
msg "Done! 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 "" echo ""
} }