| Summary: | list-packageconfig-flags.py doesn't work | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Yi Zhao <yi.zhao> |
| Component: | Scripts and Tools | Assignee: | Paul Eggleton <bluelightning> |
| Status: | RESOLVED FIXED | QA Contact: | Yi Zhao <yi.zhao> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | hongxu.jia, jose.perez.carranza, ross.burton |
| Version: | 2.2 | ||
| Target Milestone: | 2.2 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) | |
Paul E has fixed the issue commit 4a5aa7ea4d07c2c90a1654b174873abb018acc67 Author: Paul Eggleton <paul.eggleton@linux.intel.com> Date: Wed Aug 31 13:48:06 2016 +1200 scripts/contrib: update scripts for changes to internal API The multiconfig changes altered some of the functions being called here, so update the calls. Make use of the new Tinfoil.parse_recipe_file() function to make parsing easier. (From OE-Core rev: 95b6ceffd947271f315d8a7660797ab371adfbb9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> See above comments |
Git rev: master/087c580b286816265f487e02746bfa6e26081554 When running list-packageconfig-flags.py, I got the following error: ########################## $ ../scripts/contrib/list-packageconfig-flags.py Parsing recipes..done. Gathering recipe data... Traceback (most recent call last): File "../scripts/contrib/list-packageconfig-flags.py", line 179, in <module> main() File "../scripts/contrib/list-packageconfig-flags.py", line 166, in main data_dict = get_recipesdata(bbhandler, options.preferred) File "../scripts/contrib/list-packageconfig-flags.py", line 61, in get_recipesdata pkg_pn = bbhandler.cooker.recipecache.pkg_pn AttributeError: 'BBCooker' object has no attribute 'recipecache' ###########################