diff mbox series

[4/5] board/radxa/rock5b: do not use udev predictable NIC names

Message ID 20240902104433.2561797-5-niklas.cassel@wdc.com
State Rejected
Headers show
Series rock5b additional improvements | expand

Commit Message

Niklas Cassel Sept. 2, 2024, 10:44 a.m. UTC
From: Niklas Cassel <cassel@kernel.org>

While udev is great it "unfortunately" enables predictable NIC names by
default.

Predictable NIC names are not bad by itself, but it does not work well
with the networking scripts in buildroot, thus disable udev predictable
NIC names by supplying net.ifnames=0 on the kernel command line.

Signed-off-by: Niklas Cassel <cassel@kernel.org>
---
 board/radxa/rock5b/extlinux.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/board/radxa/rock5b/extlinux.conf b/board/radxa/rock5b/extlinux.conf
index c4198deaa0..c34b51c936 100644
--- a/board/radxa/rock5b/extlinux.conf
+++ b/board/radxa/rock5b/extlinux.conf
@@ -1,4 +1,4 @@ 
 label Radxa Rock 5b Linux
   kernel /boot/Image
   devicetree /boot/rk3588-rock-5b.dtb
-  append root=PARTLABEL=rootfs earlycon rootwait
+  append root=PARTLABEL=rootfs earlycon rootwait net.ifnames=0