Bug 7571 - identify and store extra-data about image-generating recipes
Summary: identify and store extra-data about image-generating recipes
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.9 M2
Assignee: Ed Bartosh
QA Contact: Alexandru Roman
URL:
Whiteboard: GUI design available
Depends on:
Blocks: 8039
  Show dependency tree
 
Reported: 2015-04-07 12:45 UTC by Alexandru Damian
Modified: 2015-12-04 14:18 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
Design - Separate image recipes from all other recipes (407.56 KB, application/pdf)
2015-05-14 09:57 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 Alexandru Damian 2015-04-07 12:45:48 UTC
as to allow easy search for the recipes that generate images, this bugs tracks two items:

a). adding a field in the database that points to a recipe being an image or not

b). populating this field with data coming from a bitbake build; that means that bitbake, during recipe dump, tracks whenever an recipe inherits the image.bbclass magic class, and reports this in the recipe information; and Toaster build logger record this in the database;


similar information must come from the LayerIndex-type layer sources.
Comment 1 Belen Barros Pena 2015-04-30 13:34:43 UTC
On top of fixing one of the severe usability issues uncovered during user testing, the image recipe customisation functionality depends on Toaster being able to tell the difference between image recipes and all other recipes. 

Moving to 1.9, aiming for M1.
Comment 2 Belen Barros Pena 2015-05-14 09:57:46 UTC
Created attachment 2507 [details]
Design - Separate image recipes from all other recipes
Comment 3 Belen Barros Pena 2015-06-30 10:14:20 UTC
This feature has no assignee, but the image customisation feature, as designed, relied on the ability to identify recipes that generate images.
Comment 4 Belen Barros Pena 2015-07-22 17:11:19 UTC
I was asked to track the GUI work with a different entry, so I've opened bug 8039
Comment 5 Ed Bartosh 2015-07-24 16:25:50 UTC
Patch has been sent for review: https://lists.yoctoproject.org/pipermail/toaster/2015-July/002382.html
Comment 6 Ed Bartosh 2015-08-03 09:03:34 UTC
Accepted by upstream: http://cgit.openembedded.org/bitbake/commit/?id=3ac0ba73790b8f68567daa2de313c78053411fbb

Removed dependency to bug 7575 as this implementation was tested with layer index from layers.pythonanywhere.com
Comment 7 Alexandru Roman 2015-12-04 14:18:16 UTC
Verified on master.