[OE-core] [PATCH 2/5] createrepo: Fix usage of create_wrapper

Saul Wold sgw at linux.intel.com
Mon Jun 10 21:45:12 UTC 2013


create_wrapper changed recently and behaves differently now. It does
not directly exec the , but exports them, so the first parameter
needs to be an environemnt variable like a PATH, not a executable.

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 meta/recipes-support/createrepo/createrepo_0.4.11.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
index c977c2e..4d71883 100644
--- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb
+++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
@@ -35,7 +35,7 @@ do_install_append_class-native () {
 	for i in ${D}${datadir}/createrepo/genpkgmetadata.py \
 		 ${D}${datadir}/createrepo/modifyrepo.py \
 		 ${D}${bindir}/rpm-createsolvedb.py ; do
-		create_wrapper $i ${STAGING_BINDIR_NATIVE}/python-native/python
+		create_wrapper $i PATH=${STAGING_BINDIR_NATIVE}/python-native:\$PATH
 	done
 
 	create_wrapper ${D}/${bindir}/createrepo \
-- 
1.8.1.4




More information about the Openembedded-core mailing list