On Wed, 2020-12-16 at 02:41 +0000, Sinan Kaya wrote: > Move the ip tool into its own package. Useful for size constrained > systems that only want the ip tool. > > Signed-off-by: Sinan Kaya <[email protected]> > --- > meta/recipes-connectivity/iproute2/iproute2.inc | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc > b/meta/recipes-connectivity/iproute2/iproute2.inc > index 403d264308c..f4d882d3ece 100644 > --- a/meta/recipes-connectivity/iproute2/iproute2.inc > +++ b/meta/recipes-connectivity/iproute2/iproute2.inc > @@ -46,10 +46,11 @@ do_install () { > # The .so files in iproute2-tc are modules, not traditional > libraries > INSANE_SKIP_${PN}-tc = "dev-so" > > -PACKAGES =+ "\ > +IPROUTE2_PACKAGES =+ "\ > ${PN}-devlink \ > ${PN}-genl \ > ${PN}-ifstat \ > + ${PN}-ip \ > ${PN}-lnstat \ > ${PN}-nstat \ > ${PN}-rtacct \ > @@ -58,12 +59,17 @@ PACKAGES =+ "\ > ${PN}-tipc \ > " > > +PACKAGES += "${IPROUTE2_PACKAGES}" > +PROVIDES += "${IPROUTE2_PACKAGES}"
This doesn't look correct. Why do we need to add all the individual package splits to PROVIDES? I'm going to guess this is because you want to do: DEPENDS = "iproute2-ip" somewhere? If so, that is not how DEPENDS is meant to work, even after this split you'd use: DEPENDS = "iproute2" If you want iproute2-ip specifically, you'd use the package namespace, e.g. RDEPENDS = "iproute2-ip". or is there some other reason for this? This is basically the issue with some of the other package splits too, its not using the build time verses runtime namespaces correctly. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#145764): https://lists.openembedded.org/g/openembedded-core/message/145764 Mute This Topic: https://lists.openembedded.org/mt/78992706/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
