Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gentoo-functions is in the tree
Date: Wed, 12 Mar 2014 00:55:00
Message-Id: 20140312005446.GA4559@laptop.home
In Reply to: Re: [gentoo-dev] gentoo-functions is in the tree by Ian Stakenvicius
1 On Tue, Mar 11, 2014 at 03:10:16PM -0400, Ian Stakenvicius wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA256
4 >
5 > On 11/03/14 02:24 PM, Rich Freeman wrote:
6 > > On Tue, Mar 11, 2014 at 1:54 PM, Michał Górny <mgorny@g.o>
7 > > wrote:
8 > >> Dnia 2014-03-10, o godz. 18:30:29 William Hubbs
9 > >> <williamh@g.o> napisał(a):
10 > >>
11 > >>> Also, do not add hard dependencies to your packages on
12 > >>> gentoo-functions. The goal is to add gentoo-functions to
13 > >>> @system once it is stable.
14 > >>
15 > >> Why? I'm pretty sure we were working on having more explicit
16 > >> deps and less @system magic. This goes exactly the opposite way.
17 > >
18 > > ++
19 > >
20 >
21 > ++ , it makes no sense to not explicitly depend on this, when a
22 > package needs it. That's one of the reasons why things that use
23 > functions.sh now fail when openrc wassn't installed (openrc being the
24 > provider, until now).
25
26 We can go that route, then not bother adding it to @system at all. I was
27 just thinking that it will be needed everywhere, and since it is, it
28 would be a good candidate for @system.
29
30 > > Why not install it in the same place as openrc, create a virtual,
31 > > and have the two block? Or move the file from openrc to the new
32 > > package and have openrc depend on it (probably a cleaner solution
33 > > if you can handle the transition)?
34 >
35 > Eww, no. This is a bash script; the C internal functions that are in
36 > openrc already are way better for openrc to use. However, yes, both
37 > of these packages should be able to be installed at the same time.
38
39 Also, if we want to make systems completely clean for folks who aren't
40 using OpenRc, we shouldn't put anything in /etc/init.d besides init
41 scripts. That way, someone can add /etc/init.d and possibly /etc/conf.d
42 to INSTALL_MASK and have a clean setup without OpenRc.
43
44 William

Attachments

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