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:08:01 +0100 |
commit | 13f360777927f57e343d7f5f6c2a95ad179ddf48 (patch) | |
tree | 5e68dd7f207773fafb15423e67838a0bb9bfed19 /meta/classes | |
parent | 42df3f81a1a1ffffd78308d2fa1e2d78737c92b1 (diff) | |
download | poky-13f360777927f57e343d7f5f6c2a95ad179ddf48.tar.gz |
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.
(From OE-Core rev: 7fd8287d3320231db83c36d09f2b841e520fcfe9)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 90fcd131c6..11ec6dcde3 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -85,6 +85,8 @@ EXTRA_NATIVE_PKGCONFIG_PATH ?= "" | |||
85 | PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" | 85 | PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" |
86 | PKG_CONFIG_SYSROOT_DIR = "" | 86 | PKG_CONFIG_SYSROOT_DIR = "" |
87 | 87 | ||
88 | PATH =. "${COREBASE}/scripts/native-intercept:" | ||
89 | |||
88 | python native_virtclass_handler () { | 90 | python native_virtclass_handler () { |
89 | if not isinstance(e, bb.event.RecipePreFinalise): | 91 | if not isinstance(e, bb.event.RecipePreFinalise): |
90 | return | 92 | return |