Tree/Branch: 1.1_M2 Commit: a62982ffb6b35acc70bb30a429fc854cf9a8873f With 1.1 M2 branch, by default in local.conf, qemux86 is choosen and if we launch hob, qemux86 is also loaded by default. For core-image-sato against qemux86, there are 285 packages. If we change machine type to others, for example, routerstationpro and choose core-image-sato for "base image" also, the number is same with qemux86. But actually, if we close the hob and re-launch hob, the number of core-image-sato against routerstationpro will be loaded correctly, 256. So each time when we change a machine, we need to restart hob to get the corret package list.
I tried with latest master, for qemux86 and routerstationpro will always be 277 even after I restarted hob
Fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ba3aef9b06c5fdb2b9cc5bf43915886f3fa313a7
I find with commit 46cf540e63a848512617b20fd8492f81bfb2f704, the issue still exists. So reopen the bug now.
After some investigation it looks like the reparse is correct and the correct data is available but the way the previous selections are reloaded after changing machines is buggy.
Or perhaps not, maybe the reparse isn't working correctly - work here is ongoing...
I've root caused this at last. The problem is that we store the customisations from the UI in a post-file, that is; a configuration file which is parsed *after* all of the standard configuration files. bitbake.conf includes the conf/machine/${MACHINE}.conf file before the post file is parsed and therefore there's a critical mismatch between which MACHINE is set in the GUI and which files are loaded. The simplest solution is to switch to a prefile, parsed before bitbake.conf, to store the UI's settings. This may have other repercussions, however.
Long term we need to look at adding user-wide configuration and intercepting the data store initialisation to set configuration values, however this is an invasive change so for now is deferred for future work in bug 1441. Short term we need to switch to using a pre and post configuration file in tandem and add some less generic code to lib/bb/ui/crumbs/configurator.py to store the right variables in the right files.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cffbab5c0671005072db3e8f577fa3ffb1e2cd68