[oe] [meta-oe][PATCH 2/3] freediameter: add dependency on virtual/kernel and use MACHINE_ARCH

Martin Jansa martin.jansa at gmail.com
Tue Mar 13 12:26:55 UTC 2018


On Wed, Feb 28, 2018 at 07:36:26PM +0100, Martin Jansa wrote:
> ping

ping2

this still isn't in origin/master-next nor contrib/stagging/master-next.

> On Fri, Jan 19, 2018 at 4:19 PM, Martin Jansa <martin.jansa at gmail.com>
> wrote:
> 
> > * TUNE_PKGARCH cannot RRECOMMEND MACHINE specific kernel-modules
> > * without virtual/kernel dependency (which isn't really build time
> >   dependency) the QA check won't traverse the dependencies correctly
> >   and shows following errors:
> >   ERROR: QA Issue: freediameter rdepends on kernel-module-ipip, but it
> > isn't a build dependency? [build-deps]
> >   ERROR: QA Issue: freediameter rdepends on kernel-module-sctp, but it
> > isn't a build dependency? [build-deps]
> >   ERROR: QA Issue: freediameter rdepends on kernel-module-tipc, but it
> > isn't a build dependency? [build-deps]
> >   ERROR: QA Issue: freediameter rdepends on kernel-module-udp-tunnel, but
> > it isn't a build dependency? [build-deps]
> > * also change kernel-module dependencies from RDEPENDS to RRECOMMENDS
> >   because the kernel config might include these directly and then
> >   freediameter shouldn't fail to install
> >
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > ---
> >  .../recipes-protocols/freediameter/freediameter_1.2.1.bb          | 8
> > +++++---
> >  1 file changed, 5 insertions(+), 3 deletions(-)
> >
> > diff --git a/meta-networking/recipes-protocols/freediameter/freedia
> > meter_1.2.1.bb b/meta-networking/recipes-protocols/freediameter/freedia
> > meter_1.2.1.bb
> > index 92cd24c3ae..c556eb48e8 100644
> > --- a/meta-networking/recipes-protocols/freediameter/freediameter_1.2.1.bb
> > +++ b/meta-networking/recipes-protocols/freediameter/freediameter_1.2.1.bb
> > @@ -7,7 +7,9 @@ Accounting needs."
> >
> >  HOMEPAGE = "http://www.freediameter.net"
> >
> > -DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools"
> > +DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools
> > virtual/kernel"
> > +
> > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> >
> >  fd_pkgname = "freeDiameter"
> >
> > @@ -121,8 +123,8 @@ FILES_${PN} += "${libdir}/${fd_pkgname}/*"
> >
> >  RDEPENDS_${PN}  = "glib-2.0 gnutls libidn"
> >  RDEPENDS_${PN} += "openssl openssl-conf openssl-engines"
> > -RDEPENDS_${PN} += "kernel-module-tipc kernel-module-sctp"
> > -RDEPENDS_${PN} += "kernel-module-udp-tunnel kernel-module-ipip"
> > +RRECOMMENDS_${PN} += "kernel-module-tipc kernel-module-sctp"
> > +RRECOMMENDS_${PN} += "kernel-module-udp-tunnel kernel-module-ipip"
> >  RDEPENDS_${PN}-ptest = "cmake"
> >
> >  INITSCRIPT_PACKAGES = "${PN}"
> > --
> > 2.15.1
> >
> >

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20180313/06ffcf19/attachment-0002.sig>


More information about the Openembedded-devel mailing list