Skip to contentSkip to conversation

iproute2: enable previously unselected utilities

PATCH Superseded Maxin B. John 4 participants 6 messages Nov 30, 2015 – Feb 10, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iproute2: enable previously unselected utilities

Include below listed utilities that are not yet enabled/packaged in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

---
 meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
index 29f9062..abaff3f 100644
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
 
 do_configure_append () {
     sh configure ${STAGING_INCDIR}
Signature · 1 line
2.4.0
#1 lore raw

Hi,

Just a couple of questions.

Quoted 9 lines · Maxin B. John

Include below listed utilities that are not yet enabled/packaged in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

When you enable those, how much does the size ofthe iproute2 package increase?

Perhaps those extra tools should be placed in e.g. ${PN}-tools, or some package like that?

Cheers,
Anders

Quoted 18 lines
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
index 29f9062..abaff3f 100644
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
 
 do_configure_append () {
     sh configure ${STAGING_INCDIR}
Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
#2 lore raw
Quoted 15 lines · Anders Darander

Hi,

Just a couple of questions.

Quoted 9 lines · Maxin B. John

Include below listed utilities that are not yet enabled/packaged in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

Quoted 5 lines

When you enable those, how much does the size ofthe iproute2 package increase?

Perhaps those extra tools should be placed in e.g. ${PN}-tools, or some package like that?

I think its better to package each one in separate package of its own.

Quoted 30 lines

Cheers,
Anders

Quoted 10 lines
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +0 -0
index 29f9062..abaff3f 100644

meta/recipes-connectivity/iproute2/iproute2.inc DEPENDS = "flex-native bison-native iptables elfutils" · line 19

Quoted 8 lines
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
 
 do_configure_append () {
     sh configure ${STAGING_INCDIR}

--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw

Hi,

Quoted 16 lines · Khem Raj
Quoted 15 lines · Anders Darander

Hi,

Just a couple of questions.

Quoted 9 lines · Maxin B. John

Include below listed utilities that are not yet enabled/packaged in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

Quoted 3 lines
Quoted 3 lines

When you enable those, how much does the size ofthe iproute2 package increase?

The increase in size is around 268K.

$ du -sh iproute2
476K    iproute2
$ du -sh iproute2-new
744K    iproute2-new
Quoted 5 lines
Quoted 2 lines

Perhaps those extra tools should be placed in e.g. ${PN}-tools, or some package like that?

I think its better to package each one in separate package of its own.

Ok. I will split these binaries in separate packages.

Quoted 20 lines
Quoted 20 lines

Cheers,
Anders

Quoted 15 lines
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
index 29f9062..abaff3f 100644
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
Quoted 6 lines
Quoted 6 lines

meta/recipes-connectivity/iproute2/iproute2.inc DEPENDS = "flex-native bison-native iptables elfutils" · line 19

Quoted 2 lines
meta/recipes-connectivity/iproute2/iproute2.inc +0 -0
 do_configure_append () {
     sh configure ${STAGING_INCDIR}

--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
--

Best Regards,
Maxin

#4 lore raw
Quoted 31 lines · Maxin B. John

Hi,

Quoted 16 lines · Khem Raj
Quoted 15 lines · Anders Darander

Hi,

Just a couple of questions.

Quoted 9 lines · Maxin B. John

Include below listed utilities that are not yet enabled/packaged in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

Quoted 3 lines
Quoted 3 lines

When you enable those, how much does the size ofthe iproute2 package increase?

The increase in size is around 268K.

$ du -sh iproute2
476K    iproute2
$ du -sh iproute2-new
744K    iproute2-new
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Perhaps those extra tools should be placed in e.g. ${PN}-tools, or some package like that?

I think its better to package each one in separate package of its own.

Ok. I will split these binaries in separate packages.

Maxin,

Will you be able to do this as part of the 4.4 upgrade that you have just sent or would you like Robert to find someone to do it when he is back from holiday next week?

../Randy

Quoted 31 lines
Quoted 21 lines
Quoted 21 lines

Cheers,
Anders

Quoted 15 lines
---
  meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
index 29f9062..abaff3f 100644
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
  inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
Quoted 6 lines
Quoted 6 lines

meta/recipes-connectivity/iproute2/iproute2.inc DEPENDS = "flex-native bison-native iptables elfutils" · line 19

Quoted 2 lines
meta/recipes-connectivity/iproute2/iproute2.inc +0 -0
  do_configure_append () {
      sh configure ${STAGING_INCDIR}

--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
--

Best Regards,
Maxin

Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
#5 lore raw

Hi Randy,

Quoted 38 lines · Randy MacLeod
Quoted 37 lines · Maxin B. John

Hi,

Quoted 16 lines · Khem Raj
Quoted 15 lines · Anders Darander

Hi,

Just a couple of questions.

Quoted 9 lines · Maxin B. John

Include below listed utilities that are not yet enabled/packaged in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

Quoted 3 lines
Quoted 3 lines

When you enable those, how much does the size ofthe iproute2 package increase?

The increase in size is around 268K.

$ du -sh iproute2
476K    iproute2
$ du -sh iproute2-new
744K    iproute2-new
Quoted 5 lines
Quoted 2 lines

Perhaps those extra tools should be placed in e.g. ${PN}-tools, or some package like that?

I think its better to package each one in separate package of its own.

Quoted 8 lines
Quoted 1 line

Ok. I will split these binaries in separate packages.

Maxin,

Will you be able to do this as part of the 4.4 upgrade that you have just sent or would you like Robert to find someone to do it when he is back from holiday next week?

Ah, I forgot about that change (thinking that it is already there).

Will send a v2 with those changes.

Quoted 1 line

../Randy

Best Regards,
Maxin

Quoted 36 lines
Quoted 30 lines
Quoted 20 lines
Quoted 20 lines

Cheers,
Anders

Quoted 15 lines
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
index 29f9062..abaff3f 100644
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
Quoted 6 lines
Quoted 6 lines

meta/recipes-connectivity/iproute2/iproute2.inc DEPENDS = "flex-native bison-native iptables elfutils" · line 19

Quoted 2 lines
meta/recipes-connectivity/iproute2/iproute2.inc +0 -0
 do_configure_append () {
     sh configure ${STAGING_INCDIR}

--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
--

Best Regards,
Maxin

Signature · 3 lines
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada,
K2K 2W5