summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index f6b5529bb8..1f5f8f1f14 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -962,7 +962,8 @@ def rename_bad_checksum(ud, suffix):
962 962
963 new_localpath = "%s_bad-checksum_%s" % (ud.localpath, suffix) 963 new_localpath = "%s_bad-checksum_%s" % (ud.localpath, suffix)
964 bb.warn("Renaming %s to %s" % (ud.localpath, new_localpath)) 964 bb.warn("Renaming %s to %s" % (ud.localpath, new_localpath))
965 bb.utils.movefile(ud.localpath, new_localpath) 965 if not bb.utils.movefile(ud.localpath, new_localpath):
966 bb.warn("Renaming %s to %s failed, grep movefile in log.do_fetch to see why" % (ud.localpath, new_localpath))
966 967
967 968
968def try_mirror_url(fetch, origud, ud, ld, check = False): 969def try_mirror_url(fetch, origud, ud, ld, check = False):