diff options
| author | Joe Slater <joe.slater@windriver.com> | 2024-04-10 18:17:44 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-12 17:27:53 +0100 |
| commit | 03ad123fdc1b701fb7534ed74cd0a1656435ee08 (patch) | |
| tree | 2fa77e026ca2fec672497aafcdb37ec8b998489b | |
| parent | 46e863849f92115ba3d5e10ab4ca0805952fe510 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces | 3 |
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 | |||
| 14 | iface atml0 inet dhcp | 14 | iface atml0 inet dhcp |
| 15 | 15 | ||
| 16 | # Wired or wireless interfaces including predictable names | 16 | # Wired or wireless interfaces including predictable names |
| 17 | auto /eth0 | 17 | auto eth0 |
| 18 | iface eth0 inet dhcp | 18 | iface eth0 inet dhcp |
| 19 | iface eth1 inet dhcp | 19 | iface eth1 inet dhcp |
| 20 | 20 | ||
| 21 | # Busybox ifupdown won't process /en* correctly | ||
| 21 | auto /en*=eth | 22 | auto /en*=eth |
| 22 | iface eth inet dhcp | 23 | iface eth inet dhcp |
| 23 | 24 | ||
