generic-poky/bitbake/lib/bb/fetch2
Ross Burton 37d5307db0 bitbake: fetch2: handle absolute paths in subdir
Currently if you use the subdir parameter in a SRC_URI and pass an absolute path
then it gets appended to the unpack directory instead of being used directly.
This is inconvenient as it may be useful to use ${S} when you want to unpack a
file into the source tree.

Change this behaviour so that absolute paths are used directly instead of being
appended to the root directory.  To ensure that recipes cannot write files to an
arbitrary location enforce that the subdir starts with the unpack root.

(Bitbake rev: c3873346c6fa1021a1d63bddd9b898a77c618432)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-22 11:18:11 +01:00
..
__init__.py bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
bzr.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
clearcase.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
cvs.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
git.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
gitannex.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
gitsm.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
hg.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
local.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
npm.py bitbake: fetch2/npm: don't download same URL multiple times 2016-09-15 12:15:07 +01:00
osc.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
perforce.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
repo.py bitbake: fetch2: preserve current working directory 2016-08-20 16:08:59 +01:00
sftp.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
ssh.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
svn.py bitbake: bb.fetch2.svn: correctly pass workdir when fetching 2016-09-02 18:09:50 +01:00
wget.py bitbake: wget: allow basic http auth for SSTATE_MIRRORS 2016-09-02 18:09:49 +01:00