diff options
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-conf.bb')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-conf.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/connman/connman-conf.bb b/meta/recipes-connectivity/connman/connman-conf.bb index 7b999533f1..6ecfbfbe86 100644 --- a/meta/recipes-connectivity/connman/connman-conf.bb +++ b/meta/recipes-connectivity/connman/connman-conf.bb | |||
@@ -6,16 +6,18 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=80 | |||
6 | SRC_URI_append_qemuall = "file://wired.config \ | 6 | SRC_URI_append_qemuall = "file://wired.config \ |
7 | file://wired-setup \ | 7 | file://wired-setup \ |
8 | " | 8 | " |
9 | PR = "r1" | 9 | PR = "r2" |
10 | 10 | ||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 11 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
12 | 12 | ||
13 | FILES_${PN} = "${localstatedir}/* ${libdir}/*" | ||
14 | |||
13 | do_install() { | 15 | do_install() { |
14 | #Configure Wired network interface in case of qemu* machines | 16 | #Configure Wired network interface in case of qemu* machines |
15 | if test -e ${WORKDIR}/wired.config && test -e ${WORKDIR}/wired-setup; then | 17 | if test -e ${WORKDIR}/wired.config && test -e ${WORKDIR}/wired-setup; then |
16 | install -d ${D}${localstatedir}/lib/connman | 18 | install -d ${D}${localstatedir}/lib/connman |
17 | install -m 0644 ${WORKDIR}/wired.config ${D}${localstatedir}/lib/connman | 19 | install -m 0644 ${WORKDIR}/wired.config ${D}${localstatedir}/lib/connman |
18 | install -d ${D}${sysconfdir}/connman | 20 | install -d ${D}${libdir}/connman |
19 | install -m 0755 ${WORKDIR}/wired-setup ${D}${sysconfdir}/connman | 21 | install -m 0755 ${WORKDIR}/wired-setup ${D}${libdir}/connman |
20 | fi | 22 | fi |
21 | } | 23 | } |