Skip to contentSkip to conversation

can-utils: RRECOMMENDS only ip from iproute2

PATCH In review Sean Nyekjaer 2 participants 2 messages Jan 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 can-utils: RRECOMMENDS only ip from iproute2

There is no need for RRECOMMENDS on the full iproute2 package.

---
 meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb +1 -1
index ca6cb7db58..51d6327b75 100644
@@ -46,5 +46,5 @@ ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence"
 
 # busybox ip fails to configure can interfaces, so we need iproute2 to do so.
 # See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver.
-RRECOMMENDS:${PN} += "iproute2"
+RRECOMMENDS:${PN} += "iproute2-ip"
 
Signature · 1 line
2.47.1
#1 lore raw

meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence" · line 49

Quoted 4 lines
  # busybox ip fails to configure can interfaces, so we need iproute2 to do so.
  # See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver.
meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb +1 -1
-RRECOMMENDS:${PN} += "iproute2"
+RRECOMMENDS:${PN} += "iproute2-ip"

I wonder if the comment is still true with oe-core master. One of the features[1] that made their way to Busybox 1.37 is CAN support for the "ip" command. (Unfortunately have no CAN hw at my hand to try , so I just keep wondering)

[1]: https://git.busybox.net/busybox/commit/?h=1_37_stable&id=f873c63085e3f3745040286999779077ccc03987