summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/__init__.py
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-01-18 22:08:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-25 12:25:46 +0000
commit84ff79413a3b56f287f42b8ca1dd2ab194337c42 (patch)
tree36711f4fdaf3c08b8f90b6cbc5ea8d4fb1d7c00b /bitbake/lib/bb/fetch/__init__.py
parentd8698b92ffcc2cbd29b57d3dc8e851d3d6c137f2 (diff)
downloadast2050-yocto-poky-84ff79413a3b56f287f42b8ca1dd2ab194337c42.zip
ast2050-yocto-poky-84ff79413a3b56f287f42b8ca1dd2ab194337c42.tar.gz
bb.fetch2: revise the Fetch.unpack API
change the unpack to use the urldata and rootdir parameter - urldata is the FetchData instance - rootdir is the dir to put the extracted source. the original unpack use current dir (os.getcwd) as destination dir, which is not flexible and error-prone (error will occur if caller not chdir to dest dir) Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch/__init__.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud