summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorGuðni Már Gilbert <gudni.m.g@gmail.com>2024-07-16 16:00:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-18 17:21:39 +0100
commit24e3efbb32302b86aa217a585f57959a9b2e907a (patch)
tree31f58884b0455a25b4a81515d71b062aa413511e /meta/recipes-connectivity
parentd237e9af27883d2b36ff97b94643f502b0523e2f (diff)
downloadpoky-24e3efbb32302b86aa217a585f57959a9b2e907a.tar.gz
bluez5: drop modifications to Python shebangs
All the test scripts are by now Python 3 compatible and the shebangs are consistently set to #!/usr/bin/env python3 since BlueZ 5.73 See: https://github.com/bluez/bluez/commit/d31f04aa928ae8fb7a4fc5b0876dd17ea65d4513 The source code was inspected to confirm there are no more shebangs which reference 'python' (Python 2) (From OE-Core rev: 110f14b1b1e9abd8c1b8d52e70d0ceec7eab5025) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 55aea1f3c7..65dad45130 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -111,10 +111,6 @@ do_install:append() {
111 install -m 755 ${B}/$f ${D}/${bindir} 111 install -m 755 ${B}/$f ${D}/${bindir}
112 done 112 done
113 113
114 # Patch python tools to use Python 3; they should be source compatible, but
115 # still refer to Python 2 in the shebang
116 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/bluez/test/*
117
118 # Fix the /etc/bluetooth directory permissions when systemd is disabled 114 # Fix the /etc/bluetooth directory permissions when systemd is disabled
119 if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'false', 'true', d)}; then 115 if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'false', 'true', d)}; then
120 chmod 0755 ${D}${sysconfdir}/bluetooth 116 chmod 0755 ${D}${sysconfdir}/bluetooth