diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-03-14 17:28:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-21 23:38:52 +0000 |
commit | 452e2200ad2c29dec3753f5f7a8cbc9183ec7dd8 (patch) | |
tree | fdcc1b80996cc9c7ab5900f638e76483dfe53d32 /lib/toaster/toastergui/templates/projectconf.html | |
parent | 0ff5cdb0cca9266ca29127639494bcfd95e36831 (diff) | |
download | bitbake-452e2200ad2c29dec3753f5f7a8cbc9183ec7dd8.tar.gz |
fetch2/git: Fix clean to remove clonedir
The localpath is a symlink to clonedir when it is cloned from a mirror, for
example:
$ bitbake systemtap-native -cfetch
$ ls downloads/git2
sourceware.org.git.systemtap.git -> /path/to/downloads/git2/mirror.path.git.sourceware.org.git.systemtap.git
mirror.path.git.sourceware.org.git.systemtap.git
There are both sourceware.org.git.systemtap.git and
mirror.path.git.sourceware.org.git.systemtap.git in DL_DIR/git2, the symlink
sourceware.org.git.systemtap.git is created by try_mirror_url(), but
do_cleanall" only removed the symlink, didn't remove the real dir
mirror.path.git.sourceware.org.git.systemtap.git, this may cause confusions,
for example, I assumed that do_cleanall removed everything, but it didn't, and
it would the re-used next time when do_fetch. This patch fixes the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui/templates/projectconf.html')
0 files changed, 0 insertions, 0 deletions