mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Starting with this up-to-date release we can finally rely on properly versioned falcosecurity-libs, support more platforms and eventually add support for the eBPF probe, obviating the need for the classic scap kernel module. Note that this release has the "modern eBPF" probe disabled until the necessary dependencies (llvm etc.) have been sorted out and tested. Closes: https://bugs.gentoo.org/934889 Closes: https://github.com/gentoo/gentoo/pull/37446 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
|
|
Sanitize the scap loader script to not attempt driver downloads or compilation
|
|
by default, which would not work anyway as sysdig does not host prebuilt modules
|
|
for Gentoo.
|
|
|
|
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
|
|
|
|
--- sysdig-0.38.0/scripts/scap-driver-loader.in~ 2024-06-17 11:14:55.000000000 +0200
|
|
+++ sysdig-0.38.0/scripts/scap-driver-loader.in 2024-06-17 11:14:55.000000000 +0200
|
|
@@ -662,8 +662,8 @@ print_usage() {
|
|
echo "Options:"
|
|
echo " --help show brief help"
|
|
echo " --clean try to remove an already present driver installation"
|
|
- echo " --compile try to compile the driver locally (default true)"
|
|
- echo " --download try to download a prebuilt driver (default true)"
|
|
+ echo " --compile try to compile the driver locally (default false)"
|
|
+ echo " --download try to download a prebuilt driver (default false)"
|
|
echo " --source-only skip execution and allow sourcing in another script"
|
|
echo ""
|
|
echo "Environment variables:"
|
|
@@ -770,11 +770,6 @@ while test $# -gt 0; do
|
|
esac
|
|
done
|
|
|
|
-if [ -z "$has_opts" ]; then
|
|
- ENABLE_COMPILE="yes"
|
|
- ENABLE_DOWNLOAD="yes"
|
|
-fi
|
|
-
|
|
if [ -z "$source_only" ]; then
|
|
echo "* Running scap-driver-loader for: driver version=${DRIVER_VERSION}, arch=${ARCH}, kernel release=${KERNEL_RELEASE}, kernel version=${KERNEL_VERSION}"
|
|
|