]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Simplify tools tree out of date error
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 12 Apr 2025 07:52:29 +0000 (09:52 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 12 Apr 2025 18:55:08 +0000 (20:55 +0200)
A tools tree is either not used at all or used for all images, so
no point in mentioning a specific image.

mkosi/__init__.py

index 89380cc6dde66c0c80caff2965490abd0099f448..c282d3d5051aa530bfd13504a01a5beeea3d1eb6 100644 (file)
@@ -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: