releases: Promote aarch64 and demote armv6l
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 18 Aug 2021 18:22:23 +0000 (18:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 18 Aug 2021 18:22:23 +0000 (18:22 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/releases.py

index a0a8cf9..5786dde 100644 (file)
@@ -234,8 +234,12 @@ class Release(Object):
                                arches.append(arch)
                                break
 
-               # Add ARM if available
-               if "arm" in self.arches:
+               # Add aarch64 if available
+               if "aarch64" in self.arches:
+                       arches.append("aarch64")
+
+               # Add ARM before 2.27 if available
+               if "arm" in self.arches and self.sname < "ipfire-2.27-core159":
                        arches.append("arm")
 
                return arches
@@ -254,7 +258,7 @@ class Release(Object):
 
        @property
        def experimental_arches(self):
-               return ("aarch64",)
+               return []
 
        @property
        def files(self):