]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: Run genkey command with --force
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 27 May 2024 14:26:25 +0000 (16:26 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 27 May 2024 15:48:55 +0000 (17:48 +0200)
Sometimes meson decides to rerun the command even if the files already
exist. Let's run with --force so we don't fail if that's the case.

meson.build

index 738fb0b17f5f99d98731af935ee45382cf13c5dc..499f0f4d796a549fb8163a77b8591a359636fac2 100644 (file)
@@ -2622,7 +2622,7 @@ endforeach
 if mkosi.found()
         genkey = custom_target('genkey',
                 output : ['mkosi.key', 'mkosi.crt'],
-                command : [mkosi, 'genkey'],
+                command : [mkosi, '--force', 'genkey'],
                 depends : mkosi_depends,
         )