]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-setup-rpmrepo: add native sysroot so nativepython can be found by env
authorPeter A. Bigot <pab@pabigot.com>
Tue, 27 Aug 2013 19:59:11 +0000 (14:59 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2013 17:06:26 +0000 (18:06 +0100)
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@pabigot.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/oe-setup-rpmrepo

index ea885f63253c92c135909f44d26f2e35e0b6e8e1..917b98b984a094820d6a42517ef7ac59ed6cd2a4 100755 (executable)
@@ -90,6 +90,7 @@ if [ ! -e "$CREATEREPO" ]; then
        exit 1
 fi
 
+export PATH=${PATH}:${OECORE_NATIVE_SYSROOT}/usr/bin
 
 $CREATEREPO "$RPM_DIR"