Skip to contentSkip to conversation

hello-mod_0.1.bb: add RPROVIDES

PATCH New Juro Bystricky 1 participant 1 message Apr 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hello-mod_0.1.bb: add RPROVIDES

Although the package will get an automatic prefix "kernel-module", so the package kernel-module-hello does exist, populating rootfs can generate an error:
- nothing provides kernel-module-hello ...

This is quite unfortunate, as this recipe is used as a sample.

Adding RPROVIDES_${PN} += "kernel-module-hello" to the recipe fixes the problem.

[YOCTO #12641]

---
 meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb +2 -0
index b140b0a..3d33446 100644
@@ -13,3 +13,5 @@ S = "${WORKDIR}"
 
 # The inherit of module.bbclass will automatically name module packages with
 # "kernel-module-" prefix as required by the oe-core build environment.
+
+RPROVIDES_${PN} += "kernel-module-hello"
Signature · 1 line
2.7.4