Bug 5002 - Output file names should be always based on the name of my custom image recipe
Summary: Output file names should be always based on the name of my custom image recipe
Status: RESOLVED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M2
Assignee: Marius Avram
QA Contact:
URL:
Whiteboard:
Depends on: 5118
Blocks:
  Show dependency tree
 
Reported: 2013-08-09 10:41 UTC by Belen Barros Pena
Modified: 2014-03-25 12:05 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
error when you start description with a blank line (327.47 KB, image/png)
2013-09-04 12:50 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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