diff options
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-conf.bb')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-conf.bb | 18 |
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 | |||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
5 | |||
6 | SRC_URI_append_qemuall = " file://main.conf" | ||
7 | |||
8 | PR = "r0" | ||
9 | |||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
11 | |||
12 | do_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 | } | ||