summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/layer.conf1
-rw-r--r--meta/recipes-connectivity/connman/connman-conf.bb18
-rw-r--r--meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf3
3 files changed, 22 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 78ceae9db6..3259e5c712 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -22,6 +22,7 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \
22 shadow-securetty \ 22 shadow-securetty \
23 opkg-config-base \ 23 opkg-config-base \
24 netbase \ 24 netbase \
25 connman-conf \
25 formfactor \ 26 formfactor \
26 xserver-xf86-config \ 27 xserver-xf86-config \
27 pointercal \ 28 pointercal \
diff --git a/meta/recipes-connectivity/connman/connman-conf.bb b/meta/recipes-connectivity/connman/connman-conf.bb
new file mode 100644
index 0000000000..7c7ef263ce
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-conf.bb
@@ -0,0 +1,18 @@
1#connman config to ignore wired interfaces on qemu machines
2
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
5
6SRC_URI_append_qemuall = " file://main.conf"
7
8PR = "r0"
9
10PACKAGE_ARCH = "${MACHINE_ARCH}"
11
12do_install() {
13 #Blacklist ethn network interface in case of qemu* machines
14 if test -e ${WORKDIR}/main.conf; then
15 install -d ${D}${sysconfdir}/connman
16 install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman
17 fi
18}
diff --git a/meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf b/meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf
new file mode 100644
index 0000000000..01973e7f71
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf
@@ -0,0 +1,3 @@
1[General]
2
3NetworkInterfaceBlacklist = eth