]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd: add cgroupv2 PACKAGECONFIG
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 26 Apr 2019 15:57:57 +0000 (16:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2019 11:58:59 +0000 (12:58 +0100)
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 <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_242.bb

index a559fa0d753e5200a5842c1ad822cd47741c5ef6..33d3e0b000d907984264a09e03949c906b4fddf7 100644 (file)
@@ -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"