* libsnmp or adding a simple ipk to my image
@ 2017-12-12 6:25 Arno Steffens
2017-12-13 14:09 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Arno Steffens @ 2017-12-12 6:25 UTC (permalink / raw)
To: poky
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?
Even more advanced would be not to install all libs from that ipkg package.
How can I control that?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libsnmp or adding a simple ipk to my image
2017-12-12 6:25 libsnmp or adding a simple ipk to my image Arno Steffens
@ 2017-12-13 14:09 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2017-12-13 14:09 UTC (permalink / raw)
To: Arno Steffens, poky
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-13 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-12 6:25 libsnmp or adding a simple ipk to my image Arno Steffens
2017-12-13 14:09 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.