[OE-core] [PATCH] oe-setup-rpmrepo: add native sysroot so nativepython can be found by env
Peter A. Bigot
pab at pabigot.com
Tue Aug 27 19:59:11 UTC 2013
From: "Peter A. Bigot" <pab at pabigot.com>
This avoids the following new behavior resulting from the create_wrapper
fixes:
llc[11]$ ../poky/scripts/oe-setup-rpmrepo
/usr/bin/env: nativepython: No such file or directory
Signed-off-by: Peter A. Bigot <pab at pabigot.com>
---
scripts/oe-setup-rpmrepo | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/oe-setup-rpmrepo b/scripts/oe-setup-rpmrepo
index ea885f6..917b98b 100755
--- a/scripts/oe-setup-rpmrepo
+++ b/scripts/oe-setup-rpmrepo
@@ -90,6 +90,7 @@ if [ ! -e "$CREATEREPO" ]; then
exit 1
fi
+export PATH=${PATH}:${OECORE_NATIVE_SYSROOT}/usr/bin
$CREATEREPO "$RPM_DIR"
--
1.7.9.5
More information about the Openembedded-core
mailing list