summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-04-07 19:00:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-08 17:49:58 +0100
commit89efab2850766378d89579c094670357775b69b6 (patch)
tree93f18d215b34b675c4c40e74f984c4fd7db20b28 /meta/recipes-connectivity/connman
parented98f1a1ae7e4e2c8e089003a619ae9260a852ad (diff)
downloadpoky-89efab2850766378d89579c094670357775b69b6.tar.gz
connman-conf: ignore eth0 in qemu in a way that is not sysvinit-specific
(From OE-Core rev: 9e2cb139fabf302fb85c292a8848d6fb66851d07) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r--meta/recipes-connectivity/connman/connman-conf.bb7
-rw-r--r--meta/recipes-connectivity/connman/connman-conf/main.conf2
2 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/connman/connman-conf.bb b/meta/recipes-connectivity/connman/connman-conf.bb
index 6b9207c4cb..7959ed8e50 100644
--- a/meta/recipes-connectivity/connman/connman-conf.bb
+++ b/meta/recipes-connectivity/connman/connman-conf.bb
@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
6 6
7PR = "r2" 7PR = "r2"
8 8
9SRC_URI = "file://main.conf \
10 "
11
9S = "${WORKDIR}" 12S = "${WORKDIR}"
10 13
11PACKAGE_ARCH = "${MACHINE_ARCH}" 14PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -14,6 +17,6 @@ FILES:${PN} = "${sysconfdir}/*"
14 17
15# Kernel IP-Config is perfectly capable of setting up networking passed in via ip= 18# Kernel IP-Config is perfectly capable of setting up networking passed in via ip=
16do_install:append:qemuall() { 19do_install:append:qemuall() {
17 mkdir -p ${D}${sysconfdir}/default 20 mkdir -p ${D}${sysconfdir}/connman
18 echo "export EXTRA_PARAM=\"-I eth0\"" > ${D}${sysconfdir}/default/connman 21 cp ${S}/main.conf ${D}${sysconfdir}/connman/main.conf
19} 22}
diff --git a/meta/recipes-connectivity/connman/connman-conf/main.conf b/meta/recipes-connectivity/connman/connman-conf/main.conf
new file mode 100644
index 0000000000..a394e8f25b
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-conf/main.conf
@@ -0,0 +1,2 @@
1[General]
2NetworkInterfaceBlacklist = eth0