diff options
-rw-r--r-- | meta/recipes-connectivity/connman/connman-conf.bb | 7 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman-conf/main.conf | 2 |
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 | ||
7 | PR = "r2" | 7 | PR = "r2" |
8 | 8 | ||
9 | SRC_URI = "file://main.conf \ | ||
10 | " | ||
11 | |||
9 | S = "${WORKDIR}" | 12 | S = "${WORKDIR}" |
10 | 13 | ||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 14 | PACKAGE_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= |
16 | do_install:append:qemuall() { | 19 | do_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] | ||
2 | NetworkInterfaceBlacklist = eth0 | ||