[systemd-devel] /usr vs /etc for default distro units enablement

Lennart Poettering lennart at poettering.net
Mon Dec 1 16:25:09 PST 2014


On Tue, 18.11.14 14:40, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> Well the "upstream blessed" RPM way is to call "%systemd_post" macro in
> your %post script, but (personally) I don't like this as it makes the
> implementation very much embedded into the RPMs so changing the upstream
> macro needs a full package rebuild.
> 
> In Mageia we do something similar but we shell out to a script
> instead.

The idea was to make "systemctl preset" generic enough so that it is
all we need to change should we want to change the effect of the RPM
macros one day, if you follow what I mean...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list