]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
connman-conf: don't take over any ethernet devices, not just eth0
authorRoss Burton <ross.burton@arm.com>
Wed, 9 Aug 2023 14:08:15 +0000 (15:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Aug 2023 11:51:18 +0000 (12:51 +0100)
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

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>
meta/recipes-connectivity/connman/connman-conf/main.conf

index a394e8f25bd9ba7fa2627475cc9e1ac0182cdf92..3c9dd396f6693eab851d2f4c0ad63b0128785d6a 100644 (file)
@@ -1,2 +1,2 @@
 [General]
-NetworkInterfaceBlacklist = eth0
+NetworkInterfaceBlacklist = eth,en