From: Juro Bystricky Date: Thu, 5 Apr 2018 23:11:27 +0000 (-0700) Subject: hello-mod_0.1.bb: add RPROVIDES X-Git-Tag: uninative-1.9~12 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ca17a7bbea5f5454da43545d544ff7772d83ac19;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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 b140b0ac8e..3d33446500 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"