Skip to contentSkip to conversation

lksctp-tools: Add RRECOMENDS kernel-module-sctp for pkg lksctp-tools

PATCH Superseded Pau Espin Pedrol 2 participants 3 messages Dec 3, 2019 – Dec 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lksctp-tools: Add RRECOMENDS kernel-module-sctp for pkg lksctp-tools

Previously the kernel module was only pulled in for ${PN}-utils and ${PN}-ptest, but not for the library itself. As a result, appsexternal to this recipe using only the library fail because kernel module is not installed in the image.

---
 .../recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb         | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb +2 -0
index 70cea6c7b..25270016d 100644
@@ -12,6 +12,7 @@ SRCREV = "1b077af62d83d53c34b1bde8bad6648149d5edf9"
 
 PV .= "+git${SRCPV}"
 LK_REL = "1.0.18"
+PR = "r1"
 
 SRC_URI = " \
     git://github.com/sctp/lksctp-tools.git \
@@ -65,5 +66,6 @@ FILES_${PN}-dev += " \
 
 FILES_${PN}-utils = "${bindir}/*"
 
+RRECOMMENDS_${PN} += "kernel-module-sctp"
 RRECOMMENDS_${PN}-utils += "kernel-module-sctp"
 RRECOMMENDS_${PN}-ptest += "kernel-module-sctp"
Signature · 1 line
2.24.0
#1 lore raw
Quoted 14 lines · Pau Espin Pedrol

Previously the kernel module was only pulled in for ${PN}-utils and ${PN}-ptest, but not for the library itself. As a result, appsexternal to this recipe using only the library fail because kernel module is not installed in the image.

---
 .../recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb         | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb +0 -0
index 70cea6c7b..25270016d 100644

meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb SRCREV = "1b077af62d83d53c34b1bde8bad6648149d5edf9" · line 15

Quoted 4 lines
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb +1 -0
@@ -12,6 +12,7 @@ SRCREV = "1b077af62d83d53c34b1bde8bad6648149d5edf9"
 
 PV .= "+git${SRCPV}"
 LK_REL = "1.0.18"
+PR = "r1"

drop setting PR manually.

Quoted 18 lines
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb +1 -1
 SRC_URI = " \
     git://github.com/sctp/lksctp-tools.git \
@@ -65,5 +66,6 @@ FILES_${PN}-dev += " \
 
 FILES_${PN}-utils = "${bindir}/*"
 
+RRECOMMENDS_${PN} += "kernel-module-sctp"
 RRECOMMENDS_${PN}-utils += "kernel-module-sctp"
 RRECOMMENDS_${PN}-ptest += "kernel-module-sctp"
--

2.24.0

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

#2 lore raw

PATCH v2 1/1 lksctp-tools: Add RRECOMENDS kernel-module-sctp for pkg lksctp-tools

In reply to Pau Espin Pedrol

Previously the kernel module was only pulled in for ${PN}-utils and ${PN}-ptest, but not for the library itself. As a result, appsexternal to this recipe using only the library fail because kernel module is not installed in the image.

---
 .../recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb          | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb +1 -0
index 70cea6c7b..3cabc4ff8 100644
@@ -65,5 +65,6 @@ FILES_${PN}-dev += " \
 
 FILES_${PN}-utils = "${bindir}/*"
 
+RRECOMMENDS_${PN} += "kernel-module-sctp"
 RRECOMMENDS_${PN}-utils += "kernel-module-sctp"
 RRECOMMENDS_${PN}-ptest += "kernel-module-sctp"
Signature · 1 line
2.24.0