public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: williamh@gentoo.org
Subject: Re: [gentoo-dev] Installing systemd units with gx86 packages
Date: Mon, 25 Apr 2011 09:30:12 +0200	[thread overview]
Message-ID: <20110425093012.072722af@pomiocik.lan> (raw)
In-Reply-To: <20110424222929.GC24437@linux1>

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

On Sun, 24 Apr 2011 17:29:29 -0500
William Hubbs <williamh@gentoo.org> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2011-04-25  7:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-24  7:36 [gentoo-dev] Installing systemd units with gx86 packages Michał Górny
2011-04-24 21:35 ` William Hubbs
2011-04-24 21:55   ` Canek Peláez Valdés
2011-04-24 22:11     ` William Hubbs
2011-04-25  7:37       ` Michał Górny
2011-04-24 22:29 ` William Hubbs
2011-04-25  7:30   ` Michał Górny [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110425093012.072722af@pomiocik.lan \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=williamh@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox