DRAFT: systemd/postmarketos-base-systemd: add trigger to run preset-all
- Mar 02, 2025
-
-
Clayton Craft authored
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
-
Clayton Craft authored
TODO: - The branch should include patches to drop calling the macro from all pkgs in pmaports - This patch should then drop the macro entirely
-
Clayton Craft authored
-
Clayton Craft authored
-
Clayton Craft authored
This is no longer needed
-