Drop cma= tweaking in /etc/kernel/postinst.d/z50-raspi-firmware.
See3f9e671fed
in the boot-consistency branch, later adjusted in2b2bb9d6d7
for the master branch and the new bookworm builds. With the pythonize approach, a single change is needed.
This commit is contained in:
parent
7bcb42a2ba
commit
cab748ab0c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue