]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Make diff debug output in have_cache universal
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Sun, 29 Sep 2024 11:06:14 +0000 (13:06 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 29 Sep 2024 12:13:27 +0000 (14:13 +0200)
mkosi/__init__.py

index 42f6aaac3d7748a7e471e972b06064c0e171cb8a..2fe97cd91c957d0cacea2d93abc9cdebb5407279 100644 (file)
@@ -2779,7 +2779,7 @@ def have_cache(config: Config) -> bool:
             logging.info("Cache manifest mismatch, not reusing cached images")
             if ARG_DEBUG.get():
                 run(
-                    ["diff", manifest, "-"],
+                    ["diff", "-u", "manifest", "-"],
                     input=new,
                     check=False,
                     sandbox=config.sandbox(binary="diff", options=["--bind", manifest, manifest]),