Skip to contentSkip to conversation

systemd: add cgroupv2 PACKAGECONFIG

PATCH New [email protected] 1 participant 1 message Apr 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: add cgroupv2 PACKAGECONFIG

From: Luca Boccassi <[email protected]>

Allow users to change the default cgroup mode at build time and use the unified hierarchy mode.
Disabled by default - hybrid is the default upstream value.

---
 meta/recipes-core/systemd/systemd_242.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_242.bb +1 -0
index a559fa0d75..33d3e0b000 100644
@@ -115,6 +115,7 @@ PACKAGECONFIG[audit] = "-Daudit=true,-Daudit=false,audit"
 PACKAGECONFIG[backlight] = "-Dbacklight=true,-Dbacklight=false"
 PACKAGECONFIG[binfmt] = "-Dbinfmt=true,-Dbinfmt=false"
 PACKAGECONFIG[bzip2] = "-Dbzip2=true,-Dbzip2=false,bzip2"
+PACKAGECONFIG[cgroupv2] = "-Ddefault-hierarchy=unified,-Ddefault-hierarchy=hybrid"
 PACKAGECONFIG[coredump] = "-Dcoredump=true,-Dcoredump=false"
 PACKAGECONFIG[cryptsetup] = "-Dlibcryptsetup=true,-Dlibcryptsetup=false,cryptsetup"
 PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
Signature · 1 line
2.20.1