From e8396a9f1a781884a83fcafb4b5efa81f36831bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Behrmann?= Date: Mon, 2 Dec 2024 10:42:29 +0100 Subject: [PATCH] debian: use pretty name in error message This way the error message works better for downstreams. --- mkosi/distributions/debian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkosi/distributions/debian.py b/mkosi/distributions/debian.py index 7720f583f..b3daf4c92 100644 --- a/mkosi/distributions/debian.py +++ b/mkosi/distributions/debian.py @@ -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 -- 2.47.2