summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-07-01 15:30:36 -0400
committerMike Gilbert <floppym@gentoo.org>2024-07-01 15:31:00 -0400
commitdedee352804b32f4e0e354e06d83b6963e69af85 (patch)
tree9dc93c46966472f2d3c4a3ad7784e2248141a4f2 /sys-apps/systemd
parentprofiles: drop >=sys-apps/systemd-256 mask (diff)
downloadgentoo-dedee352804b32f4e0e354e06d83b6963e69af85.tar.gz
gentoo-dedee352804b32f4e0e354e06d83b6963e69af85.tar.bz2
gentoo-dedee352804b32f4e0e354e06d83b6963e69af85.zip
sys-apps/systemd: update pkg_pretend check
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/systemd-256.1-r3.ebuild (renamed from sys-apps/systemd/systemd-256.1-r2.ebuild)4
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/systemd/systemd-256.1-r2.ebuild b/sys-apps/systemd/systemd-256.1-r3.ebuild
index 178565ec7d40..78f1f78f01df 100644
--- a/sys-apps/systemd/systemd-256.1-r2.ebuild
+++ b/sys-apps/systemd/systemd-256.1-r3.ebuild
@@ -190,8 +190,8 @@ check_cgroup_layout() {
eerror "This system appears to be booted with the 'hybrid' cgroup layout."
eerror "This layout obsolete and is disabled in systemd."
- if grep -qF 'systemd.legacy_systemd_cgroup_controller' /proc/cmdline; then
- eerror "Remove the systemd.legacy_systemd_cgroup_controller option"
+ if grep -qF 'systemd.unified_cgroup_hierarchy'; then
+ eerror "Remove the systemd.unified_cgroup_hierarchy option"
eerror "from the kernel command line and reboot."
die "hybrid cgroup layout detected"
fi
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 178565ec7d40..78f1f78f01df 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -190,8 +190,8 @@ check_cgroup_layout() {
eerror "This system appears to be booted with the 'hybrid' cgroup layout."
eerror "This layout obsolete and is disabled in systemd."
- if grep -qF 'systemd.legacy_systemd_cgroup_controller' /proc/cmdline; then
- eerror "Remove the systemd.legacy_systemd_cgroup_controller option"
+ if grep -qF 'systemd.unified_cgroup_hierarchy'; then
+ eerror "Remove the systemd.unified_cgroup_hierarchy option"
eerror "from the kernel command line and reboot."
die "hybrid cgroup layout detected"
fi