Skip to contentSkip to conversation

fetch2/osc: Remove hardcoded url

PATCH New Richard Purdie 1 participant 1 message Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetch2/osc: Remove hardcoded url

This shouldn't be in here, use a variable instead.

bitbake/lib/bb/fetch2/osc.py +1 -1
index 3d87796..3dfa2a7 100644
@@ -124,7 +124,7 @@ class Osc(FetchMethod):
         f.write("scheme = http\n")
         f.write("su-wrapper = su -c\n")
         f.write("build-root = %s\n" % data.expand('${WORKDIR}', d))
-        f.write("urllist = http://moblin-obs.jf.intel.com:8888/build/%(project)s/%(repository)s/%(buildarch)s/:full/%(name)s.rpm\n")
+        f.write("urllist = %s\n" % d.getVar("OSCURLLIST", True))
         f.write("extra-pkgs = gzip\n")
         f.write("\n")
         f.write("[%s]\n" % ud.host)