From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lo.gmane.org ([80.91.229.12]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1PZfB3-000426-VQ for openembedded-devel@lists.openembedded.org; Mon, 03 Jan 2011 08:50:02 +0100 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PZfAh-000630-DR for openembedded-devel@lists.openembedded.org; Mon, 03 Jan 2011 08:49:39 +0100 Received: from ip545070eb.adsl-surfen.hetnet.nl ([84.80.112.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jan 2011 08:49:39 +0100 Received: from k.kooi by ip545070eb.adsl-surfen.hetnet.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jan 2011 08:49:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@lists.openembedded.org From: Koen Kooi Date: Mon, 03 Jan 2011 08:49:28 +0100 Message-ID: References: <4D20968B.4030004@mwester.net> <4D212058.5050001@mwester.net> Mime-Version: 1.0 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ip545070eb.adsl-surfen.hetnet.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.16) Gecko/20101127 Shredder/3.0.11pre In-Reply-To: <4D212058.5050001@mwester.net> X-Enigmail-Version: 1.0.1 Subject: Re: [PATCH] e2fsprogs.inc - break shared libs into separate packages X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2011 07:50:02 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03-01-11 02:03, Mike Westerhof wrote: > On 1/2/2011 11:41 AM, Koen Kooi wrote: > On 02-01-11 16:15, Mike Westerhof wrote: >>>> Break the two shared libraries (libe2p and libext2fs) out of the general e2fsprogs >>>> package and into their own packages. This avoids pulling in unwanted executables >>>> when a distro only desires the basic tools (such as e2fsck and/or mke2fs). >>>> >>>> Signed-off-by: Mike Westerhof > > Recipes with e2fsprogs in DEPENDS will need a PR bump as well, since > they might link to these libs as well. This will result in missing > libraries when using package feeds. > >> Ok, I can do that. But I'm not sure I understand why this is the case. >> OE detects the dependencies on the shared libs, and automagically adds >> the necessary dependencies to the opkg control file. Hence, if opkg on >> a device updates "e2fsprogs", it will see that the new version of >> "e2fsprogs" depends on the two new libraries, and it should pull those >> in from the feeds as well. > >> Perhaps a use-case that will fail will help me understand, and >> consequently, help me put together a more-correct patch. Say you have built gparted which (r)depends on e2fsprogs and links to libe2p. After this patch the "old" gparted in the feeds will only pull in e2fsprogs and not libe2p. If the e2fsprogs package rdepends on libe2p and friends this isn't a problem, but if it doesn't you'll get spurious libs. This has happened a number of times in the past and I'd like to avoid it happening in the future :) regards, Koen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFNIX+IMkyGM64RGpERAocMAKCNlUquJdgA123i1BMNnd3ujNX31QCdFEMq MJ2FPNrTiy83dOjrCb3BtZ0= =CJpP -----END PGP SIGNATURE-----