]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Drop DEBIAN_KERNEL_ARCHITECTURES
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 15 Apr 2023 17:44:14 +0000 (19:44 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 17 Apr 2023 09:27:33 +0000 (11:27 +0200)
mkosi/distributions/debian.py

index 3bda1965245c908c14dd01d6fe6b2cae53b003e8..3dc73f298a7fda85efd8817380309d5e7759e9f6 100644 (file)
@@ -145,24 +145,6 @@ DEBIAN_ARCHITECTURES = {
     "x86_64": "amd64",
 }
 
-# And the kernel package names have yet another format, so adjust accordingly
-# uname -m -> linux-image-$arch
-DEBIAN_KERNEL_ARCHITECTURES = {
-    "aarch64": "arm64",
-    "armhfp": "armmp",
-    "alpha": "alpha-generic",
-    "ia64": "itanium",
-    "m68k": "m68k",
-    "parisc64": "parisc64",
-    "ppc": "powerpc",
-    "ppc64": "powerpc64",
-    "ppc64le": "powerpc64le",
-    "riscv64:": "riscv64",
-    "s390x": "s390x",
-    "x86": "i386",
-    "x86_64": "amd64",
-}
-
 
 def debootstrap_knows_arg(arg: str) -> bool:
     return bytes("invalid option", "UTF-8") not in run(["debootstrap", arg],