From: Jörg Behrmann Date: Mon, 2 Dec 2024 09:42:29 +0000 (+0100) Subject: debian: use pretty name in error message X-Git-Tag: v25~130^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3254%2Fhead;p=thirdparty%2Fmkosi.git debian: use pretty name in error message This way the error message works better for downstreams. --- 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