Bug 6129 - Local directories unpack to a different location than local files
Summary: Local directories unpack to a different location than local files
Status: RESOLVED OBSOLETE
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.6
Hardware: All Multiple
: Medium normal
Target Milestone: 2.3 M4
Assignee: Aníbal Limón
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 6128
  Show dependency tree
 
Reported: 2014-04-08 13:01 UTC by Paul Eggleton
Modified: 2017-04-10 21:15 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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