@property
def arch(self):
- known_arches = ("i586", "arm")
+ known_arches = ("x86_64", "i586", "arm")
for arch in known_arches:
if arch in self.basename:
f.close()
def supports_arch(self, arch):
- # Currently there is nothing else than i586 supported
- if arch == "i586":
- return True
-
- return False
+ return arch in ("x86_64", "i586")
def supports_platform(self, platform):
# Currently there is nothing else than pcbios supported
assert self.supports_arch(arch)
assert self.supports_platform(platform)
+ if self.sname >= "ipfire-2.19-core100":
+ return "http://downloads.ipfire.org/%s/images/%s/vmlinuz" % (self.path, arch)
+
return "http://downloads.ipfire.org/%s/images/vmlinuz" % self.path
def netboot_initrd_url(self, arch, platform):
assert self.supports_arch(arch)
assert self.supports_platform(platform)
+ if self.sname >= "ipfire-2.19-core100":
+ return "http://downloads.ipfire.org/%s/images/%s/instroot" % (self.path, arch)
+
return "http://downloads.ipfire.org/%s/images/instroot" % self.path
def netboot_args(self, arch, platform):