Skip to content
Snippets Groups Projects
Verified Commit ea3963bf authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

main/postmarketos-base: enable zram-init service on upgrade

The post-upgrade script in pmos-base isn't symlinked to the post-install
script, so zram-init wasn't being enabled on systems that upgraded to
the pmos-base version that intro'd this feature. I think this should
have been enabled by default on upgraded systems. There's a deviceinfo
toggle for it, so users who won't want to use this can set that var to
disable it, in that case having the service enabled is basically a
no-op.
parent cd763b2c
No related branches found
No related tags found
No related merge requests found
Pipeline #207733 passed
pkgname=postmarketos-base
pkgver=29
pkgrel=0
pkgrel=1
pkgdesc="Meta package for minimal postmarketOS base"
url="https://postmarketos.org"
arch="noarch"
......
......@@ -23,4 +23,6 @@ ln -sf "$localtime" /etc/localtime
rm -rf /etc/zoneinfo
[ "$restart" = "yes" ] && service -qq openrc-settingsd restart
rc-update -q add zram-init default
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment