[oe-commits] [openembedded-core] 06/08: hello-mod_0.1.bb: add RPROVIDES

git at git.openembedded.org git at git.openembedded.org
Fri Apr 6 10:00:57 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch sumo-next
in repository openembedded-core.

commit 322b04e971c1855726fa3fa99f201d4395af65c6
Author: Juro Bystricky <juro.bystricky at intel.com>
AuthorDate: Thu Apr 5 16:11:27 2018 -0700

    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]
    
    Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list