| Summary: |
File not found error seems to be caused by the name of a recipe |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Igor Stoppa <igor.stoppa> |
| Component: |
bitbake | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
INVALID
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Undecided
|
CC: |
poky.bs.watcher, poky.watcher
|
| Version: |
unspecified | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
Don't know
|
Premise: * I have created a custom layer * Inside this layer, I have a recipe named baseos_initrd.bb * This recipe pulls in another one, located in the same place, through PACKAGE_INSTALL. * The 2nd recipe contains: FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI = "file://init.sh" * In the same location where the 2 recipes are, there is also a folder, named after the 2nd recipe (wihtout the .bb), which contains the file init.sh Expectation: * this should work regardless of the name of the 2nd recipe Finding: * if the name of the 2nd recipe is a subset of the name of the first (I had tried baseos_init.bb), the init.sh file is not found (the directory containing it, was named baseos_init) * if the 2nd recipe has a totally different name (myinitrd.bb), then the init.sh file is found and used without any problem (in this case the directory containing init.sh was named myinitrd)