summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2024-04-10 18:17:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-12 17:27:53 +0100
commit03ad123fdc1b701fb7534ed74cd0a1656435ee08 (patch)
tree2fa77e026ca2fec672497aafcdb37ec8b998489b /meta/recipes-core
parent46e863849f92115ba3d5e10ab4ca0805952fe510 (diff)
downloadpoky-03ad123fdc1b701fb7534ed74cd0a1656435ee08.tar.gz
init-ifupdown: modify interfaces for busybox
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. (From OE-Core rev: 091b4410c88b0fdefee3490bca6479881c0da293) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces3
1 files changed, 2 insertions, 1 deletions
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
14iface atml0 inet dhcp 14iface atml0 inet dhcp
15 15
16# Wired or wireless interfaces including predictable names 16# Wired or wireless interfaces including predictable names
17auto /eth0 17auto eth0
18iface eth0 inet dhcp 18iface eth0 inet dhcp
19iface eth1 inet dhcp 19iface eth1 inet dhcp
20 20
21# Busybox ifupdown won't process /en* correctly
21auto /en*=eth 22auto /en*=eth
22iface eth inet dhcp 23iface eth inet dhcp
23 24