-
- Downloads
DRAFT: systemd/postmarketos-base-systemd: add trigger to run preset-all
This adds a trigger to postmarketos-base-systemd that runs `systemctl preset-all` any time unit files are changed on the system. This means we can drop the systemd macro for pkg pre-install/de-install scripts, and avoid making abuild complicated for handling systemd stuff. The downside with this approach is that users who want to permanently disable can no longer do `systemctl disable <unit>`, and instead have to do `systemctl mask <unit>`. Given how much this improves other stuff, especially wrt upstreaming the abuild split func stuff, I think this is a worthwhile trade-off. We can always improve on this more in the future, since this trigger thing would be easy to roll back/replace. fixes #3494 Also see: #3476 Also see: #2804
parent
f1c92050
No related branches found
No related tags found
Showing
- extra-repos/systemd/postmarketos-base-systemd/APKBUILD 3 additions, 2 deletionsextra-repos/systemd/postmarketos-base-systemd/APKBUILD
- extra-repos/systemd/postmarketos-base-systemd/postmarketos-base-systemd.trigger 14 additions, 0 deletions...stmarketos-base-systemd/postmarketos-base-systemd.trigger
Please register or sign in to comment