summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez5/bluez5.inc
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-10 21:24:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:15 +0000
commit1732a8a92477db4842780e15268a0320287762c2 (patch)
treea2037d403791f8d66a8f25b2442382097c73a1d3 /meta/recipes-connectivity/bluez5/bluez5.inc
parent160fdd846e4f8b3d5bb15dd7c9a07f4ee16a7479 (diff)
downloadpoky-1732a8a92477db4842780e15268a0320287762c2.tar.gz
bluez5: enable sysvinit support
This is from Shrikant Bobade <Shrikant_Bobade@mentor.com>. (From OE-Core rev: f4c16f53af27ad459e77ae7f43e7bf1bad70645a) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bluez5/bluez5.inc')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index df42c88b9d..13fd600296 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -18,10 +18,11 @@ PACKAGECONFIG[experimental] = "--enable-experimental,--disable-experimental,"
18 18
19SRC_URI = "\ 19SRC_URI = "\
20 ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ 20 ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
21 file://init \
21" 22"
22S = "${WORKDIR}/bluez-${PV}" 23S = "${WORKDIR}/bluez-${PV}"
23 24
24inherit autotools-brokensep pkgconfig systemd 25inherit autotools-brokensep pkgconfig systemd update-rc.d
25 26
26EXTRA_OECONF = "\ 27EXTRA_OECONF = "\
27 --enable-tools \ 28 --enable-tools \
@@ -42,6 +43,9 @@ NOINST_TOOLS = " \
42" 43"
43 44
44do_install_append() { 45do_install_append() {
46 install -d ${D}${INIT_D_DIR}
47 install -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/bluetooth
48
45 install -d ${D}${sysconfdir}/bluetooth/ 49 install -d ${D}${sysconfdir}/bluetooth/
46 if [ -f ${S}/profiles/audio/audio.conf ]; then 50 if [ -f ${S}/profiles/audio/audio.conf ]; then
47 install -m 0644 ${S}/profiles/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ 51 install -m 0644 ${S}/profiles/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
@@ -100,5 +104,7 @@ FILES_${PN}-dbg += "\
100RDEPENDS_${PN}-testtools += "python python-dbus python-pygobject" 104RDEPENDS_${PN}-testtools += "python python-dbus python-pygobject"
101 105
102SYSTEMD_SERVICE_${PN} = "bluetooth.service" 106SYSTEMD_SERVICE_${PN} = "bluetooth.service"
107INITSCRIPT_PACKAGES = "${PN}"
108INITSCRIPT_NAME_${PN} = "bluetooth"
103 109
104EXCLUDE_FROM_WORLD = "1" 110EXCLUDE_FROM_WORLD = "1"