| Summary: | [bitbake-layers] no attribute 'fetch2' error with a new working dir | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | meta-yocto | Assignee: | Paul Eggleton <bluelightning> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, sgw |
| Version: | unspecified | ||
| Target Milestone: | 1.2 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Fix merged to master (4 Jan) | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Jiajun Xu
2011-12-20 20:49:35 UTC
A simple "import bb.fetch2" at the beginning of bitbake-layers corrects this; however I'm not sure if this is an acceptable fix. Another alternative would be to have a wrapper script that simply sets BBFETCH2=True, but I'm not sure I particularly like that idea either. Chris Larson seems to think the former import approach is OK, have sent a patch to the bitbake-devel list. Fix merged to master in revision f540034864cb2afdd47486b271900e1021ae0b27. |