aports/testing/sydbox/no-systemd.patch
omni 441ce57f71 testing/sydbox: upgrade to 3.45.2
- build with panic=unwind, panic=abort unsupported, see Changelog for 3.45.0
- build with system mimalloc2 (also fixes 32b failing fetch while --frozen)
- fetch with $CTARGET
- enable tests, skip those failing in CI
- print where in the prepare/build/check process we are
- enable on loongarch64
- update features
  - enable oci feature on armv7
  - disable oci feature on x86 and loongarch64
  - inline-more feature not used since 3.21.4
- several programs have been promoted from Utilities to Main (or "core")
- add minimal -syd subpackage with syd(1) & syd-tor(1),
  - syd invokes syd-tor itself if you set sandbox/proxy:on
  - let sydbox & sydbox-oci depend on the minimal sydbox-syd subpackge
- add sydbox-test subpackge with syd-test & syd-test-do, tools for
  running integrations tests are useful for testing your sydbox
- exclude syd-log(1) and its manpage as we're systemd free
- update package descriptions
- build syd-tck(1) only on aarch64 & x86_64, where it is supported
- syd-chk was removed in 3.32.1
2025-12-03 02:29:39 +00:00

16 lines
749 B
Diff

Disable "systemd" feature and also "v1" feature (legacy version of cgroups).
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -422,8 +422,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 }