[OE-core] [PATCH] systemd-conf: not configure network for nfs root
kai.kang at windriver.com
kai.kang at windriver.com
Wed Jun 19 01:07:04 UTC 2019
From: Kai Kang <kai.kang at windriver.com>
It fails to boot nfs root with systemd that systemd-networkd
re-configures wired network and breaks the connection with nfs root.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
meta/recipes-core/systemd/systemd-conf/wired.network | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network b/meta/recipes-core/systemd/systemd-conf/wired.network
index 253aee9382..ff807ba31f 100644
--- a/meta/recipes-core/systemd/systemd-conf/wired.network
+++ b/meta/recipes-core/systemd/systemd-conf/wired.network
@@ -1,5 +1,6 @@
[Match]
Name=en* eth*
+KernelCommandLine=!nfsroot
[Network]
DHCP=yes
--
2.20.0
More information about the Openembedded-core
mailing list