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:37:36 +0200	[thread overview]
Message-ID: <20110425093736.1c4bee70@pomiocik.lan> (raw)
In-Reply-To: <20110424221110.GB24437@linux1>

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

On Sun, 24 Apr 2011 17:11:10 -0500
William Hubbs <williamh@gentoo.org> wrote:

> On Sun, Apr 24, 2011 at 04:55:14PM -0500, Canek Peláez Valdés wrote:
> > > I think the better way to handle this will be to patch the build
> > > systems to not make this an automagic dependency and send those
> > > patches upstream.
> > >
> > > http://www.gentoo.org/proj/en/qa/automagic.xml
> > >
> > > I'm not a member of qa, but I agree with this position on
> > > automagic dependencies.
> > 
> > I'm speaking as a simple user, but I don't think the systemd unit
> > files qualify as automagic dependencies as described by the QA
> > document. In the first place, as Michael pointed out, we can disable
> > them with --without-systemdsystemunitdir, so there is no magic at
> > all.
> 
> Ah ok, I guess I missed that. The qa document says there is an
> automagic dependency if the builder can't turn this off. But, you are
> asying that the builder can turn it off with the --without option.
> 
> In that case, the dependency is not automagic.

I'm sorry I didn't explained that clearly. The fact is that it becomes
automagic if builder doesn't care about turning it on or off which was
the case for many recent fdo package bumps.

> > In the second place, the usual Gentoo way of enabling OpenRC
> > services is to *add* init.d scripts in the ebuild, and this is
> > completely orthogonal to a package installing a systemd unit file
> > (the presence of the later does not matter to OpenRC at all).
> 
> This is another topic I may bring up at some point, if you are using
> systemd, etc, and openrc is not even installed on your system, do you
> need /etc/init.d at all? Once openrc goes stable, I might bring that
> up for discussion.

I'd say INSTALL_MASK, again. Although it'd be hard to grab all udev
rules and other junk like that, it would work fine with most
of the scripts.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-04-25  7:38 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 [this message]
2011-04-24 22:29 ` William Hubbs
2011-04-25  7:30   ` Michał Górny

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=20110425093736.1c4bee70@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