Bug 5002

Summary: Output file names should be always based on the name of my custom image recipe
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Marius Avram <marius.avram>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: belen.barros.pena, cristiana.voicu, jessica.zhang, poky.bs.watcher, poky.watcher, valentin.popa
Version: unspecified   
Target Milestone: 1.6 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 5118    
Bug Blocks:    
Attachments:
Description Flags
error when you start description with a blank line none

Description Belen Barros Pena 2013-08-09 10:41:42 UTC
If I build one of my custom image recipes, the name of the output files will be based on the name of my custom image recipe, which is good, because it helps me locate the right files in the /deploy/images/ directory.

However, if after the build I use the "Edit packages" button, make some changes to the included packages and then build again, the name of the output files is no longer based on the name of my custom image recipe (it uses "hob-image" instead). This is not so good, since the image recipe I started from is still my custom image recipe, and it will make it much harder to locate the right files in the /deploy/images/ directory.

So, whenever a build uses a custom image recipe, the output file name should be based in the name of that custom image recipe.
Comment 1 Cristiana Voicu 2013-09-04 12:42:55 UTC
I have investigated this bug, and this happens when a custom image is created. In background, hob creates a hob-image-timestamp (with the packages user selected), and then it builds it. After a discution with Belen, we agreed to change the name with the base image name. 
I will move this bug for 1.6, because it is not related to templates functionality, but it is related to an enahncement for meta-hob layer (5118)
Comment 2 Belen Barros Pena 2013-09-04 12:50:32 UTC
Created attachment 1457 [details]
error when you start description with a blank line
Comment 3 Marius Avram 2014-03-20 11:46:46 UTC
After discussions with Belen we agreed that the name of the original recipe is not enough. So the output files will also contain the 'edited' suffix as it is specified in the design documents. 

I've sent a solution on the bitbake-devel mailing list.
Comment 4 Marius Avram 2014-03-25 12:05:05 UTC
Merged on poky:master f34575809677dc52e1071a3ae3daebe92819cec0