projects/aports·blob master · refs

15 lines · 749 B

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