Bug 7300

Summary: many selectable packages are missing when try to build image in build appliance(build 20150202-1)
Product: [Build System, Metadata & Runtime] Runtime Reporter: Ke Zou <ke.zou>
Component: build-applianceAssignee: Cristian Iorga <cristian.iorga>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: alexandru.c.georgescu, bluelightning, yi.zhao, zhangle.yang
Version: 1.8   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
no "a" packages
none
1.7.1 rc1 (core-image-minimal) edit packages none

Description Ke Zou 2015-02-09 08:18:20 UTC
build appliance path:
http://autobuilder.yoctoproject.org/pub/nightly/20150202-1/build-appliance/

test steps:
1. unzip build appliance
2. use vmplayer to load and run
3. build an image using hob(for instance: qemuarm core-image-minimal)
4. edit packages and build new image:
   When try to add new packages, many packages are missing from "All packages" tab.
   For instance, previously we could choose "attr" package, but currently there's no
"a"-started packages.
Comment 1 Ke Zou 2015-02-09 08:23:51 UTC
Created attachment 2401 [details]
no "a" packages
Comment 2 Paul Eggleton 2015-02-12 15:50:34 UTC
The way that Hob works, you'll only get packages in the list if you've built the corresponding recipes, so after building just core-image-minimal this is kind of the result I would expect. Can you explain why you think these a* packages should be in the list? Did you perhaps see them previously because you had built a larger image containing them beforehand?
Comment 3 Saul Wold 2015-02-13 13:35:31 UTC
So I checked a non BuildAppliance run of HOB and built core-image-minimal, the 
Included recipes does not have any "a" recipes, but the "All recipes" list does 
include ALL recipes, non of the "a" recipes are checked.
Comment 4 Ke Zou 2015-02-15 02:18:20 UTC
Created attachment 2411 [details]
1.7.1 rc1  (core-image-minimal)  edit packages

I retested it with build 1.7.1 rc1, you can see all "a" packages in it.
Comment 5 Paul Eggleton 2015-02-16 09:32:26 UTC
I'm pretty sure this is a result of a build-time dependency being removed on acl/attr; when building core-image-minimal it is not expected that acl/attr are built and therefore there is no expectation that these packages should show up in the "all packages" list in Hob - that they were doing so earlier was by chance rather than design.