It was <2014-12-02 wto 18:01>, when Kaskinen, Tanu wrote: > On Tue, 2014-12-02 at 16:52 +0100, Łukasz Stelmach wrote: >> Hello. >> >> There is a change[1] in gerrit I am reviewing. Cao Xin proposes to disable >> several services and mountpoints. The pach simply adds a handful of `rm' >> commands in the %install section. This is how it's been done on Tizen >> and I don't like this way anymore because there seems to be a better one >> described in systemd.preset[2]. To make it work we need to: >> >> a) have a distribution-wide preset file describing our policy, >> >> b) tell developers to use %systemd_post macro to run `systemctl preset'. >> >> My question is: where to keep this 50-tizen.preset file? Is it systemd >> package or maybe setup? > > My suggestion would be to be consistent with other distributions, unless > there's a good reason not to. For one data point, Fedora seems to put > the preset files in the systemd package.
Indeed: http://pkgs.fedoraproject.org/cgit/systemd.git/tree/ http://pkgs.fedoraproject.org/cgit/systemd.git/tree/85-display-manager.preset http://pkgs.fedoraproject.org/cgit/systemd.git/tree/90-default.preset http://pkgs.fedoraproject.org/cgit/systemd.git/tree/99-default-disable.preset However, I think we should use a lower priority (50, 75) to make some room for overrides. -- Łukasz Stelmach Samsung R&D Institute Poland Samsung Electronics
pgp2cTk58Hr62.pgp
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
