summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/git.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-02-10 23:36:40 +0000
commitd6fac93d81c822de09c660269430b1aabb5594ee (patch)
tree80556f4a85c51b0b25eb86d0eb56ba04831fd01f /lib/bb/fetch2/git.py
parentc7c143cde76cc17fc4830e18e21c89f66cc02af0 (diff)
downloadbitbake-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