From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Francis Laniel <flaniel@linux.microsoft.com>,
Angelo Compagnucci <angelo.compagnucci@gmail.com>
Subject: [Buildroot] [PATCH 7/9] package/sysdig: convert to a virtual package
Date: Fri, 30 Oct 2026 16:24:32 +0100 [thread overview]
Message-ID: <20261030152434.3738285-7-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261030152434.3738285-1-angelo.compagnucci@gmail.com>
sysdig 0.41.4 needs falcosecurity-libs 0.21.0, which only supports
64-bit architectures. In order to provide a different version for
32-bit architectures, convert sysdig into a virtual package, as done for
falcosecurity-libs. For now, it is only provided by sysdig-latest, which
is the former sysdig package, unchanged.
The license and the CPE vendor, which will be shared by the providers,
stay in the virtual package.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
package/sysdig/Config.in | 10 +++++
...llow-to-disable-the-container-plugin.patch | 0
...-only-include-zlib-with-the-bundled-.patch | 0
package/sysdig/sysdig-latest/Config.in | 3 ++
.../sysdig-latest.hash} | 0
package/sysdig/sysdig-latest/sysdig-latest.mk | 40 +++++++++++++++++++
package/sysdig/sysdig.mk | 29 ++------------
7 files changed, 57 insertions(+), 25 deletions(-)
rename package/sysdig/{ => sysdig-latest}/0001-CMakeLists.txt-allow-to-disable-the-container-plugin.patch (100%)
rename package/sysdig/{ => sysdig-latest}/0002-userspace-sysdig-only-include-zlib-with-the-bundled-.patch (100%)
create mode 100644 package/sysdig/sysdig-latest/Config.in
rename package/sysdig/{sysdig.hash => sysdig-latest/sysdig-latest.hash} (100%)
create mode 100644 package/sysdig/sysdig-latest/sysdig-latest.mk
diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in
index 5dff37251a..35f28bf6cd 100644
--- a/package/sysdig/Config.in
+++ b/package/sysdig/Config.in
@@ -11,6 +11,7 @@ config BR2_PACKAGE_SYSDIG
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # falcosecurity-libs
depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # chisels
select BR2_PACKAGE_FALCOSECURITY_LIBS
+ select BR2_PACKAGE_SYSDIG_LATEST
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_JSON_FOR_MODERN_CPP
select BR2_PACKAGE_YAML_CPP
@@ -31,3 +32,12 @@ comment "sysdig needs a glibc or musl toolchain w/ C++, threads, wchar, gcc >= 1
|| BR2_STATIC_LIBS \
|| BR2_TOOLCHAIN_USES_UCLIBC \
|| !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
+
+config BR2_PACKAGE_HAS_SYSDIG
+ bool
+
+config BR2_PACKAGE_PROVIDES_SYSDIG
+ string
+ default "sysdig-latest"
+
+source "package/sysdig/sysdig-latest/Config.in"
diff --git a/package/sysdig/0001-CMakeLists.txt-allow-to-disable-the-container-plugin.patch b/package/sysdig/sysdig-latest/0001-CMakeLists.txt-allow-to-disable-the-container-plugin.patch
similarity index 100%
rename from package/sysdig/0001-CMakeLists.txt-allow-to-disable-the-container-plugin.patch
rename to package/sysdig/sysdig-latest/0001-CMakeLists.txt-allow-to-disable-the-container-plugin.patch
diff --git a/package/sysdig/0002-userspace-sysdig-only-include-zlib-with-the-bundled-.patch b/package/sysdig/sysdig-latest/0002-userspace-sysdig-only-include-zlib-with-the-bundled-.patch
similarity index 100%
rename from package/sysdig/0002-userspace-sysdig-only-include-zlib-with-the-bundled-.patch
rename to package/sysdig/sysdig-latest/0002-userspace-sysdig-only-include-zlib-with-the-bundled-.patch
diff --git a/package/sysdig/sysdig-latest/Config.in b/package/sysdig/sysdig-latest/Config.in
new file mode 100644
index 0000000000..2af84e1917
--- /dev/null
+++ b/package/sysdig/sysdig-latest/Config.in
@@ -0,0 +1,3 @@
+config BR2_PACKAGE_SYSDIG_LATEST
+ bool
+ select BR2_PACKAGE_HAS_SYSDIG
diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig-latest/sysdig-latest.hash
similarity index 100%
rename from package/sysdig/sysdig.hash
rename to package/sysdig/sysdig-latest/sysdig-latest.hash
diff --git a/package/sysdig/sysdig-latest/sysdig-latest.mk b/package/sysdig/sysdig-latest/sysdig-latest.mk
new file mode 100644
index 0000000000..6e0499636c
--- /dev/null
+++ b/package/sysdig/sysdig-latest/sysdig-latest.mk
@@ -0,0 +1,40 @@
+################################################################################
+#
+# sysdig-latest
+#
+################################################################################
+
+SYSDIG_LATEST_VERSION = 0.41.4
+SYSDIG_LATEST_SITE = $(call github,draios,sysdig,$(SYSDIG_LATEST_VERSION))
+SYSDIG_LATEST_SOURCE = sysdig-$(SYSDIG_LATEST_VERSION).tar.gz
+SYSDIG_LATEST_DL_SUBDIR = sysdig
+SYSDIG_LATEST_LICENSE = $(SYSDIG_LICENSE)
+SYSDIG_LATEST_LICENSE_FILES = $(SYSDIG_LICENSE_FILES)
+SYSDIG_LATEST_CPE_ID_VENDOR = $(SYSDIG_CPE_ID_VENDOR)
+SYSDIG_LATEST_CPE_ID_PRODUCT = sysdig
+SYSDIG_LATEST_PROVIDES = sysdig
+SYSDIG_LATEST_SUPPORTS_IN_SOURCE_BUILD = NO
+
+SYSDIG_LATEST_DEPENDENCIES = \
+ falcosecurity-libs \
+ host-pkgconf \
+ json-for-modern-cpp \
+ luainterpreter \
+ ncurses \
+ yaml-cpp
+
+# The driver is built by falcosecurity-libs, which only supports the
+# kernel module.
+SYSDIG_LATEST_CONF_OPTS = \
+ -DUSE_BUNDLED_DEPS=OFF \
+ -DCREATE_TEST_TARGETS=OFF \
+ -DBUILD_SYSDIG_MODERN_BPF=OFF \
+ -DSYSDIG_VERSION=$(SYSDIG_LATEST_VERSION)
+
+# 0001-CMakeLists.txt-allow-to-disable-the-container-plugin.patch
+# The container plugin is either downloaded as a prebuilt binary or
+# built with Go, so it is disabled. It can be provided by a separate
+# package in a following patch.
+SYSDIG_LATEST_CONF_OPTS += -DBUILD_SYSDIG_CONTAINER_PLUGIN=OFF
+
+$(eval $(cmake-package))
diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk
index d04f67a97b..3ee54a556b 100644
--- a/package/sysdig/sysdig.mk
+++ b/package/sysdig/sysdig.mk
@@ -4,33 +4,12 @@
#
################################################################################
-SYSDIG_VERSION = 0.41.4
-SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION))
+# sysdig is provided by sysdig-latest.
+
SYSDIG_LICENSE = Apache-2.0
SYSDIG_LICENSE_FILES = COPYING
SYSDIG_CPE_ID_VENDOR = sysdig
-SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO
-
-SYSDIG_DEPENDENCIES = \
- falcosecurity-libs \
- host-pkgconf \
- json-for-modern-cpp \
- luainterpreter \
- ncurses \
- yaml-cpp
-
-# The driver is built by falcosecurity-libs, which only supports the
-# kernel module.
-SYSDIG_CONF_OPTS = \
- -DUSE_BUNDLED_DEPS=OFF \
- -DCREATE_TEST_TARGETS=OFF \
- -DBUILD_SYSDIG_MODERN_BPF=OFF \
- -DSYSDIG_VERSION=$(SYSDIG_VERSION)
-# 0001-CMakeLists.txt-allow-to-disable-the-container-plugin.patch
-# The container plugin is either downloaded as a prebuilt binary or
-# built with Go, so it is disabled. It can be provided by a separate
-# package in a following patch.
-SYSDIG_CONF_OPTS += -DBUILD_SYSDIG_CONTAINER_PLUGIN=OFF
+$(eval $(virtual-package))
-$(eval $(cmake-package))
+include $(sort $(wildcard package/sysdig/*/*.mk))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-10-30 15:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 15:24 [Buildroot] [PATCH 1/9] package/uthash: new package Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 2/9] package/webrtc-audio-processing: fix build with musl Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 3/9] package/libabseil-cpp: allow building " Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 4/9] package/falcosecurity-libs: bump to version 0.21.0 Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 5/9] package/sysdig: bump to version 0.41.4 Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 6/9] package/falcosecurity-libs: convert to a virtual package Angelo Compagnucci
2026-10-30 15:24 ` Angelo Compagnucci [this message]
2026-10-30 15:24 ` [Buildroot] [PATCH 8/9] package/falcosecurity-libs: add falcosecurity-libs-legacy Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 9/9] package/sysdig: add sysdig-legacy Angelo Compagnucci
2026-10-30 15:58 ` [Buildroot] [PATCH 1/9] package/uthash: new package Fiona Klute via buildroot
-- strict thread matches above, loose matches on Subject: below --
2026-10-30 13:59 Angelo Compagnucci
2026-10-30 13:59 ` [Buildroot] [PATCH 7/9] package/sysdig: convert to a virtual package Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261030152434.3738285-7-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=buildroot@buildroot.org \
--cc=flaniel@linux.microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox