diff --git a/ttm/releaser.py b/ttm/releaser.py index 24eb2694e..670911a44 100644 --- a/ttm/releaser.py +++ b/ttm/releaser.py @@ -81,15 +81,15 @@ def version_from_project(self): return self.iso_build_version(self.project.name, self.project.image_products[0].package, arch=self.project.image_products[0].archs[0]) - def maxsize_for_package(self, package): + def maxsize_for_package(self, package, arch): if re.match(r'.*-mini-.*', package): return 737280000 # a CD needs to match if re.match(r'.*-dvd5-.*', package): return 4700372992 # a DVD needs to match - if re.match(r'livecd-x11', package): - return 681574400 # not a full CD + if re.match(r'livecd-x11', package) and not re.match(r'aarch64', arch): + return 681574400 # not a full CD on x86 if re.match(r'livecd-.*', package): return 999999999 # a GB stick @@ -122,7 +122,7 @@ def package_ok(self, project, package, repository, arch): self.logger.info('No "succeeded" for %s %s %s %s' % (project, package, repository, arch)) return False - maxsize = self.maxsize_for_package(package) + maxsize = self.maxsize_for_package(package, arch) if not maxsize: return True