Enable memory cgroups in rpi (#957)

This commit is contained in:
Itxaka 2024-07-12 11:03:49 +02:00 committed by GitHub
parent 352d372ffc
commit db1669ae02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
packages:
- name: "kairos-overlay-files"
category: "static"
version: "1.1.39"
version: "1.1.40"

View File

@ -29,7 +29,8 @@ function setExtraArgs {
set baseExtraArgs=""
# rpi
if test $KAIROS_MODEL == "rpi3" -o test $KAIROS_MODEL == "rpi4"; then
set baseExtraArgs="modprobe.blacklist=vc4 8250.nr_uarts=1"
# on rpi we need to enable memory cgroup for docker/k3s to work
set baseExtraArgs="modprobe.blacklist=vc4 8250.nr_uarts=1 cgroup_enable=memory"
fi
}