1
From: Gaudenz Steinlin <gaudenz@debian.org>
2
Date: Mon, 16 Apr 2012 13:54:23 +0200
3
Subject: Fix location of Debian daily builds
5
Content-Type: text/plain; charset=UTF-8
6
Content-Transfer-Encoding: 8bit
8
When selecting a distribution tree over http as an installation source
9
the URL for Debian daily builds is not recognized because the layout
10
changed. Daily builds are no longer hosted on joeyhs p.d.o site but on
13
Signed-off-by: Guido Günther <agx@sigxcpu.org>
15
virtinst/OSDistro.py | 10 +++++-----
16
1 file changed, 5 insertions(+), 5 deletions(-)
18
diff --git a/virtinst/OSDistro.py b/virtinst/OSDistro.py
19
index f30e6e4..69be4af 100644
20
--- a/virtinst/OSDistro.py
21
+++ b/virtinst/OSDistro.py
22
@@ -889,16 +889,16 @@ class SuseDistro(Distro):
24
class DebianDistro(Distro):
25
# ex. http://ftp.egr.msu.edu/debian/dists/sarge/main/installer-i386/
26
- # daily builds: http://people.debian.org/~joeyh/d-i/
27
+ # daily builds: http://d-i.debian.org/daily-images/amd64/
32
def __init__(self, uri, arch, vmtype=None, scratchdir=None):
33
Distro.__init__(self, uri, arch, vmtype, scratchdir)
34
- if uri.count("installer-i386"):
35
+ if uri.count("i386"):
36
self._treeArch = "i386"
37
- elif uri.count("installer-amd64"):
38
+ elif uri.count("amd64"):
39
self._treeArch = "amd64"
41
self._treeArch = "i386"
42
@@ -925,9 +925,9 @@ class DebianDistro(Distro):
43
if fetcher.hasFile("%s/MANIFEST" % self._prefix):
46
- elif fetcher.hasFile("images/daily/MANIFEST"):
47
+ elif fetcher.hasFile("daily/MANIFEST"):
49
- self._prefix = "images/daily"
50
+ self._prefix = "daily"
51
self._set_media_paths()