rpi-cmdline: remove hardcoded root device
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 13 Dec 2025 20:28:20 +0000 (15:28 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 23 Jan 2026 16:44:47 +0000 (11:44 -0500)
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
raspberrypi/recipes-bsp/bootfiles/rpi-cmdline.bbappend

index b33a856..4994b46 100644 (file)
@@ -2,6 +2,9 @@ CMDLINE_COMPAT_ALSA ?= "snd_bcm2835.enable_compat_alsa=1"
 
 CMDLINE_HEADPHONES ?= "snd_bcm2835.enable_headphones=1"
 
+# Remove root=..., which will be set with our custom boot.scr script:
+CMDLINE_ROOTFS = "${CMDLINE_ROOT_FSTYPE} rootwait"
+
 CMDLINE += " \
     ${CMDLINE_COMPAT_ALSA} \
     ${CMDLINE_HEADPHONES} \