eBPF-based security platform
ci: install the Python library that spatch's rules load
Daniel Borkmann6094303002ed
diff --git a/.github/scripts/tests.sh b/.github/scripts/tests.shindex bd7eaee1..8426e065 100755--- a/.github/scripts/tests.sh+++ b/.github/scripts/tests.sh@@ -285,7 +285,9 @@ setup() {build_test_kernelfi- set -- rpm coccinelle+ # spatch opens libpython3.X.so by that name for the Python of its+ # rules, and only the -dev package installs it.+ set -- rpm coccinelle libpython3-devif [ "${VM:-1}" != 0 ]; thenset -- "$@" autoconf autoconf-archive automake cloud-image-utils \dracut-core file isc-dhcp-client libguestfs-tools libltdl-dev \diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.ymlindex 0f821d9e..c30a33d3 100644--- a/.github/workflows/sanitizers.yml+++ b/.github/workflows/sanitizers.yml@@ -85,6 +85,7 @@ jobs:libcurl4-openssl-dev \libelf-dev \libluajit-5.1-dev \+ libpython3-dev \libtpms-dev \libtss2-dev \zlib1g-devdiff --git a/Documentation/contribute/testing/testing.rst b/Documentation/contribute/testing/testing.rstindex e9a23e0c..94c704a9 100644--- a/Documentation/contribute/testing/testing.rst+++ b/Documentation/contribute/testing/testing.rst@@ -25,7 +25,8 @@ Before you begintests, ``libtpms-dev`` for the TPM simulator helper and ``rpmbuild``for the rpm packaging test.- For the ``ci-checks`` tests: ``git``, ``jq``, ``pkg-config``,- ``readelf``, ``spatch`` from Coccinelle and the kernel's+ ``readelf``, ``spatch`` from Coccinelle with ``libpython3-dev``,+ which its Python rules load, and the kernel's``checkpatch.pl``, which ``check-style.sh`` fetches into``build/checkpatch/`` on its first run. A test whose tool is missingskips, and so does t0007's check of the operator binaries until they