-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add packaging of the falco_probe kernel module
See also https://falco.org/docs/installation/
- Loading branch information
1 parent
239be7e
commit 2ce9514
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
config BR2_PACKAGE_FALCO_PROBE | ||
bool "falco-probe" | ||
default y | ||
depends on BR2_LINUX_KERNEL | ||
select BR2_PACKAGE_NCURSES | ||
select BR2_PACKAGE_LIBYAML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# falco | ||
sha256 87c60273c35d544256e471b403497be33f24df662673338236ec92ba3fc1f8b7 0.19.0.tar.gz | ||
# sysdig | ||
sha256 6e477ac5fe9d3110b870bd4495f01541373a008c375a1934a2d1c46798b6bad6 146a431edf95829ac11bfd9c85ba3ef08789bffe.tar.gz |
34 changes: 34 additions & 0 deletions
34
deploy/iso/minikube-iso/package/falco-probe/falco-probe.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
######################################################################## | ||
# | ||
# Falco probe (driver) kernel module | ||
# | ||
######################################################################## | ||
|
||
FALCO_PROBE_VERSION = 0.19.0 | ||
FALCO_PROBE_SITE = https://github.com/falcosecurity/falco/archive | ||
FALCO_PROBE_SOURCE = $(FALCO_PROBE_VERSION).tar.gz | ||
FALCO_PROBE_DEPENDENCIES += ncurses libyaml | ||
FALCO_PROBE_LICENSE = Apache-2.0 | ||
FALCO_PROBE_LICENSE_FILES = COPYING | ||
|
||
# see cmake/modules/sysdig-repo/CMakeLists.txt | ||
SYSDIG_VERSION = 146a431edf95829ac11bfd9c85ba3ef08789bffe | ||
FALCO_PROBE_EXTRA_DOWNLOADS = https://github.com/draios/sysdig/archive/${SYSDIG_VERSION}.tar.gz | ||
|
||
define FALCO_PROBE_SYSDIG_SRC | ||
sed -e 's|URL ".*"|URL "'$(BR2_DL_DIR)/falco/$(SYSDIG_VERSION).tar.gz'"|' -i $(@D)/cmake/modules/sysdig-repo/CMakeLists.txt | ||
endef | ||
|
||
FALCO_PROBE_POST_EXTRACT_HOOKS += FALCO_PROBE_SYSDIG_SRC | ||
|
||
FALCO_PROBE_CONF_OPTS = -DFALCO_VERSION=$(FALCO_PROBE_VERSION) | ||
FALCO_PROBE_CONF_OPTS += -DSYSDIG_VERSION=$(SYSDIG_VERSION) | ||
FALCO_PROBE_CONF_OPTS += -DUSE_BUNDLED_DEPS=ON | ||
|
||
FALCO_PROBE_MAKE_OPTS = driver KERNELDIR=$(LINUX_DIR) | ||
FALCO_PROBE_INSTALL_OPTS = install_driver | ||
FALCO_PROBE_INSTALL_STAGING_OPTS = INSTALL_MOD_PATH=$(STAGING_DIR) install_driver | ||
FALCO_PROBE_INSTALL_TARGET_OPTS = INSTALL_MOD_PATH=$(TARGET_DIR) install_driver | ||
|
||
$(eval $(kernel-module)) | ||
$(eval $(cmake-package)) |