@@ -39,6 +39,6 @@ TF_CONFIG ?= " \
inherit tensorflow_ver
do_compile:append() {
- chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all
- chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/tflite
+ chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all || true
+ chmod a+w ${BAZEL_DIR}/output_base/execroot/org_tensorflow/bazel-out/*/bin/tensorflow/lite/python/schema_py_srcs_no_include_all/tflite || true
}
every recipe using tensorflow.inc will inherits the do_compile:append task but sometimes, the chmod inside this task fails because the target files are not generated, we can safely ignore the chmod exit code and always return 0 Signed-off-by: Julien STEPHAN <jstephan@baylibre.com> --- recipes-framework/tensorflow/tensorflow.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)