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>
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
--- /dev/null
+#! /bin/sh
+echo "Intercept $0: $@ -- do nothing"