Patchwork native.bbclass: correct PATH to have native-intercept be prepended

login
register
mail settings
Submitter Saul Wold
Date June 26, 2012, 5:56 p.m.
Message ID <1340733364-29968-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/30667/
State Accepted
Commit bb5095d3f73a00222f50f9dd2cf8dc27cc72b4a2
Headers show

Comments

Saul Wold - June 26, 2012, 5:56 p.m.
This was needed since it was after the sysroots and thus in some cases
the native sysroot chown was being found and used instead of the script
provided by native-intercept/chown.  This was noticed by the non-gplv3
build since it's coreutils depends on coreutils-native.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/native.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index bca48d4..eb30b5a 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -99,7 +99,7 @@  PKG_CONFIG_SYSROOT_DIR = ""
 LIBCOVERRIDE = ""
 CLASSOVERRIDE = "class-native"
 
-PATH =. "${COREBASE}/scripts/native-intercept:"
+PATH_prepend = "${COREBASE}/scripts/native-intercept:"
 
 python native_virtclass_handler () {
     if not isinstance(e, bb.event.RecipePreFinalise):