Bug 2255 - [Hob2] Inconformity recipes when change machine
Summary: [Hob2] Inconformity recipes when change machine
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M4
Assignee: Shane Wang
QA Contact:
URL:
Whiteboard: (1.2) Patch out
Depends on:
Blocks:
 
Reported: 2012-04-06 07:24 UTC by Hongna Xu
Modified: 2012-04-16 02:14 UTC (History)
5 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 Hongna Xu 2012-04-06 07:24:22 UTC
1.Lauch hob, set machine=qemuarm & base image=image-sato-sdk.
2.Click "View Recipse" ,there are 310 included.
3.Change machine=qemux86 & base image=image-sato-sdk.
4.Click "View Recipse", return back to hob main window.
5.Change machine back to qemuarm, with default base image=image-sato-sdk.
6.Click "View Recipse" ,there are 322 included, the sum number is inconformity.
7.Change base image as you like except image-sato-sdk, then change back to image-sato-sdk, the recipes return back to 310.

As above test, the recipes's sum is wrong when change machine immediately to show the recipes.
Comment 2 Hongna Xu 2012-04-13 10:29:09 UTC
Wow!shane, you are so clever and tricky, though you have changed the flow of
reproducing, i can still reproduce it, follow me:
1.First, let's confirm that the recipes of MACHINE=qemuarm&core-image-sato-sdk&
rpm format package is 372,and ipk package is 360 recipes.
2.Launch hob,set machine=qemuarm & base image=core-image-sato-sdk, with its
default rpm package,view recipes,is 372.
3.Settings->Output, set ipk as package format,then save.
4.After parsing, the base image will be default selected as before i
set(core-image-sato-sdk), view recipes, it changes to 374.
5.Now we change other base image,like "Create your own image".
6.Change base image back to core-image-sato-sdk, the recipes is 360, this is
right,cause it for ipk package.
7.It is not done, let's change back to rpm format, waiting parsing.
8.With default selected core-image-sato-sdk,see the recipes is 374.
9.Change to "Create your own image".
10.Change back to core-image-sato-sdk,the recipes is 372.
11.Now, we don't change base image anymore,just switch rpm/ipk for several
times, after each switch, the recipes is always 374, no changing.this maybe a
new issue that why ipk's recipes is diff from step 6.

Tree/Branch: Poky/1.2_M4(The latest version)
Commit id: fae1c7a5fdcea199338b5f91efaafd7c72aec5dd
Comment 3 Shane Wang 2012-04-14 08:26:51 UTC
Good catch, Hongna, I have the idea to fix it but I need to wait for Dongxiao's patch http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dxu4/hob-bugfix-temp&id=8363ca5e5dc2fe6179e0da76a2d6e80f157125e6 to be in the master first, because my future fix depends on his.
Comment 5 Hongna Xu 2012-04-16 02:14:53 UTC
Well done, Shane.I verify it with latest branch poky/master, commitID 2ddf7d3e8326e8cb07101ddb2d6e5dc6866371e2.