Openembedded Core Discussions
 help / color / mirror / Atom feed
* [oe-core][PATCH 1/2] init-ifupdown: modify interfaces for busybox
@ 2024-04-11  1:17 joe.slater
  2024-04-11  1:17 ` [oe-core][PATCH 2/2] packagegroup-core-boot: recommend ifupdown joe.slater
  0 siblings, 1 reply; 8+ messages in thread
From: joe.slater @ 2024-04-11  1:17 UTC (permalink / raw)
  To: openembedded-core; +Cc: joe.slater, randy.macleod

From: Joe Slater <joe.slater@windriver.com>

Busybox ifupdown does not recognize /xxx names, so we
use eth0 instead of /eth0.  If we want to find "predictable name"
interfaces starting with en..., we will have to use the
real ifupdown.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
---
 meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces
index e617fcf69b..3d0f0c6768 100644
--- a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces
+++ b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces
@@ -14,10 +14,11 @@ iface wlan0 inet dhcp
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces including predictable names
-auto /eth0
+auto eth0
 iface eth0 inet dhcp
 iface eth1 inet dhcp
 
+# Busybox ifupdown won't process /en* correctly
 auto /en*=eth
 iface eth inet dhcp
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-04-12 16:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11  1:17 [oe-core][PATCH 1/2] init-ifupdown: modify interfaces for busybox joe.slater
2024-04-11  1:17 ` [oe-core][PATCH 2/2] packagegroup-core-boot: recommend ifupdown joe.slater
2024-04-11  9:33   ` Richard Purdie
2024-04-11 14:20     ` Ross Burton
2024-04-11 14:58       ` Slater, Joseph
2024-04-11 16:36         ` Ross Burton
2024-04-12 10:21         ` Alexandre Belloni
2024-04-12 16:15           ` Slater, Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox