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 2011-07-15 10:15:14 -07:00 committed by Richard Purdie
parent a78a99daff
commit a1e18b913f
1 changed files with 1 additions and 2 deletions

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"
"""