Bug 6129

Summary: Local directories unpack to a different location than local files
Product: [Build System, Metadata & Runtime] BitBake Reporter: Paul Eggleton <bluelightning>
Component: bitbakeAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: jacob.kroon, jessica.zhang, kergoth, leonardo.sandoval.gonzalez, poky.bs.watcher, poky.watcher, sgw
Version: 1.6   
Target Milestone: 2.3 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 6128    

Description Paul Eggleton 2014-04-08 13:01:53 UTC
If you have the following in SRC_URI:

file://dir/file
file://dir/subdir

"file" will unpack to ${WORKDIR}/dir and "subdir" will unpack to ${WORKDIR}. This is because of the basepath = os.path.dirname(basepath) line added in the following commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6a2ce81fc6dbf39ccb9ee973b7b61f9e10406918

Unfortunately this needs to be fixed before bug 6128 can be fixed.
Comment 1 Aníbal Limón 2017-04-10 21:15:30 UTC
Alexander Shashkevich fixed at,

http://git.openembedded.org/bitbake/commit/?id=e659a3b0c2771679057ee3e13cd42e6c62383ff2