From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MFBal-0007qj-0N for garchives@archives.gentoo.org; Fri, 12 Jun 2009 18:35:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B3FEE04BC; Fri, 12 Jun 2009 18:35:05 +0000 (UTC) Received: from petteriraty.eu (petteriraty.eu [78.47.27.97]) by pigeon.gentoo.org (Postfix) with ESMTP id 3BE70E04BC for ; Fri, 12 Jun 2009 18:35:05 +0000 (UTC) Received: from [82.130.46.217] (qiz1.kyla.fi [82.130.46.217]) by petteriraty.eu (Postfix) with ESMTPSA id 7AF687B90055 for ; Fri, 12 Jun 2009 18:35:04 +0000 (UTC) Message-ID: <4A329FC2.5020108@gentoo.org> Date: Fri, 12 Jun 2009 21:34:42 +0300 From: =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; fi; rv:1.8.1.21) Gecko/20090324 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) References: <20090607195950.GI22927@orbis-terrarum.net> In-Reply-To: <20090607195950.GI22927@orbis-terrarum.net> X-Enigmail-Version: 0.95.7 OpenPGP: url=http://users.tkk.fi/~praty/public.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFFA3195098E05E7559EB7857" X-Archives-Salt: d3635302-01ef-4712-ad18-ac98f6555684 X-Archives-Hash: a81ac37eb07f3eec0fce32cd12839978 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFFA3195098E05E7559EB7857 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Robin H. Johnson wrote: > Hi folks, >=20 > This is a summary of how to detect Baselayout-2/OpenRC from within > init.d scripts. We raised it in January, without any actual final > agreement: > http://archives.gentoo.org/gentoo-dev/msg_5959bcfaf3ba566c551823039643f= 5c5.xml >=20 How about we don't do runtime detection at all? Let's just use unifdef in the init scripts with an openrc use flag. When openrc goes stable we can just drop the conditional code and always pull in openrc. Maybe makes sense to eclass this stuff so that the code only needs to be switched in one place. We can also put some QA checks there. Regards, Petteri --------------enigFFA3195098E05E7559EB7857 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoyn8QACgkQcxLzpIGCsLQ0ugCfbzVZvTTdsG/sVH16PP+zrJNV X5MAmgP0+X3O2QA3jkJ0+i5Z8ZURzNap =WJ/+ -----END PGP SIGNATURE----- --------------enigFFA3195098E05E7559EB7857--