bcm2711: cmdline.txt: enable "docker optimizations" similar to u-boot boards
- most u-boot based boards get `cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1` by default (so work with docker/containerd/k8s/etc) - Gunjan pointed out that "remove swapaccount=1 - Its a deprecated parameter and causes a warning in the kernel logs"
This commit is contained in:
parent
565a33d62d
commit
b48348bd77
@ -292,7 +292,7 @@ function pre_umount_final_image__write_raspi_config() {
|
||||
|
||||
function pre_umount_final_image__write_raspi_cmdline() {
|
||||
cat <<- EOD > "${MOUNT}"/boot/firmware/cmdline.txt
|
||||
console=serial0,115200 console=tty1 loglevel=1 root=LABEL=${ROOT_FS_LABEL} rootfstype=${ROOTFS_TYPE} fsck.repair=yes rootwait logo.nologo
|
||||
console=serial0,115200 console=tty1 loglevel=1 root=LABEL=${ROOT_FS_LABEL} rootfstype=${ROOTFS_TYPE} fsck.repair=yes rootwait logo.nologo cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
|
||||
EOD
|
||||
|
||||
if [[ "${SHOW_DEBUG}" == "yes" ]]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user