Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mxgrub: Use cgroup v2 (unified cgroup hierarchy)
Add kernel command line parameter "systemd.unified_cgroup_hierarchy" to
tell systemd do mount and use cgroup v2 instead of the legacy cgroup v1
or hybrid v1/v2 mode.
  • Loading branch information
donald committed Jan 20, 2022
1 parent 611389c commit 2b40bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxgrub/mxgrub
Expand Up @@ -240,7 +240,7 @@ sub scan_mariux {
}
}

our $KERNEL_PARAMETER="ro crashkernel=64G-:256M console=ttyS0,115200n8 console=tty0 init=/bin/systemd audit=0 random.trust_cpu=on";
our $KERNEL_PARAMETER="ro crashkernel=64G-:256M console=ttyS0,115200n8 console=tty0 init=/bin/systemd audit=0 random.trust_cpu=on systemd.unified_cgroup_hierarchy";

sub update_grub_cfg {
my $kernellist='';
Expand Down

0 comments on commit 2b40bec

Please sign in to comment.