summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman-conf.bb
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2013-01-15 22:08:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-16 11:57:33 +0000
commit7048fbdc05c1f2d9acaf1052550dec792c1f18da (patch)
treeef62477fcaf4841fcd611a478d4c4a44cff177fe /meta/recipes-connectivity/connman/connman-conf.bb
parente9a16961448d2922d449e49d7abde3aa9139ff24 (diff)
downloadpoky-7048fbdc05c1f2d9acaf1052550dec792c1f18da.tar.gz
connman-conf: configures connman in qemu machines
For qemu machines, connman should not configure virtual wired interfaces. Wired interfaces (eth0) are assigned static IP addresses by the virtual machine manager (qemu). This packages places the eth0 interface in a list of blacklisted interfaces, forbiding connman administering wired interfaces for qemu machines. (From OE-Core rev: cfd9ab0eff27a59b8b9e750a01565e2e7c94e801) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-conf.bb')
-rw-r--r--meta/recipes-connectivity/connman/connman-conf.bb18
1 files changed, 18 insertions, 0 deletions
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}