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)
I think I can describe it better, trashing this and creating a new report.