From: Ross Burton Date: Wed, 9 Aug 2023 14:08:15 +0000 (+0100) Subject: connman-conf: don't take over any ethernet devices, not just eth0 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56baa430f8a577ff280676dc2e8a2debbc85bc21;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/connman/connman-conf/main.conf b/meta/recipes-connectivity/connman/connman-conf/main.conf index a394e8f25bd..3c9dd396f66 100644 --- a/meta/recipes-connectivity/connman/connman-conf/main.conf +++ b/meta/recipes-connectivity/connman/connman-conf/main.conf @@ -1,2 +1,2 @@ [General] -NetworkInterfaceBlacklist = eth0 +NetworkInterfaceBlacklist = eth,en