summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 844f24aa5e..a38cb8ffbe 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -492,7 +492,7 @@ def build_mirroruris(origud, mirrors, ld):
492 replacements["HOST"] = origud.host 492 replacements["HOST"] = origud.host
493 replacements["PATH"] = origud.path 493 replacements["PATH"] = origud.path
494 replacements["BASENAME"] = origud.path.split("/")[-1] 494 replacements["BASENAME"] = origud.path.split("/")[-1]
495 replacements["MIRRORNAME"] = origud.host.replace(':','.') + origud.path.replace('/', '.') 495 replacements["MIRRORNAME"] = origud.host.replace(':','.') + origud.path.replace('/', '.').replace('*', '.')
496 496
497 def adduri(uri, ud, uris, uds): 497 def adduri(uri, ud, uris, uds):
498 for line in mirrors: 498 for line in mirrors:
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 1c9a01cf33..3676cc3ddc 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -130,7 +130,7 @@ class Git(FetchMethod):
130 ud.branches[name] = ud.revisions[name] 130 ud.branches[name] = ud.revisions[name]
131 ud.revisions[name] = self.latest_revision(ud.url, ud, d, name) 131 ud.revisions[name] = self.latest_revision(ud.url, ud, d, name)
132 132
133 gitsrcname = '%s%s' % (ud.host.replace(':','.'), ud.path.replace('/', '.')) 133 gitsrcname = '%s%s' % (ud.host.replace(':','.'), ud.path.replace('/', '.').replace('*', '.'))
134 # for rebaseable git repo, it is necessary to keep mirror tar ball 134 # for rebaseable git repo, it is necessary to keep mirror tar ball
135 # per revision, so that even the revision disappears from the 135 # per revision, so that even the revision disappears from the
136 # upstream repo in the future, the mirror will remain intact and still 136 # upstream repo in the future, the mirror will remain intact and still