Skip to content

Commit

Permalink
[Kernel Config] disable cgroupv1 with built-in cmdline (#78)
Browse files Browse the repository at this point in the history
Fixes issues when using systemd 256

Ref: microsoft/WSL#6662

Co-authored-by: Andarwinux <[email protected]>
  • Loading branch information
Andarwinux and Andarwinux authored Nov 16, 2024
1 parent f5088cb commit 9bcd70d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wsl2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ CONFIG_EFI_MIXED=y
CONFIG_HZ_1000=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_LEGACY_VSYSCALL_NONE=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="cgroup_no_v1=all systemd.unified_cgroup_hierarchy=1"
# CONFIG_SUSPEND is not set
# CONFIG_ACPI_SPCR_TABLE is not set
# CONFIG_ACPI_REV_OVERRIDE_POSSIBLE is not set
Expand Down

0 comments on commit 9bcd70d

Please sign in to comment.