[oe] [meta-oe][PATCH] uthash: remove uthash-ptest dependencies

changqing.li at windriver.com changqing.li at windriver.com
Fri Jun 28 05:54:33 UTC 2019


From: Changqing Li <changqing.li at windriver.com>

after commit https://git.openembedded.org/openembedded-core/
commit/meta/classes/ptest.bbclass?id=b47194b57d94260b4e6438c5bf74914027f0b520
package ${PN}-ptest will depend on ${PN} by default,
but for uthash, ${PN} is empty package, remove it from dependency
to avoid image do rootfs failure since nothing provides error.

Signed-off-by: Changqing Li <changqing.li at windriver.com>
---
 meta-oe/recipes-support/uthash/uthash_2.1.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/uthash/uthash_2.1.0.bb b/meta-oe/recipes-support/uthash/uthash_2.1.0.bb
index d01a06c..09cef44 100644
--- a/meta-oe/recipes-support/uthash/uthash_2.1.0.bb
+++ b/meta-oe/recipes-support/uthash/uthash_2.1.0.bb
@@ -41,5 +41,6 @@ do_install_ptest() {
 # The main package is empty and non-existent, so -dev
 # should not depend on it...
 RDEPENDS_${PN}-dev = ""
+RDEPENDS_${PN}-ptest_remove = "${PN}"
 
 BBCLASSEXTEND = "native"
-- 
2.7.4



More information about the Openembedded-devel mailing list