]> code.ossystems Code Review - openembedded-core.git/commitdiff
hello-mod_0.1.bb: add RPROVIDES
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 5 Apr 2018 23:11:27 +0000 (16:11 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Apr 2018 10:41:01 +0000 (11:41 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb

index b140b0ac8ef41e0856d586e5929309582271496c..3d33446500c4b35e90a4562d2cd8964ed9ba1cf1 100644 (file)
@@ -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"