mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
mkosi: ruff is not available on all distros
Refactor to only install ruff where it is available
This commit is contained in:
parent
68a2a43c9b
commit
fa8a55a914
@ -7,4 +7,3 @@ ToolsTreePackages=
|
||||
meson
|
||||
mypy
|
||||
pkgconf
|
||||
ruff
|
||||
|
@ -10,5 +10,6 @@ ToolsTreePackages=
|
||||
libmicrohttpd
|
||||
python-jinja
|
||||
python-pytest
|
||||
ruff
|
||||
tpm2-tss
|
||||
util-linux-libs
|
||||
|
8
mkosi.conf.d/05-tools/mkosi.conf.d/fedora.conf
Normal file
8
mkosi.conf.d/05-tools/mkosi.conf.d/fedora.conf
Normal file
@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
[Match]
|
||||
ToolsTreeDistribution=fedora
|
||||
|
||||
[Build]
|
||||
ToolsTreePackages=
|
||||
ruff
|
@ -12,6 +12,7 @@ ToolsTreePackages=
|
||||
pkgconfig(fdisk)
|
||||
pkgconfig(libmicrohttpd)
|
||||
pkgconfig(mount)
|
||||
python3-ruff
|
||||
tss2-devel
|
||||
python3-jinja2
|
||||
python3-pytest
|
||||
|
Loading…
Reference in New Issue
Block a user