summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
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
parenta78a99daff67051d25df910244dbc72d22d4ef0c (diff)
downloadpoky-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')
-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 633931dac6..e28dbe713a 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):
53 self.userpkgs = packages 53 self.userpkgs = packages
54 54
55 def writeRecipe(self, writepath, model): 55 def writeRecipe(self, writepath, model):
56 # FIXME: Need a better way to determine meta_path...
57 template = """ 56 template = """
58# Recipe generated by the HOB 57# Recipe generated by the HOB
59 58
60require %s.bb 59require %s
61 60
62IMAGE_INSTALL += "%s" 61IMAGE_INSTALL += "%s"
63""" 62"""