mkosi: Add extra tools tree packages required to run integration tests
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 2 Nov 2024 21:13:31 +0000 (22:13 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 2 Nov 2024 22:18:41 +0000 (23:18 +0100)
commitd980aee1e8e057b12fcbd20e8300248091d000d5
treeef9eb102f55caf27b7769a66755aa2d4ea9fc042
parent4839fb527ff3e28f86f3ae224c6181834e67fe74
mkosi: Add extra tools tree packages required to run integration tests

With https://github.com/systemd/mkosi/pull/3164, we'll be able to run
arbitrary commands in the mkosi sandbox, which has /usr from the tools
tree if one is configured. Let's add the required packages to be able to
run meson to setup the integration tests. This allows running the integration
tests without having to install meson or other build dependencies on the
host system.

"""
mkosi sandbox meson setup build
mkosi sandbox meson compile -C build mkosi
mkosi sandbox env SYSTEMD_INTEGRATION_TESTS=1 meson test -C build ...
"""
mkosi.conf.d/05-tools/mkosi.conf [new file with mode: 0644]
mkosi.conf.d/05-tools/mkosi.conf.d/arch.conf [new file with mode: 0644]
mkosi.conf.d/05-tools/mkosi.conf.d/centos-fedora.conf [new file with mode: 0644]
mkosi.conf.d/05-tools/mkosi.conf.d/debian-ubuntu.conf [new file with mode: 0644]
mkosi.conf.d/05-tools/mkosi.conf.d/opensuse.conf [new file with mode: 0644]