From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Arno Steffens <star@gmx.li>, poky@yoctoproject.org
Subject: Re: libsnmp or adding a simple ipk to my image
Date: Wed, 13 Dec 2017 14:09:29 +0000 [thread overview]
Message-ID: <1513174169.16507.4.camel@linuxfoundation.org> (raw)
In-Reply-To: <trinity-e799e7c2-e406-4e33-bec6-cf17f0ed29a4-1513059940812@3c-app-gmx-bs42>
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
prev parent reply other threads:[~2017-12-13 14:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-12 6:25 libsnmp or adding a simple ipk to my image Arno Steffens
2017-12-13 14:09 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1513174169.16507.4.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=poky@yoctoproject.org \
--cc=star@gmx.li \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.