From 299fbbf31aa99d360a7ca884d1f0e0dff24d8887 Mon Sep 17 00:00:00 2001 From: Marius Avram Date: Tue, 18 Mar 2014 14:17:06 +0200 Subject: bitbake: hob: output filenames based on initial recipe name If a recipe for an image was edited from the hob interface the name of the files outputed in the /tmp/deploy/images/${MACHINE}/ and the temporary recipes from /recipes/images/ contained only the generic name "hob-image". From now on both the temporary recipes and the output from the deploy/ directory will contain the name of the base recipe appended by the "-edited" suffix, in the case when a base image recipe was edited. The base recipe can be a standard recipe (e.g core-image-minimal) or a custom created and saved by the user. For example, if core-image-minimal is edited the deploy/ directory will contain core-image-minimal-edited-20140318-140428-qemux86.ext3 and the recipes/images/ directory will contain the recipe core-image-minimal-edited-20140318-140428.bb. [YOCTO #5002] (Bitbake rev: f34575809677dc52e1071a3ae3daebe92819cec0) Signed-off-by: Marius Avram Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py') diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index cffe6e14b4..02d63322d7 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py @@ -704,7 +704,7 @@ class RecipeListModel(gtk.ListStore): if ('packagegroup.bbclass' in " ".join(inherits)): atype = 'packagegroup' elif ('image.bbclass' in " ".join(inherits)): - if name != "hob-image": + if "edited" not in name: atype = 'image' install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) elif ('meta-' in name): -- cgit v1.2.3-54-g00ecf