diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-06-23 11:58:26 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 21:01:48 +0100 |
commit | 7fd8287d3320231db83c36d09f2b841e520fcfe9 (patch) | |
tree | 6b60ff60682f8c0e4994993244d692fce31ec781 /meta/classes/native.bbclass | |
parent | 983197c10104bbbcb6cfd6e923a3bf11152b3001 (diff) | |
download | openembedded-core-7fd8287d3320231db83c36d09f2b841e520fcfe9.tar.gz openembedded-core-7fd8287d3320231db83c36d09f2b841e520fcfe9.tar.bz2 openembedded-core-7fd8287d3320231db83c36d09f2b841e520fcfe9.tar.xz openembedded-core-7fd8287d3320231db83c36d09f2b841e520fcfe9.zip |
native.bbclass: Add a simple chown intercept command
During native recipe processing we want to intercept any calls to chown
and do nothing. This prevents errors and allows the same recipes to be
used for both native and target recipes.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 90fcd131c..11ec6dcde 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -85,6 +85,8 @@ EXTRA_NATIVE_PKGCONFIG_PATH ?= "" PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" PKG_CONFIG_SYSROOT_DIR = "" +PATH =. "${COREBASE}/scripts/native-intercept:" + python native_virtclass_handler () { if not isinstance(e, bb.event.RecipePreFinalise): return |