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 1MDpbn-0006wO-OA for garchives@archives.gentoo.org; Tue, 09 Jun 2009 00:54:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A25BE0425; Tue, 9 Jun 2009 00:54:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EDE34E0425 for ; Tue, 9 Jun 2009 00:54:16 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 45A5A651DB for ; Tue, 9 Jun 2009 00:54:16 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org 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) Date: Mon, 8 Jun 2009 20:54:14 -0400 User-Agent: KMail/1.11.3 (Linux/2.6.29.4; KDE/4.2.3; x86_64; ; ) References: <20090607195950.GI22927@orbis-terrarum.net> <200906081942.17902.vapier@gentoo.org> In-Reply-To: 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 Content-Type: multipart/signed; boundary="nextPart11225601.GoqQKCMTm3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906082054.15164.vapier@gentoo.org> X-Archives-Salt: 37752778-288e-4863-b17f-e1777eead8de X-Archives-Hash: da2795a9e6f027ed2324bf54352edc57 --nextPart11225601.GoqQKCMTm3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 08 June 2009 20:44:35 Robin H. Johnson wrote: > On Mon, Jun 08, 2009 at 07:42:17PM -0400, Mike Frysinger wrote: > > > One of the reasons to move stuff OUT of /lib are all the profiles whe= re > > > SYMLINK_LIB is disabled AND LIBDIR_${arch} !=3D "lib". On non-multilib > > > systems (so there is no lib23/64) or multilib systems where /lib is t= he > > > correct location, then any test against /lib/rc/version would be fine. > > > On anything else, it's not. > > > > > > Having it in a different location from upstream (OpenRC), means that > > > any other distributions using OpenRC's /libexec/rc/version location > > > would need to patch all their init.d scripts. > > > > the proposed /sbin/functions.sh check would makes this issue moot > > And why the hell didn't you come forward on bug 270646 with this? i'm busy, deal > I'm concerned that absence tests like that will not be as useful as > OpenRC spreads. Sure in Gentoo, baselayout1 provides /sbin/functions.sh, > but other users won't. i dont see how that is relevant. we only care about Gentoo here. plus, th= e=20 test is: if /sbin/functions.sh exists, it's baselayout-1 (which no one else= =20 outside of Gentoo will be using), otherwise it's openrc. once we toss=20 baselayout-1, there is no test as everything requires openrc. =2Dmike --nextPart11225601.GoqQKCMTm3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iQIcBAABAgAGBQJKLbK3AAoJEEFjO5/oN/WBbV4QAJ2dOBFdZfm1I2hUmVU8+X0Q iGO2JY3Sw9PsJ1APDbGr3VZbzfmVRUfCJ7JPA72+jKlHd1qdVmG+kLpCUCoGSWQX aep+2PRweHI2L3lQUl1hO/EwDzzHPi9z6HxH9NkH6o3BaB/WmrPlDhe8gIKUb8fY t4H3dw3MudB37hi0TT0InGwwfmzMXhy/1cLQrrBBhd5JzS6vDOVIiovmbx7tXOHx T7s57jnTqiRRccemuNiqBiuezS3Y3H5+742PVnm4/Bk4xB0AUdMWYCbJm4W26t1L nhMtm1fMJ6upbZqTJx/zbOoFWgMl4M2UMJBX4gq2zvzm6R5T6ud4YTMlX8LOQ3wi U7BmfvGpLOwf0gi7Osd8rUdjumCBbyvRwx3kT1UtCEzJFH8tmQAALVMaSJxvCF9D CSxTC8Ju+ufqc5w5rpbWxrBlaKiQa6kCiOqnm5Ywa87znuPoe1EjrICkacLekUgL Zz0f4/YBO4MfGu8Imh4MFbTnWoPii3CKdV4+Pvl+TnDXn2P9UeT/Wq7loNL31jF4 4MMFv3uo5Gj1ueaw43KrM2ygegMt/+m4zRLbrAbIaggMXr1o0HXXEHowPl0/B50A MSFEOY49QbyCs8tzV/jNTXvXWoCGbXQ6FwwUcRqW0Y9Nw3n0M3n8t+fdNgsSxz5d LiAhse0rYROpKSfpbadh =Qaka -----END PGP SIGNATURE----- --nextPart11225601.GoqQKCMTm3--