Skip to contentSkip to conversation

systemd: skip network config on nfsroot

PATCH New Denys Dmytriyenko 1 participant 1 message May 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: skip network config on nfsroot

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/recipes-core/systemd/systemd/10-eth.network | 1 +
 meta-arago-distro/recipes-core/systemd/systemd_%.bbappend     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/systemd/systemd/10-eth.network +1 -0
index 93dc1c5..ea3bcb3 100644
@@ -1,5 +1,6 @@
 [Match]
 Name=eth*
+ConditionKernelCommandLine=!root=/dev/nfs
 
 [Network]
 DHCP=yes
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend +1 -1
index f2e7fbb..ca67eee 100644
@@ -1,4 +1,4 @@
-PR_append = ".arago1"
+PR_append = ".arago2"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
Signature · 1 line
2.2.0