Initial Commit
- initial default booting image
This commit is contained in:
34
package/sysdig/Config.in
Normal file
34
package/sysdig/Config.in
Normal file
@@ -0,0 +1,34 @@
|
||||
config BR2_PACKAGE_SYSDIG
|
||||
bool "sysdig"
|
||||
depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # falcosecurity-libs
|
||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # falcosecurity-libs
|
||||
depends on BR2_LINUX_KERNEL # falcosecurity-libs
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # falcosecurity-libs -> grpc -> libabseil-cpp
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # falcosecurity-libs
|
||||
depends on !BR2_STATIC_LIBS # falcosecurity-libs
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # falcosecurity-libs
|
||||
depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # falcosecurity-libs
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC # falcosecurity-libs
|
||||
select BR2_PACKAGE_FALCOSECURITY_LIBS
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_JSON_FOR_MODERN_CPP
|
||||
select BR2_PACKAGE_YAML_CPP
|
||||
help
|
||||
Sysdig is open source, system-level exploration:
|
||||
capture system state and activity from a running Linux
|
||||
instance, then save, filter and analyze.
|
||||
Think of it as strace + tcpdump + lsof + awesome sauce.
|
||||
With a little Lua cherry on top.
|
||||
|
||||
https://github.com/draios/sysdig/wiki
|
||||
|
||||
comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built"
|
||||
depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS \
|
||||
|| !BR2_TOOLCHAIN_USES_GLIBC \
|
||||
|| !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
|
||||
3
package/sysdig/sysdig.hash
Normal file
3
package/sysdig/sysdig.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# sha256 locally computed
|
||||
sha256 6b96797859002ab69a2bed4fdba1c7fe8064ecf8661621ae7d8fbf8599ffa636 sysdig-0.29.3.tar.gz
|
||||
sha256 a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702 COPYING
|
||||
38
package/sysdig/sysdig.mk
Normal file
38
package/sysdig/sysdig.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# sysdig
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SYSDIG_VERSION = 0.29.3
|
||||
SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION))
|
||||
SYSDIG_LICENSE = Apache-2.0
|
||||
SYSDIG_LICENSE_FILES = COPYING
|
||||
SYSDIG_CPE_ID_VENDOR = sysdig
|
||||
SYSDIG_CONF_OPTS = \
|
||||
-DENABLE_DKMS=OFF \
|
||||
-DUSE_BUNDLED_DEPS=OFF \
|
||||
-DCREATE_TEST_TARGETS=OFF
|
||||
SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
SYSDIG_DEPENDENCIES = \
|
||||
falcosecurity-libs \
|
||||
ncurses \
|
||||
json-for-modern-cpp \
|
||||
yaml-cpp
|
||||
|
||||
# Don't build the driver as part of the 'standard' procedure, it has been built
|
||||
# by falcosecurity-libs.mk.
|
||||
# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host
|
||||
# one there.
|
||||
SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \
|
||||
-DBUILD_DRIVER=OFF \
|
||||
-DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \
|
||||
-DDRIVER_NAME=$(FALCOSECURITY_LIBS_DRIVER_NAME) \
|
||||
-DENABLE_DKMS=OFF \
|
||||
-DUSE_BUNDLED_DEPS=OFF \
|
||||
-DWITH_CHISEL=ON \
|
||||
-DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \
|
||||
-DSYSDIG_VERSION=$(SYSDIG_VERSION)
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user