]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tools: use -f in mkosi summary in fetch-distro.py
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Dec 2025 11:33:13 +0000 (11:33 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Dec 2025 11:35:21 +0000 (11:35 +0000)
$ ./tools/fetch-distro.py -u fedora
+ mkosi --json -d fedora summary
‣ Ignoring --distribution from the CLI. Run with -f to rebuild the image with this setting

Follow-up for 35f6e5c3278bda935b67249a9ee61e9f6252bb6f

tools/fetch-distro.py

index 2dad51be24cf6f098f9a6cbdebbb0e9d8e607676..4387af839742c957134996111f6cb1457c935f99 100755 (executable)
@@ -35,7 +35,7 @@ def parse_args():
     return p.parse_args()
 
 def read_config(distro: str):
-    cmd = ['mkosi', '--json', '-d', distro, 'summary']
+    cmd = ['mkosi', '--json', '-d', distro, '-f', 'summary']
     if args.profile:
         cmd += ['--profile', args.profile]
     print(f"+ {shlex.join(cmd)}")