From: Paul Hänsch Date: Fri, 31 Jul 2026 13:49:24 +0000 (+0200) Subject: suppress kernel cli options that prevent headless booting X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=b30406190cd16cc86d6c9bb0ef8538719cfd8b8c;p=blast suppress kernel cli options that prevent headless booting --- diff --git a/targets/raspberrypi.mk b/targets/raspberrypi.mk index 1ebd79d..29ddb26 100644 --- a/targets/raspberrypi.mk +++ b/targets/raspberrypi.mk @@ -89,6 +89,11 @@ _format_boot: ${PBOOT} _format: _format_root _format_boot +${CFGROOT}/etc/kernel/postinst.d/z50-raspi-firmware: _copy .FORCE + sed -Ei 's; (rootwait|fsck\.repair=yes);;g' "$@" + +_initrd: ${CFGROOT}/etc/kernel/postinst.d/z50-raspi-firmware + ${CFGROOT}/boot/firmware/cmdline.txt: _config .FORCE sed -Ei 's;root=/dev/loop[0-9]+;root=/dev/mmcblk0p2;' "$@"