From: Peter A. Bigot Date: Tue, 27 Aug 2013 19:59:11 +0000 (-0500) Subject: oe-setup-rpmrepo: add native sysroot so nativepython can be found by env X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=118d74e28ca73135a7c0924a791a17847752e655;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 (From OE-Core rev: ce37ef05c14ba28773823d1f14f629c37c76d827) Signed-off-by: Peter A. Bigot Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/scripts/oe-setup-rpmrepo b/scripts/oe-setup-rpmrepo index ea885f63253..917b98b984a 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"