summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-15 10:15:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-21 22:08:08 +0100
commita1e18b913ffb7e31fe1fd6f785d15dbfad365228 (patch)
tree702515a133fe8220053264327ee1574b93e12971 /bitbake/lib/bb/ui/crumbs/tasklistmodel.py
parenta78a99daff67051d25df910244dbc72d22d4ef0c (diff)
downloadast2050-yocto-poky-a1e18b913ffb7e31fe1fd6f785d15dbfad365228.zip
ast2050-yocto-poky-a1e18b913ffb7e31fe1fd6f785d15dbfad365228.tar.gz
ui/crumbs/tasklistmodel: fix saving recipes
After switching to dynamically finding the relative path for the recipe file it's no longer to append .bb when inserting the require line into the saved recipe. Fixes [YOCTO #1247] (Bitbake rev: 2d05ce4f527daa905ed64485029ebeb2b349daa6) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/tasklistmodel.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index 633931d..e28dbe7 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -53,11 +53,10 @@ class BuildRep(gobject.GObject):
self.userpkgs = packages
def writeRecipe(self, writepath, model):
- # FIXME: Need a better way to determine meta_path...
template = """
# Recipe generated by the HOB
-require %s.bb
+require %s
IMAGE_INSTALL += "%s"
"""
OpenPOWER on IntegriCloud