[meta-virtualization] [PATCH] protobuf: Add RDEPENDS for ptest

zhe.he at windriver.com zhe.he at windriver.com
Sun May 22 20:15:43 PDT 2016


From: He Zhe <zhe.he at windriver.com>

This patch adds bash and python to ptest's RDEPENDS to avoid the following
warning:
"WARNING: QA Issue: /usr/lib64/protobuf/ptest/run-ptest_protobuf-ptest contained
in package protobuf-ptest requires /bin/bash, but no providers found in its
RDEPENDS [file-rdeps]"

Signed-off-by: He Zhe <zhe.he at windriver.com>
---
 recipes-devtools/protobuf/protobuf_2.5.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-devtools/protobuf/protobuf_2.5.0.bb b/recipes-devtools/protobuf/protobuf_2.5.0.bb
index e1c7254..23b74a7 100644
--- a/recipes-devtools/protobuf/protobuf_2.5.0.bb
+++ b/recipes-devtools/protobuf/protobuf_2.5.0.bb
@@ -22,6 +22,7 @@ EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
 inherit autotools setuptools ptest
 
 DEPENDS += "protobuf-native"
+RDEPENDS_${PN}-ptest = "bash python"
 
 PYTHON_SRC_DIR="python"
 TEST_SRC_DIR="examples"
-- 
1.9.1



More information about the meta-virtualization mailing list