Re: [OE-core] [meta-oe][PATCH v3] iproute2: split ip to individual package

Richard Purdie
2020-12-16T17:00:22Z

On Wed, 2020-12-16 at 16:45 +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 <okaya@kernel.org>
> ---
> .../iproute2/iproute2.inc | 47 ++++++++++++++++++-
> 1 file changed, 45 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
> index 403d264308c..c7a3d547dae 100644
> --- a/meta/recipes-connectivity/iproute2/iproute2.inc
> +++ b/meta/recipes-connectivity/iproute2/iproute2.inc
> @@ -46,32 +46,75 @@ do_install () {
> # The .so files in iproute2-tc are modules, not traditional libraries
> INSANE_SKIP_${PN}-tc = "dev-so"
>
> -PACKAGES =+ "\
> +IPROUTE2_PACKAGES =+ "\
> + ${PN}-bridge \
> ${PN}-devlink \
> ${PN}-genl \
> + ${PN}-ifcfg \
> ${PN}-ifstat \
> + ${PN}-ip \
> + ${PN}-lib \
> ${PN}-lnstat \
> ${PN}-nstat \
> + ${PN}-rdma \
> + ${PN}-routef \
> + ${PN}-routel \
> + ${PN}-rtmon \
> + ${PN}-rtpr \
> ${PN}-rtacct \
> ${PN}-ss \
> ${PN}-tc \
> ${PN}-tipc \
> "

I accept there is a case for splitting out ip, the patch now splits out
every binary though? That isn't what the commit message says...

Cheers,

Richard