bootscript: Remove deprecated bootarg "swapaccount=1"

The "swapaccount=" option has been deprecated in 6.1. Disable it in almost all boot scripts except "boot-sun50iw9.cmd" since that one is used in sun50iw9 legacy kernel, which is version 4.9.

Link to kernel commit:
b25806dcd3
This commit is contained in:
ColorfulRhino
2024-06-08 01:55:13 +02:00
committed by Igor
parent d75b1816ff
commit 2937ceb6de
11 changed files with 11 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ fi
if test "${disable_vu7}" = "false"; then setenv usbhidquirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
setenv bootargs "root=PARTUUID=${partuuid} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 coherent_pool=2M loglevel=${verbosity} ubootpart=${partuuid} libata.force=noncq usb-storage.quirks=${usbstoragequirks} ${usbhidquirks} ${extraargs} ${extraboardargs}"
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=memory swapaccount=1"; fi
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=memory"; fi
echo "Mainline bootargs: ${bootargs}"
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd