]> code.ossystems Code Review - openembedded-core.git/commit
iproute2: Default to tipc enabled, and include libmnl dependency
authorMark Hatle <mark.hatle@windriver.com>
Wed, 6 Sep 2017 19:26:54 +0000 (14:26 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Sep 2017 22:51:37 +0000 (23:51 +0100)
commitb40f42e69de47af4f627432e284038c645efbaec
tree5af93771c70689217f0086a1cbabd5e0f580834b
parent9b248a17d60b70cb715f15c0401dc5ddc38eee98
iproute2: Default to tipc enabled, and include libmnl dependency

iproute2 has the ability to include a tipc tool.  When enabled this requires
the libmnl package (formerly supplied by meta-openembedded).  So both are
needed at the same time.

The change itself is needed because of the tipc-utils package (in
meta-openembedded) which RDEPENDS on iproute2-tipc.  Without this package
the yocto-compat-layer script indicates there is no way for me to have
meta-openembedded pass the checker.  This is because meta-openembedded is
not allowed to just enable 'tipc' on it's own.  (A layer may not make distro
wide changes without a user saying to do it.)  The checker script invokes
bitbake -S none world, which will fail on dependency resolution due to there
being no iproute2-tipc package.  The tipc-utils package does not have a way
to check the PACKAGECONFIG of the iproute2 package so disable itself if the
dependency can not be met.  So the default system behavior needs to be:

iproute2 w/ tipc enabled
tipc-utils RDEPENDS on iproute2-tipc

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/iproute2/iproute2.inc
meta/recipes-extended/libmnl/libmnl_1.0.4.bb [new file with mode: 0644]