[poky] libsnmp or adding a simple ipk to my image
    Richard Purdie 
    richard.purdie at linuxfoundation.org
       
    Wed Dec 13 06:09:29 PST 2017
    
    
  
On Tue, 2017-12-12 at 07:25 +0100, Arno Steffens wrote:
> Want to include libnetsnmp to my filesystem. By find -name *snmp I
> found the net-snmp_5.7.3.bb is doing the job, so  I added that to my
> image by IMAGE_INSTALL.
> 
> Checking the image - it contains more than I need. In
> tmp/deploy/ipk/xxx/ I cound found the interesting ipk-packet, the
> libnetsnmp30_5.7.3-r0_cortexa9hf-neon.ipk.
> 
> So my first question:
> How can I just include this in my image? Adding  "libnetsnmp30" or
> "libnetsnmp" doesn't work. This rules probably work just for *.bb
> packages. But what to do to add a simple *.ipk file? 
You need to use the name of the package in the recipe, not the "debian"
name the debian renaming code came up with.
Looking at the recipe it does:
PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client ${PN}-
server-snmpd ${PN}-server-snmptrapd"
so net-snmp-libs should work in IMAGE_INSTALL.
> Even more advanced would be not to install all libs from that ipkg
> package. 
> How can I control that?
You'd need to split up the packaging into more granular packages.
Cheers,
Richard
    
    
More information about the poky
mailing list