* [PATCH] hello-mod_0.1.bb: add RPROVIDES
@ 2018-04-05 23:11 Juro Bystricky
0 siblings, 0 replies; only message in thread
From: Juro Bystricky @ 2018-04-05 23:11 UTC (permalink / raw)
To: openembedded-core; +Cc: jurobystricky
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]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb b/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
index b140b0a..3d33446 100644
--- a/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
+++ b/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
@@ -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"
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-05 23:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-05 23:11 [PATCH] hello-mod_0.1.bb: add RPROVIDES Juro Bystricky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox