Bug 1225 - [HOB] cancel/remove show incorrect package number when switching image type
Summary: [HOB] cancel/remove show incorrect package number when switching image type
Status: VERIFIED 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.1 M2
Assignee: Joshua Lock - Disabled
QA Contact:
URL:
Whiteboard: Patch out for review
Depends on:
Blocks:
 
Reported: 2011-07-07 01:50 UTC by Jiajun Xu
Modified: 2011-07-10 23:33 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

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