mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Without systemd package/docker-engine requires another way to mount /sys/fs/cgroup, so far provided by BR2_PACKAGE_CGROUPFS_MOUNT for cgroup v1. Replace this with BR2_PACKAGE_CGROUPFS_V2_MOUNT for cgroup v2 support. 5.2 is the minimum recommended version for cgroup v2 support according to the Docker documentation: "v4.15 or later (v5.2 or later is recommended)" [1]. Depending on the selected container runtime users may need to adjust kernel configurations to enable options required by that runtime with cgroup v2 (e.g. CONFIG_CGROUP_BPF for runc). Propagate dependencies accordingly: The Docker btrfs filesystem driver does not need a separate and lower minimum headers version, package/mender-update-modules needs to apply the new "depends on". [1] https://docs.docker.com/engine/containers/runmetrics/#running-docker-on-cgroup-v2 Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de> Signed-off-by: Romain Naour <romain.naour@smile.fr>