aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/qi/qi-ubi_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/qi/qi-ubi_git.bb b/recipes/qi/qi-ubi_git.bb
index 08bc7c5123..35a7eaaa90 100644
--- a/recipes/qi/qi-ubi_git.bb
+++ b/recipes/qi/qi-ubi_git.bb
@@ -1,5 +1,10 @@
require qi_git.bb
+# workaround for (in this case) harmless error during image build
+# ERROR: Multiple .bb files are due to be built which each provide virtual/bootloader
+# it's just alternative to qi, so it's ok to build both and user will download one of them
+PROVIDES = ""
+
do_configure_prepend() {
sed -i 's#\(IMAGE = .(IMAGE_DIR)/\)qi-\(.(CPU)-.(BUILD_VERSION)\)#\1qi-ubi-\2#g' ${S}/Makefile
sed -i 's#\(UDFU_IMAGE = .(IMAGE_DIR)/\)qi-\(.(CPU)-.(BUILD_VERSION).udfu\)#\1qi-ubi-\2#g' ${S}/Makefile