Skip to contentSkip to conversation

Add tipc tool for tipcutils

PATCH In review Yi Zhao 3 participants 8 messages Aug 17, 2017 – Aug 21, 2017

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

cover Add tipc tool for tipcutils

Yi Zhao (2):
iproute2: add bbappend for supporting tipc tool
tipcutils: add runtime dependency for iproute2-tipc

 meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend | 2 ++
 meta-oe/recipes-extended/tipcutils/tipcutils_git.bb       | 2 ++
 2 files changed, 4 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/2 iproute2: add bbappend for supporting tipc tool

The tipcutils 2.2 removed the tipc-config tool and recommended to use the new configuration tool named "tipc" in iproute2 package for configuring the tipc, which utilizes the new tipc netlink kernel API.

We supported tipc in iproute2 with PACKAGECONFIG in oe-core commit 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd

Add iproute2 bbappend to enable tipc for tipcutils.

---
 meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend new file +2 -0
new file mode 100644
index 0000000..0869f7f
@@ -0,0 +1,2 @@
+# For tipcutils
+PACKAGECONFIG_append = " tipc"
Signature · 1 line
2.7.4
#2 lore raw

Re: [meta-oe][PATCH 1/2] iproute2: add bbappend for supporting tipc tool

Quoted 21 lines · Yi Zhao

The tipcutils 2.2 removed the tipc-config tool and recommended to use the new configuration tool named "tipc" in iproute2 package for configuring the tipc, which utilizes the new tipc netlink kernel API.

We supported tipc in iproute2 with PACKAGECONFIG in oe-core commit 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd

Add iproute2 bbappend to enable tipc for tipcutils.

---
 meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend new file +0 -0
new file mode 100644
index 0000000..0869f7f

meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend line 2

Quoted 2 lines
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend new file +2 -0
@@ -0,0 +1,2 @@
+# For tipcutils
+PACKAGECONFIG_append = " tipc"

can we do it in recipe proper itself ?

Quoted 8 lines

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#3 lore raw

Re: [meta-oe][PATCH 1/2] iproute2: add bbappend for supporting tipc tool

Quoted 16 lines · Khem Raj
Quoted 15 lines · Yi Zhao

The tipcutils 2.2 removed the tipc-config tool and recommended to use the new configuration tool named "tipc" in iproute2 package for configuring the tipc, which utilizes the new tipc netlink kernel API.

We supported tipc in iproute2 with PACKAGECONFIG in oe-core commit 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd

Add iproute2 bbappend to enable tipc for tipcutils.

---
  meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend | 2 ++
  1 file changed, 2 insertions(+)

create mode 100644 meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend

Quoted 9 lines

meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend line 2

Quoted 8 lines
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend new file +2 -0
new file mode 100644
index 0000000..0869f7f
@@ -0,0 +1,2 @@
+# For tipcutils
+PACKAGECONFIG_append = " tipc"

can we do it in recipe proper itself ?

Hi Khem,

The tipc in iproute2 needs libmnl as dependency. Currently libmnl is in meta-networking and there are some packages in meta-networking need it as dependency, so we can not enable tipc build in oe-core directly. If we want to enable it in iproute2 recipe directly, we should move libmnl to oe-core. I don't know if it is worth to do that because few people need tipc. How do you think about it ?

Thanks,
Yi

Quoted 9 lines
Quoted 9 lines

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

Re: [meta-oe][PATCH 1/2] iproute2: add bbappend for supporting tipc tool

Quoted 30 lines · Yi Zhao
Quoted 17 lines · Khem Raj
Quoted 16 lines · Yi Zhao

The tipcutils 2.2 removed the tipc-config tool and recommended to use the new configuration tool named "tipc" in iproute2 package for configuring the tipc, which utilizes the new tipc netlink kernel API.

We supported tipc in iproute2 with PACKAGECONFIG in oe-core commit 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd

Add iproute2 bbappend to enable tipc for tipcutils.

---
  meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend | 2 ++
  1 file changed, 2 insertions(+)

create mode 100644
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend

Quoted 9 lines

meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend line 2

Quoted 8 lines
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend new file +2 -0
new file mode 100644
index 0000000..0869f7f
@@ -0,0 +1,2 @@
+# For tipcutils
+PACKAGECONFIG_append = " tipc"

can we do it in recipe proper itself ?

Quoted 4 lines

Hi Khem,

The tipc in iproute2 needs libmnl as dependency. Currently libmnl is in meta-networking and there are some packages in meta-networking need it as dependency, so we can not enable tipc build in oe-core directly. If we want to enable it in iproute2 recipe directly, we should move libmnl to oe-core. I don't know if it is worth to do that because few people need tipc. How do you think about it ?

We should move libmnl and the iproute2 change to oe-core.

By default, TIPC is enabled as a module in YP kernel:

$ grep TIPC tmp-glibc/work/qemuppc-oe-linux/linux-yocto/4.10.17+gitAUTOINC+e92bd55409_6648a34e00-r0/linux-qemuppc-standard-build/.config
CONFIG_TIPC=m
CONFIG_TIPC_MEDIA_UDP=y

so it should be configurable with just the oe-core layer.

Once libmnl is in oe-core, we could move nftables, "the successor to iptables" to oe-core say at the start of the 2.5 dev cycle.

../Randy

Quoted 14 lines

Thanks,
Yi

Quoted 9 lines
Quoted 9 lines
Signature · 8 lines
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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

Re: [meta-oe][PATCH 1/2] iproute2: add bbappend for supporting tipc tool

Quoted 47 lines · Randy MacLeod
Quoted 36 lines · Yi Zhao
Quoted 19 lines · Khem Raj
Quoted 17 lines · Yi Zhao

The tipcutils 2.2 removed the tipc-config tool and recommended to use the new configuration tool named "tipc" in iproute2 package for configuring the tipc, which utilizes the new tipc netlink kernel API.

We supported tipc in iproute2 with PACKAGECONFIG in oe-core commit 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd

Add iproute2 bbappend to enable tipc for tipcutils.

---
  meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend | 2 ++
  1 file changed, 2 insertions(+)

create mode 100644
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend

Quoted 11 lines

meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend line 2

Quoted 9 lines
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend new file +2 -0
new file mode 100644
index 0000000..0869f7f
@@ -0,0 +1,2 @@
+# For tipcutils
+PACKAGECONFIG_append = " tipc"

can we do it in recipe proper itself ?

Quoted 8 lines

Hi Khem,

The tipc in iproute2 needs libmnl as dependency. Currently libmnl is in meta-networking and there are some packages in meta-networking need it as dependency, so we can not enable tipc build in oe-core directly. If we want to enable it in iproute2 recipe directly, we should move libmnl to oe-core. I don't know if it is worth to do that because few people need tipc. How do you think about it ?

Quoted 2 lines

We should move libmnl and the iproute2 change to oe-core. \

thats reasonable I think

Quoted 37 lines

By default, TIPC is enabled as a module in YP kernel:

$ grep TIPC
tmp-glibc/work/qemuppc-oe-linux/linux-yocto/4.10.17+gitAUTOINC+e92bd55409_6648a34e00-r0/linux-qemuppc-standard-build/.config
CONFIG_TIPC=m
CONFIG_TIPC_MEDIA_UDP=y

so it should be configurable with just the oe-core layer.

Once libmnl is in oe-core, we could move nftables, "the successor to iptables" to oe-core say at the start of the 2.5 dev cycle.

../Randy

Quoted 15 lines

Thanks,
Yi

Quoted 9 lines
Quoted 9 lines

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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

author
#6 lore raw

Re: [meta-oe][PATCH 1/2] iproute2: add bbappend for supporting tipc tool

In reply to Randy MacLeod
Quoted 44 lines · Randy MacLeod
Quoted 30 lines · Yi Zhao
Quoted 17 lines · Khem Raj
Quoted 16 lines · Yi Zhao

The tipcutils 2.2 removed the tipc-config tool and recommended to use the new configuration tool named "tipc" in iproute2 package for configuring the tipc, which utilizes the new tipc netlink kernel API.

We supported tipc in iproute2 with PACKAGECONFIG in oe-core commit 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd

Add iproute2 bbappend to enable tipc for tipcutils.

---
  meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend | 2 ++
  1 file changed, 2 insertions(+)

create mode 100644
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend

Quoted 9 lines

meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend line 2

Quoted 8 lines
meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend new file +2 -0
new file mode 100644
index 0000000..0869f7f
@@ -0,0 +1,2 @@
+# For tipcutils
+PACKAGECONFIG_append = " tipc"

can we do it in recipe proper itself ?

Quoted 4 lines

Hi Khem,

The tipc in iproute2 needs libmnl as dependency. Currently libmnl is in meta-networking and there are some packages in meta-networking need it as dependency, so we can not enable tipc build in oe-core directly. If we want to enable it in iproute2 recipe directly, we should move libmnl to oe-core. I don't know if it is worth to do that because few people need tipc. How do you think about it ?

We should move libmnl and the iproute2 change to oe-core.

By default, TIPC is enabled as a module in YP kernel:

$ grep TIPC tmp-glibc/work/qemuppc-oe-linux/linux-yocto/4.10.17+gitAUTOINC+e92bd55409_6648a34e00-r0/linux-qemuppc-standard-build/.config
CONFIG_TIPC=m
CONFIG_TIPC_MEDIA_UDP=y
Quoted 5 lines

so it should be configurable with just the oe-core layer.

Once libmnl is in oe-core, we could move nftables, "the successor to iptables" to oe-core say at the start of the 2.5 dev cycle.

Thanks, Randy.
I will do it.

Yi

Quoted 19 lines

../Randy

Quoted 14 lines

Thanks,
Yi

Quoted 9 lines
Quoted 9 lines
Signature · 8 lines
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
author
#7 lore raw

PATCH 2/2 tipcutils: add runtime dependency for iproute2-tipc

In reply to Yi Zhao

The tipcutils 2.2 removed the tipc-config tool and recommended to use the new configuration tool named "tipc" in iproute2 package for configuring the tipc, which utilizes the new tipc netlink kernel API.

Add iproute2-tipc as a runtime dependency.

---
 meta-oe/recipes-extended/tipcutils/tipcutils_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/tipcutils/tipcutils_git.bb +2 -0
index b7157b4..720aa3c 100644
@@ -17,6 +17,8 @@ inherit autotools pkgconfig
 
 DEPENDS += "libdaemon"
 
+RDEPENDS_${PN} = "iproute2-tipc"
+
 S = "${WORKDIR}/git"
 
 do_configure_prepend() {
Signature · 1 line
2.7.4