From: Daan De Meyer Date: Sat, 12 Apr 2025 07:52:29 +0000 (+0200) Subject: Simplify tools tree out of date error X-Git-Tag: v26~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7e90514fa298a03b5880bb4c9d79dc5e7d55eca;p=thirdparty%2Fmkosi.git Simplify tools tree out of date error A tools tree is either not used at all or used for all images, so no point in mentioning a specific image. --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 89380cc6d..c282d3d50 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -5030,8 +5030,7 @@ def run_verb(args: Args, tools: Optional[Config], images: Sequence[Config], *, r if tools and not have_cache(tools): if (args.rerun_build_scripts or args.verb != Verb.build) and args.force == 0: die( - f"Default tools tree requested for image '{last.image}' but it is out-of-date or has not " - "been built yet", + "Default tools tree requested but it is out-of-date or has not been built yet", hint="Make sure to (re)build the tools tree first with 'mkosi build' or use '--force'", ) elif last.incremental == Incremental.strict: