]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Only run configure scripts for verbs that need a build 2698/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 10 May 2024 09:27:50 +0000 (11:27 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 10 May 2024 10:04:52 +0000 (12:04 +0200)
commit8b899ff19eced45ef2ac03818c334e1d698c40d3
treeb13779ebeddc646a73d8aeae0d664f259ae9eda7
parentebdc71c790524045c8f52e79647b032effd9f072
Only run configure scripts for verbs that need a build

In systemd, we want to use configure scripts to determine whether
qemu was built with support for specific devices and skip running
a test if it wasn't, or otherwise add the device to the qemu arguments.

To make this work, we need to run the configure scripts with the
default tools tree available if one is configured.

Let's change the behavior of configure scripts to only run for verbs
that need a build and run them after building the default tools tree
so that they can be run with the tools tree mounted.
mkosi/__init__.py
mkosi/resources/mkosi.md