mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +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
|
meson
|
||||||
mypy
|
mypy
|
||||||
pkgconf
|
pkgconf
|
||||||
ruff
|
|
||||||
|
@ -10,5 +10,6 @@ ToolsTreePackages=
|
|||||||
libmicrohttpd
|
libmicrohttpd
|
||||||
python-jinja
|
python-jinja
|
||||||
python-pytest
|
python-pytest
|
||||||
|
ruff
|
||||||
tpm2-tss
|
tpm2-tss
|
||||||
util-linux-libs
|
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(fdisk)
|
||||||
pkgconfig(libmicrohttpd)
|
pkgconfig(libmicrohttpd)
|
||||||
pkgconfig(mount)
|
pkgconfig(mount)
|
||||||
|
python3-ruff
|
||||||
tss2-devel
|
tss2-devel
|
||||||
python3-jinja2
|
python3-jinja2
|
||||||
python3-pytest
|
python3-pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user