diff options
author | Yu Ke <ke.yu@intel.com> | 2011-01-18 22:08:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:25:46 +0000 |
commit | 84ff79413a3b56f287f42b8ca1dd2ab194337c42 (patch) | |
tree | 36711f4fdaf3c08b8f90b6cbc5ea8d4fb1d7c00b /bitbake/lib/bb/fetch2/git.py | |
parent | d8698b92ffcc2cbd29b57d3dc8e851d3d6c137f2 (diff) | |
download | openembedded-core-84ff79413a3b56f287f42b8ca1dd2ab194337c42.tar.gz openembedded-core-84ff79413a3b56f287f42b8ca1dd2ab194337c42.tar.bz2 openembedded-core-84ff79413a3b56f287f42b8ca1dd2ab194337c42.tar.xz openembedded-core-84ff79413a3b56f287f42b8ca1dd2ab194337c42.zip |
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/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions