[oe-commits] Martin Jansa : qi-ubi: remove PROVIDES it does provide virtual/ bootloader as qi does
git version control
git at git.openembedded.org
Tue Oct 5 19:17:37 UTC 2010
Module: openembedded.git
Branch: master
Commit: b558852f0a1b8faa73bd3acf3b80bbae69dede4e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b558852f0a1b8faa73bd3acf3b80bbae69dede4e
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Tue Oct 5 21:16:02 2010 +0200
qi-ubi: remove PROVIDES it does provide virtual/bootloader as qi does
* but it's ok to build both and user will download just the one he needs
---
recipes/qi/qi-ubi_git.bb | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/recipes/qi/qi-ubi_git.bb b/recipes/qi/qi-ubi_git.bb
index 08bc7c5..35a7eaa 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
More information about the Openembedded-commits
mailing list