From: Peter Kjellerstedt <pkj@axis.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [scarthgap][PATCH 2/2] bluez5: Install /etc/bluetooth/main.conf
Date: Tue, 10 Sep 2024 02:02:09 +0200 [thread overview]
Message-ID: <20240910000209.3330191-2-pkj@axis.com> (raw)
In-Reply-To: <20240910000209.3330191-1-pkj@axis.com>
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(-)
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index e10158a6e5..fd0f58f3fc 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -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
next prev parent reply other threads:[~2024-09-10 0:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 0:02 [scarthgap][PATCH 1/2] Revert "bluez5: remove configuration files from install task" Peter Kjellerstedt
2024-09-10 0:02 ` Peter Kjellerstedt [this message]
2024-09-10 8:17 ` [scarthgap][PATCH 2/2] bluez5: Install /etc/bluetooth/main.conf Guðni Már Gilbert
2024-10-23 22:31 ` [OE-core] " Peter Kjellerstedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240910000209.3330191-2-pkj@axis.com \
--to=pkj@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox