Bug 3228

Summary: When I make a change in my selected image types, Hob should remember my base image selection
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: andrei.adrianx.dinu, cristian.iorga, poky.bs.watcher, poky.watcher, sgw, valentin.popa
Version: unspecified   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard: 8cad1e343ed0a44741af6941b42145f1d7e27ff8
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Belen Barros Pena 2012-10-04 11:01:18 UTC
Steps to reproduce:

1. Launch Hob
2. Select a machine and a base image
3. Click on 'Advance configuration'
4. Make a change on the image types (select a new one or deselect one of the selected ones) and click 'Save'

Outcome: Hob restarts the parsing recipes process but, once that's finished, the base image combo box no longer remembers my previous base image selection (it is set to 'Select a base image').

Expected outcome: if I make changes to the image types after selecting a base image it's probably because I want those changes to apply to my selected base image. Hob should help me by remembering my base image selection.
Comment 1 Cristian Iorga 2012-10-15 12:29:19 UTC
Part of HOB improvement sprint for 1.4
Comment 2 Cristian Iorga 2012-10-16 11:38:27 UTC
Investigation started.
Comment 3 Cristian Iorga 2012-10-16 11:52:05 UTC
In development.
Comment 4 Cristian Iorga 2012-10-17 14:26:10 UTC
Patch submitted for review.
Comment 5 Cristian Iorga 2012-10-25 08:23:17 UTC
Fixed with commit 8cad1e343ed0a44741af6941b42145f1d7e27ff8.
Comment 6 Belen Barros Pena 2012-10-25 11:54:47 UTC
This is probably a silly question, but do we need to rerun the recipe parsing process after making a change to the selected image types?
Comment 7 Cristian Iorga 2012-10-26 06:23:38 UTC
As far as I know, yes, reparsing recipes is necessary after selected image is changed, in order to set the dependencies right (and other stuff).
Comment 8 Belen Barros Pena 2012-10-26 09:25:04 UTC
In that case, this is verified on 33440ee70623394d06a4b214c2be10788cba6d08

Thanks!

Belen