From: Daan De Meyer Date: Wed, 14 Jan 2026 18:25:08 +0000 (+0100) Subject: opensuse: Simplify error messages slightly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e18dd6b9051fa48d285d4faef28e475fa11274a8;p=thirdparty%2Fmkosi.git opensuse: Simplify error messages slightly --- diff --git a/mkosi/distribution/opensuse.py b/mkosi/distribution/opensuse.py index b6207476f..173e4f34c 100644 --- a/mkosi/distribution/opensuse.py +++ b/mkosi/distribution/opensuse.py @@ -266,7 +266,7 @@ def fetch_gpgkeys(context: Context) -> list[Path]: if key.startswith("file://"): path = key.removeprefix("file://").lstrip("/") if not (context.config.tools() / path).exists(): - die(f"Local repository GPG key specified ({key}) but not found at /{path}") + die(f"Local GPG key specified ({key}) but not found at /{path}") files.add(context.config.tools() / path) elif key.startswith("https://") and context.config.repository_key_fetch: @@ -275,7 +275,7 @@ def fetch_gpgkeys(context: Context) -> list[Path]: files.add(context.workspace / "keys" / Path(key).name) else: die( - f"Remote repository GPG key specified ({key}) but RepositoryKeyFetch= is disabled", + f"Remote GPG key specified ({key}) but RepositoryKeyFetch= is disabled", hint="Enable RepositoryKeyFetch= or provide local keys", )