recipes-connectivity: moved bluez-init script to bluez recipe
We want to unlink the script from abtfilt application, so moved to a different recipe (that includes hciattach). https://jira.digi.com/browse/DEL-1933 Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
545c92d8b4
commit
52b4cfe35c
|
|
@ -1,7 +1,16 @@
|
||||||
# Copyright (C) 2015 Digi International.
|
# Copyright (C) 2015 Digi International.
|
||||||
|
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||||
|
SRC_URI += "file://bluez-init"
|
||||||
|
|
||||||
|
inherit update-rc.d
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
|
install -d ${D}${sbindir} ${D}${sysconfdir}/init.d/
|
||||||
|
install -m 0755 ${WORKDIR}/bluez-init ${D}${sysconfdir}/init.d/bluez
|
||||||
# gatttool is useful for BLE work but not installed by default
|
# gatttool is useful for BLE work but not installed by default
|
||||||
install -d ${D}${sbindir}
|
|
||||||
install -m 0755 attrib/gatttool ${D}${sbindir}/gatttool
|
install -m 0755 attrib/gatttool ${D}${sbindir}/gatttool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INITSCRIPT_NAME = "bluez"
|
||||||
|
INITSCRIPT_PARAMS = "start 10 5 ."
|
||||||
|
|
|
||||||
|
|
@ -15,21 +15,14 @@ SRC_URI = " \
|
||||||
file://0002-cross-compile.patch \
|
file://0002-cross-compile.patch \
|
||||||
file://0003-abtfilt_wan-Rewrite-the-netlink-listener.patch \
|
file://0003-abtfilt_wan-Rewrite-the-netlink-listener.patch \
|
||||||
file://0004-add-fgnu89-flag-for-gcc5.patch \
|
file://0004-add-fgnu89-flag-for-gcc5.patch \
|
||||||
file://bluez-init \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "06a26d3a368c33b508d660ea84d476ee"
|
SRC_URI[md5sum] = "06a26d3a368c33b508d660ea84d476ee"
|
||||||
SRC_URI[sha256sum] = "b1af73003b622189b66d51911d429d6d205ac9227ec8278c8572ca0c68c7d5f3"
|
SRC_URI[sha256sum] = "b1af73003b622189b66d51911d429d6d205ac9227ec8278c8572ca0c68c7d5f3"
|
||||||
|
|
||||||
inherit update-rc.d
|
|
||||||
|
|
||||||
EXTRA_OEMAKE = "INCLUDES=-I${STAGING_INCDIR}/bluetooth"
|
EXTRA_OEMAKE = "INCLUDES=-I${STAGING_INCDIR}/bluetooth"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${bindir} ${D}${sysconfdir}/init.d/
|
install -d ${D}${bindir}
|
||||||
install -m 0755 abtfilt ${D}${bindir}
|
install -m 0755 abtfilt ${D}${bindir}
|
||||||
install -m 0755 ${WORKDIR}/bluez-init ${D}${sysconfdir}/init.d/bluez
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INITSCRIPT_NAME = "bluez"
|
|
||||||
INITSCRIPT_PARAMS = "start 10 5 ."
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue