Drop cma= tweaking in /etc/kernel/postinst.d/z50-raspi-firmware.

See 3f9e671fed in the boot-consistency
branch, later adjusted in 2b2bb9d6d7 for
the master branch and the new bookworm builds.

With the pythonize approach, a single change is needed.
This commit is contained in:
Cyril Brulebois 2021-11-20 15:10:20 +01:00
parent 7bcb42a2ba
commit cab748ab0c
1 changed files with 0 additions and 1 deletions

View File

@ -80,7 +80,6 @@ extra_chroot_shell_cmds = []
if version == '4': if version == '4':
extra_chroot_shell_cmds = [ extra_chroot_shell_cmds = [
"sed -i 's/cma=64M //' /boot/firmware/cmdline.txt", "sed -i 's/cma=64M //' /boot/firmware/cmdline.txt",
"sed -i 's/cma=$CMA //' /etc/kernel/postinst.d/z50-raspi-firmware",
] ]
# XXX: The disparity between suite seems to be a bug, pick a naming # XXX: The disparity between suite seems to be a bug, pick a naming