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>
This commit is contained in:
Joshua Lock authored and Richard Purdie committed 2011-07-21 22:08:08 +01:00
1 parent a78a99daff
commit a1e18b913f
1 file changed
+1 -2
+1 -2
View File
@@ -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"
"""