| Summary: |
base.bbclass: Having ${D} in do_install[dirs] is redundant, since it's already in do_install[cleandirs] |
| Product: |
[Build System, Metadata & Runtime] Meta-yocto
|
Reporter: |
ulfalizer |
| Component: |
meta-yocto | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
enhancement
|
|
|
| Priority: |
Medium
|
CC: |
poky.bs.watcher, poky.watcher, sgw
|
| Version: |
2.2 | |
|
| Target Milestone: |
2.2 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
Hello, do_install[cleandirs] = "${D}" will remove and recreate ${D} already if it does not exist. Therefore, putting ${D} in do_install[dirs] is redundant. If ${D} was the last entry in do_install[dirs], then it would become the working directory of do_install. But it is not, so removing it makes no difference. The most important side-effect of fixing it might be to clarify how [cleandirs] works to people reading base.bbclass. Cheers, Ulf