mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-09 18:49:22 +00:00
fix(falco-driver-loader): target for ubuntu is ubuntu-generic
The upstream files for the generic Ubuntu kernel are all called ubuntu-generic see: https://dl.bintray.com/falcosecurity/driver/96bd9bc560f67742738eb7255aeb4d03046b8045/ Signed-off-by: Reshad Patuck <reshad@patuck.net>
This commit is contained in:
@@ -131,7 +131,7 @@ get_target_id() {
|
|||||||
if [[ $KERNEL_RELEASE == *"aws"* ]]; then
|
if [[ $KERNEL_RELEASE == *"aws"* ]]; then
|
||||||
TARGET_ID="ubuntu-aws"
|
TARGET_ID="ubuntu-aws"
|
||||||
else
|
else
|
||||||
TARGET_ID="ubuntu"
|
TARGET_ID="ubuntu-generic"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
(*)
|
(*)
|
||||||
@@ -438,4 +438,4 @@ if [ -v FALCO_BPF_PROBE ] || [ "${1}" = "bpf" ]; then
|
|||||||
load_bpf_probe
|
load_bpf_probe
|
||||||
else
|
else
|
||||||
load_kernel_module
|
load_kernel_module
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user