diff options
author | Ross Burton <ross.burton@arm.com> | 2023-08-09 15:08:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-14 12:51:21 +0100 |
commit | 88e46ee15a4d7e73dedf4338608f4e981c1a04ad (patch) | |
tree | 24fa12eccead1fc7e9fe2420684f486dff2af4ec /meta/recipes-connectivity/connman/connman-conf/main.conf | |
parent | 7865ffaf5734acb9903d40ad8509d51f265645bf (diff) | |
download | poky-88e46ee15a4d7e73dedf4338608f4e981c1a04ad.tar.gz |
connman-conf: don't take over any ethernet devices, not just eth0
The goal of connman-conf in qemu environments is to stop connman from
trying to control the network device, because runqemu will set it up
appropriately.
It currently hardcodes eth0, but 6.2 kernels onwards will rename eth0 to
en* even when the interface is already up[1]. So that this recipe
continues to work as intended, expand the list to "eth,en" so that
connman ignores _all_ ethernet devices with either the new or old names.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=bd039b5ea2a91ea707ee8539df26456bd5be80af
(From OE-Core rev: 56baa430f8a577ff280676dc2e8a2debbc85bc21)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-conf/main.conf')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-conf/main.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/connman/connman-conf/main.conf b/meta/recipes-connectivity/connman/connman-conf/main.conf index a394e8f25b..3c9dd396f6 100644 --- a/meta/recipes-connectivity/connman/connman-conf/main.conf +++ b/meta/recipes-connectivity/connman/connman-conf/main.conf | |||
@@ -1,2 +1,2 @@ | |||
1 | [General] | 1 | [General] |
2 | NetworkInterfaceBlacklist = eth0 | 2 | NetworkInterfaceBlacklist = eth,en |