Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gentoo-functions is in the tree
Date: Wed, 12 Mar 2014 20:20:44
Message-Id: 5320C19A.8090107@gentoo.org
In Reply to: Re: [gentoo-dev] gentoo-functions is in the tree by William Hubbs
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 12/03/14 03:59 PM, William Hubbs wrote:
5 > All,
6 >
7 > thinking about this further,
8 >
9 > There may not be a need to remove /etc/init.d/functions.sh as long
10 > as it is understood that this is part of OpenRc, not the gentoo
11 > base.
12 >
13 > In other words, tools that must work when OpenRc is not present
14 > should source /lib/gentoo/functions.sh, NOT
15 > /etc/init.d/functions.sh.
16 >
17 > What are your thoughts on this approach?
18 >
19 > William
20 >
21
22
23 Well, this will leave the de-facto path intact for the majority of
24 users, which sounds great to me.
25
26 This path -wont- be available for users that don't have openrc
27 installed, but then, if all of the tools in portage are converted to
28 use /lib/gentoo/functions.sh this probably won't matter -- i dont
29 think many custom script writers using a systemd system will care
30 about output consistency with openrc anyhow.
31
32
33 -----BEGIN PGP SIGNATURE-----
34 Version: GnuPG v2.0.22 (GNU/Linux)
35
36 iF4EAREIAAYFAlMgwZoACgkQ2ugaI38ACPDcPgEAhSkoJma2GVfUeKpRoIcvHEQD
37 tivcbFdpHRF3xTtssUYA/RXQvFCkwyqiALsu1Jm94fGTsjT1aCHxYA96oefY++Fv
38 =Vu5p
39 -----END PGP SIGNATURE-----