summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-13 07:38:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-20 09:24:22 +0100
commit2a167cb1fe28b7141ab848aafb7b54af9cec282b (patch)
tree8bf280d34669623e0e5d05faafb64ac82dd6c6da /bitbake/lib/bb/fetch2/git.py
parentf24d8df3af52e2a2911233746ad69f8899bbdf93 (diff)
downloadpoky-2a167cb1fe28b7141ab848aafb7b54af9cec282b.tar.gz
bitbake/fetch2: Remove hardcoded file removal and use clean method
Under certain circumstances, bitbake could remove files which were outside its control since it unconditionally removes ud.localpath. In the file:// case this can point at external paths. This patch converts it to use the clean() method which will remove files when its safe to do so but not in the file:// case since the file:// handler has an empty clean method. This means bitbake no longer removes files outside its control and is generally much safer. (Bitbake rev: 9ad1cebe2220b41da2141cdb3f0a403abb46d77c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions