Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: Installing systemd units with gx86 packages
Date: Sun, 24 Apr 2011 09:36:30 +0200
Fellow devs,

I've started working on bringing systemd to Gentoo [1] lately,
and I think it is important to raise the aspect of systemd unit
inclusion in various packages in gx86 ASAP.

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).

Thus, I think the correct way of proceeding would be to update gx86
packages to install systemd unit files. As they are plain text files
with no side effects only, this shouldn't hurt at all even while
systemd is not in gx86.

Considering the above, I think it's also unnecessary to introduce
a dedicated USE flag for them. Much like with logrotate, those are only
small, text files which won't do anything (unlike openrc-related
files [4]) if systemd is not being used.

If someone is really opposed to having those files around, I suggest
using INSTALL_MASK. I even consider creating a small tool to simplify
setting common INSTALL_MASKs.

[1] http://bugs.gentoo.org/show_bug.cgi?id=318365
[2] http://bugs.gentoo.org/show_bug.cgi?id=363961
[3] http://bugs.gentoo.org/show_bug.cgi?id=364065
[4] http://bugs.gentoo.org/show_bug.cgi?id=364159

-- 
Best regards,
Michał Górny
Attachment:
signature.asc (PGP signature)
Replies:
Re: Installing systemd units with gx86 packages
-- William Hubbs
Re: Installing systemd units with gx86 packages
-- William Hubbs
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RFC: make bugzie quick search omit content once again
Next by thread:
Re: Installing systemd units with gx86 packages
Previous by date:
Re: RFC: make bugzie quick search omit content once again
Next by date:
Re: [gentoo-commits] gentoo-x86 commit in profiles: use.desc


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.