@@ -87,13 +87,10 @@ do_install:append() {
install -d ${D}${INIT_D_DIR}
install -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/bluetooth
- install -d ${D}${sysconfdir}/bluetooth/
- if [ -f ${S}/profiles/network/network.conf ]; then
- install -m 0644 ${S}/profiles/network/network.conf ${D}/${sysconfdir}/bluetooth/
- fi
- if [ -f ${S}/profiles/input/input.conf ]; then
- install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/
- fi
+ install -d ${D}${sysconfdir}/bluetooth
+ install -m 0644 ${S}/src/main.conf ${D}${sysconfdir}/bluetooth
+ install -m 0644 ${S}/profiles/network/network.conf ${D}${sysconfdir}/bluetooth
+ install -m 0644 ${S}/profiles/input/input.conf ${D}${sysconfdir}/bluetooth
if [ -f ${D}/${sysconfdir}/init.d/bluetooth ]; then
sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}/${sysconfdir}/init.d/bluetooth
This matches what is installed in /etc/bluetooth by bluez 5.73+. Also remove the if-statements testing the existence of the other files installed to /etc/bluetooth as they are not needed (the files have existed since bluez 4.0). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> --- meta/recipes-connectivity/bluez5/bluez5.inc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)