systemd: add cgroupv2 PACKAGECONFIG
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.
Signed-off-by Luca Boccassi <[email protected]>
--- meta/recipes-core/systemd/systemd_242.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_242.bb +1 -0
@@ -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