Bug 1226 - [HOB] No idea which image will be built if switching image type for base image
Summary: [HOB] No idea which image will be built if switching image type for base image
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:55 UTC by Jiajun Xu
Modified: 2011-07-10 23:34 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:55:49 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. If we choose cancel for the dialog, the package number will keep increase and it make me confused becasue I don't know what packages/images will be built out.
For example, I choose core-image-lsb and then choose core-image-minimal, and choose cancel for the pop-up dialog. There will be a lot of packages shown with core-image-minimal. I don't know what will be built if I click bake button.
Comment 1 Joshua Lock - Disabled 2011-07-08 10:19:58 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:34:01 UTC
Verify the bug with commit f974868cadf74d0cf8380b2c6a4152d2fa4590b5, the bug is fixed.