From 24e3efbb32302b86aa217a585f57959a9b2e907a Mon Sep 17 00:00:00 2001 From: Guðni Már Gilbert Date: Tue, 16 Jul 2024 16:00:37 +0000 Subject: bluez5: drop modifications to Python shebangs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Richard Purdie --- meta/recipes-connectivity/bluez5/bluez5.inc | 4 ---- 1 file changed, 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() { install -m 755 ${B}/$f ${D}/${bindir} done - # Patch python tools to use Python 3; they should be source compatible, but - # still refer to Python 2 in the shebang - sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/bluez/test/* - # Fix the /etc/bluetooth directory permissions when systemd is disabled if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'false', 'true', d)}; then chmod 0755 ${D}${sysconfdir}/bluetooth -- cgit v1.2.3-54-g00ecf