summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs
diff options
context:
space:
mode:
authorIrina Patru <irina.patru@intel.com>2014-04-08 14:59:30 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-08 13:07:25 +0100
commitbbc9aafbbf902f036e5bb54b4fe17f46b3079700 (patch)
tree5feb20b2f7382bf8ceb38d2f1541ba119fe4ebab /bitbake/lib/bb/ui/crumbs
parent1094be01e3a5a89474a56d97d7c750e2e312a990 (diff)
downloadpoky-bbc9aafbbf902f036e5bb54b4fe17f46b3079700.tar.gz
bitbake: hob: add "recipes/images/" to BBFILES when Hob is launched
The path for "recipes/images/" was not added in BBFILES when Hob had to search for an image recipe. Therefore, it could not find it and an error occurred. This path needs to be added when Hob is launched. [HOB #6086] (Bitbake rev: 35c67281775b08925957c32663d587d486944e0e) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py1
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 3033e77444..455af320e8 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -447,6 +447,7 @@ class Builder(gtk.Window):
447 self.handler.connect("package-populated", self.handler_package_populated_cb) 447 self.handler.connect("package-populated", self.handler_package_populated_cb)
448 448
449 self.handler.append_to_bbfiles("${TOPDIR}/recipes/images/custom/*.bb") 449 self.handler.append_to_bbfiles("${TOPDIR}/recipes/images/custom/*.bb")
450 self.handler.append_to_bbfiles("${TOPDIR}/recipes/images/*.bb")
450 self.initiate_new_build_async() 451 self.initiate_new_build_async()
451 452
452 signal.signal(signal.SIGINT, self.event_handle_SIGINT) 453 signal.signal(signal.SIGINT, self.event_handle_SIGINT)
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 62c4704a7c..43edb70b08 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -461,7 +461,6 @@ class HobHandler(gobject.GObject):
461 recipe_name = hob_image + ".bb" 461 recipe_name = hob_image + ".bb"
462 self.ensure_dir(image_dir) 462 self.ensure_dir(image_dir)
463 self.generate_new_image(image_dir + recipe_name, None, [], "") 463 self.generate_new_image(image_dir + recipe_name, None, [], "")
464 self.append_to_bbfiles(image_dir + "*.bb")
465 464
466 def ensure_dir(self, directory): 465 def ensure_dir(self, directory):
467 self.runCommand(["ensureDir", directory]) 466 self.runCommand(["ensureDir", directory])