]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
debian: use pretty name in error message 3254/head
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 2 Dec 2024 09:42:29 +0000 (10:42 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 2 Dec 2024 09:42:29 +0000 (10:42 +0100)
This way the error message works better for downstreams.

mkosi/distributions/debian.py

index 7720f583f5fb77ab1ac18001a587c0e28cf47184..b3daf4c92f730f83616b68323189740b37690061 100644 (file)
@@ -240,7 +240,7 @@ class Installer(DistributionInstaller):
         }.get(arch)  # fmt: skip
 
         if not a:
-            die(f"Architecture {arch} is not supported by Debian")
+            die(f"Architecture {arch} is not supported by {cls.pretty_name()}")
 
         return a