On Sun, 24 Apr 2011 17:29:29 -0500
William Hubbs <[email protected]> wrote:

> On Sun, Apr 24, 2011 at 09:36:30AM +0200, Michał Górny wrote:
> > The number of packages coming with systemd units is growing rapidly
> > recently, and that especially applies to freedesktop packages.
> > One side effect of that is that these packages treat systemd
> > as an automagic dependency, installing systemd units whenever its
> > pkgconfig file is installed. I already opened two bugs on that [2,3]
> > but there would be much more...
> > 
> > That's why I'm asking now: how should we proceed with installing
> > systemd units?
> > 
> > My current concept of keeping them separate from gx86 packages is
> > good for a short early testing period but is a maintenance PITA for
> > a longer term. And requires either adding
> > '--without-systemdsystemunitdir' to a growing number of packages or
> > removing the systemd.pc file (to avoid unit collisions).
> 
> Where is the --without-systemdsystemunitdir option coming from? Is
> that an option that is being provided by the packages or are you
> providing it some how?

It's provided by packages (and officially suggested by upstream). It
works like that:
1) if --without-systemdsystemunitdir is provided, systemd units are not
installed,
2) if --with-systemdsystemunitdir=... is provided, systemd units are
installed in specified directory,
3) if none of the above is provided, systemd checks for its pkgconfig
file and grabs the directory from there.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to