Bug 1225

Summary: [HOB] cancel/remove show incorrect package number when switching image type
Product: [Build System, Metadata & Runtime] Hob Reporter: Jiajun Xu <jiajun.xu>
Component: hobAssignee: Joshua Lock - Disabled <josh>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, lianhao.lu, liping.ke, poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: Patch out for review
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2011-07-07 01:50:07 UTC
Tree/Branch: Poky/Master
Commit: d4132fa12885fc050313a5c9aa6903e4fa92c94f

When switching image type for "Base image" field, there will be a dialog asking if user want to cancel/remove the image type. But no matter whether I click cancel or remove button, the total package number shown for "Image contents" field will increase.
Comment 1 Joshua Lock - Disabled 2011-07-08 10:19:42 UTC
Fixed in BitBake master: 737d1bc819b192b4c2caa0482bddb6921b5aac93

"lib/bb/hob: fix changing base image

The path is not guaranteed to always point to the same value so do not rely
on it to change the image contents. Further, when changing the base image
we should maintain user selections.

Addresses [YOCTO #1225] and fixes [YOCTO #1226]"
Comment 3 Jiajun Xu 2011-07-10 23:33:56 UTC
Verify the bug with commit f974868cadf74d0cf8380b2c6a4152d2fa4590b5, the bug is fixed.