[oe] [PATCH] e2fsprogs.inc - break shared libs into separate packages

Mike Westerhof mike at mwester.net
Mon Jan 3 01:03:20 UTC 2011


On 1/2/2011 11:41 AM, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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 <mike at mwester.net>
> 
> 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.

Thanks,
-Mike (mwester)


> regards,
> 
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> 
> iD8DBQFNILjgMkyGM64RGpERAl63AJ9d+oy10QAFluRD89/YB6g9ircOuwCfXljo
> L2xm9I2E6/rkDke1UFvCG9c=
> =Xptt
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
> 





More information about the Openembedded-devel mailing list