[oe] RFC: More granular libraries packaging

Marcin Juszkiewicz openembedded at hrw.one.pl
Fri Oct 27 16:01:51 UTC 2006


One of our strong points is granular packaging. We have extra packages for 
locales, documentation, development stuff etc. But we can improve it a bit 
more.

Many packages has multiple libraries in package. Not everytime it is 
useful - for example libusb had dependency on libstdc++ just because it 
had libusbpp in same package as libusb.

My proposition is - let split each library to separate package. This will 
enlarge feeds (so ipkg will get hurt more ;( but in some situations can 
give us smaller rootfs.

Probably best solution to get this done will be some extra code in 
package_ipk.bbclass.

Example of package to 'fix' is obexftp:

NOTE: Multiple libraries (libbfb.so.0, libcobexbfb.so.0, libcobexpe.so.0, 
libobexftp.so.0) found and LEAD_SONAME not defined
Packaged contents of obexftp 
into /home/hrw/devel/build/3541-feed/tmp/deploy/ipk/obexftp_0.10.3-r1_arm.ipk


-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

   Fear leads to anger, anger leads to hate, hate... leads to suffering.
   		-- Yoda






More information about the Openembedded-devel mailing list