aports/testing/sydbox/no-systemd.patch
omni 2dff03600e testing/sydbox: upgrade to 3.48.4
- add new core utility syd-tsc
- align patches
- remove no longer needed patch
- default malloc is used for 32bit architectures
- build with thin LTO to avoid OOM issues, mainly on aarch64 & x86_64
2026-03-16 22:10:49 +01:00

16 lines
749 B
Diff

Disable "systemd" feature and also "v1" feature (legacy version of cgroups).
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -435,8 +435,8 @@ tcmalloc = { version = "0.3", default-fe
# syd-oci deps.
clap = { version = "4.5", optional = true }
-libcgroups = { version = "0.5", optional = true }
-libcontainer = { version = "0.5", optional = true }
+libcgroups = { version = "0.5", optional = true, default-features = false, features = ["v2"] }
+libcontainer = { version = "0.5", optional = true, default-features = false, features = ["v2", "libseccomp"] }
liboci-cli = { version = "0.5", optional = true }
oci-spec = { version = "0.8", default-features = false, features = ["runtime"], optional = true }
tabwriter = { version = "1.4", optional = true }