diff options
author | Yu Ke <ke.yu@intel.com> | 2011-01-18 22:08:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 23:36:40 +0000 |
commit | d6fac93d81c822de09c660269430b1aabb5594ee (patch) | |
tree | 80556f4a85c51b0b25eb86d0eb56ba04831fd01f /lib/bb/fetch2/git.py | |
parent | c7c143cde76cc17fc4830e18e21c89f66cc02af0 (diff) | |
download | bitbake-d6fac93d81c822de09c660269430b1aabb5594ee.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)
(From Poky rev: 84ff79413a3b56f287f42b8ca1dd2ab194337c42)
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions