diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-connectivity/connman/connman-conf.bb | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-conf.bb')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-conf.bb | 24 |
1 files changed, 24 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..af726401e2 --- /dev/null +++ b/meta/recipes-connectivity/connman/connman-conf.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Connman config to setup wired interface on qemu machines" | ||
2 | DESCRIPTION = "This is the ConnMan configuration to set up a Wired \ | ||
3 | network interface for a qemu machine." | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
6 | |||
7 | SRC_URI_append_qemuall = "file://wired.config \ | ||
8 | file://wired-setup \ | ||
9 | " | ||
10 | PR = "r2" | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | FILES_${PN} = "${localstatedir}/* ${libdir}/*" | ||
15 | |||
16 | do_install() { | ||
17 | #Configure Wired network interface in case of qemu* machines | ||
18 | if test -e ${WORKDIR}/wired.config && test -e ${WORKDIR}/wired-setup; then | ||
19 | install -d ${D}${localstatedir}/lib/connman | ||
20 | install -m 0644 ${WORKDIR}/wired.config ${D}${localstatedir}/lib/connman | ||
21 | install -d ${D}${libdir}/connman | ||
22 | install -m 0755 ${WORKDIR}/wired-setup ${D}${libdir}/connman | ||
23 | fi | ||
24 | } | ||