mkosi: ruff is not available on all distros
Refactor to only install ruff where it is available
This commit is contained in:
committed by
Luca Boccassi
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user