[oe-commits] Peter A. Bigot : oe-setup-rpmrepo: add native sysroot so nativepython can be found by env

git at git.openembedded.org git at git.openembedded.org
Fri Aug 30 16:55:23 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: ce37ef05c14ba28773823d1f14f629c37c76d827
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ce37ef05c14ba28773823d1f14f629c37c76d827

Author: Peter A. Bigot <pab at pabigot.com>
Date:   Tue Aug 27 14:59:11 2013 -0500

oe-setup-rpmrepo: add native sysroot so nativepython can be found by env

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>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 scripts/oe-setup-rpmrepo |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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"
 



More information about the Openembedded-commits mailing list