summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-15 17:15:14 (GMT)
committerSaul Wold <sgw@linux.intel.com>2011-07-21 22:54:49 (GMT)
commita62982ffb6b35acc70bb30a429fc854cf9a8873f (patch)
tree7d715efec34ad722f78d7386a484384808febcf1
parentfa4bcfdb73167f8159b88e5a4d711c0d37627a70 (diff)
downloadpoky-1.1_M2.zip
poky-1.1_M2.tar.gz
poky-1.1_M2.tar.bz2
ui/crumbs/tasklistmodel: fix saving recipes1.1_M2.rc31.1_M2.final1.1_M2
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>
-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"
"""