Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Installing systemd units with gx86 packages
Date: Sun, 24 Apr 2011 07:37:05
Message-Id: 20110424093630.6794a5cd@pomiocik.lan
1 Fellow devs,
3 I've started working on bringing systemd to Gentoo [1] lately,
4 and I think it is important to raise the aspect of systemd unit
5 inclusion in various packages in gx86 ASAP.
7 The number of packages coming with systemd units is growing rapidly
8 recently, and that especially applies to freedesktop packages.
9 One side effect of that is that these packages treat systemd
10 as an automagic dependency, installing systemd units whenever its
11 pkgconfig file is installed. I already opened two bugs on that [2,3]
12 but there would be much more...
14 That's why I'm asking now: how should we proceed with installing
15 systemd units?
17 My current concept of keeping them separate from gx86 packages is good
18 for a short early testing period but is a maintenance PITA for a longer
19 term. And requires either adding '--without-systemdsystemunitdir'
20 to a growing number of packages or removing the systemd.pc file
21 (to avoid unit collisions).
23 Thus, I think the correct way of proceeding would be to update gx86
24 packages to install systemd unit files. As they are plain text files
25 with no side effects only, this shouldn't hurt at all even while
26 systemd is not in gx86.
28 Considering the above, I think it's also unnecessary to introduce
29 a dedicated USE flag for them. Much like with logrotate, those are only
30 small, text files which won't do anything (unlike openrc-related
31 files [4]) if systemd is not being used.
33 If someone is really opposed to having those files around, I suggest
34 using INSTALL_MASK. I even consider creating a small tool to simplify
35 setting common INSTALL_MASKs.
37 [1]
38 [2]
39 [3]
40 [4]
42 --
43 Best regards,
44 Michał Górny


File name MIME type
signature.asc application/pgp-signature