| Summary: | combo-layer fail to handle empty patch list | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Otavio Salvador <otavio> |
| Component: | meta-yocto | Assignee: | Paul Eggleton <bluelightning> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, sgw |
| Version: | 1.2 | ||
| Target Milestone: | 1.3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Fix merged in revision 8140c5b7ee1e9a6fb8860ff9e2f9d88ccff48ee6. |
The combo-layer utility fail to parse properly an empty patch list, returning: <pre> Traceback (most recent call last): File "/home/otavio/hacking/ossystems/embedded-linux/openembedded-core/scripts/combo-layer", line 417, in <module> ret = main() File "/home/otavio/hacking/ossystems/embedded-linux/openembedded-core/scripts/combo-layer", line 413, in main actions.get(args[1], action_error)(confdata, args[1:]) File "/home/otavio/hacking/ossystems/embedded-linux/openembedded-core/scripts/combo-layer", line 284, in action_update apply_patchlist(conf, repos) File "/home/otavio/hacking/ossystems/embedded-linux/openembedded-core/scripts/combo-layer", line 307, in apply_patchlist patchfile = line.split()[0] IndexError: list index out of range </pre>