From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA056C3DA59 for ; Tue, 16 Jul 2024 11:01:59 +0000 (UTC) Subject: Re: [PATCH v3] bluez5: upgrade 5.72 -> 5.77 To: openembedded-core@lists.openembedded.org From: =?UTF-8?B?R3XDsG5pIE3DoXIgR2lsYmVydA==?= X-Originating-Location: Kopavogur, Capital Region, IS (81.15.100.92) X-Originating-Platform: Windows Chrome 126 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 16 Jul 2024 04:01:57 -0700 References: <22262.1721064263985592663@lists.openembedded.org> In-Reply-To: <22262.1721064263985592663@lists.openembedded.org> Message-ID: <19409.1721127717782088316@lists.openembedded.org> Content-Type: multipart/alternative; boundary="9QkAN53x0j1une7x7w2Z" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Jul 2024 11:01:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202106 --9QkAN53x0j1une7x7w2Z Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable A bit off topic but, wanted to share something I'm thinking about: Am wondering about one section in the do_install:append . Not sure if we sh= ould remove it or not? It feels wrong to keep referencing Python 2 at least= : # 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/* Previously, the shebangs were very inconsistent and usually used /usr/bin/p= ython But today, they are consistently set to *usr/bin/env python3* , I didn't se= e this symlink in my testing so I'm not sure if removing this section from = do_install is OK. Thoughts? --9QkAN53x0j1une7x7w2Z Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
A bit off topic but, wanted to share something I'm thinking about:
 
Am wondering about one section in the do_install:append . Not sure if = we should remove it or not? It feels wrong to keep referencing Python 2 at = least:
 
    # Patch python tools to use Python 3; they should be sou= rce compatible, but
    # still refer to Python 2 in the she= bang
    sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${= D}${libdir}/bluez/test/*
 
Previously, the shebangs were very inconsistent and usually used /usr/= bin/python
 
But today, they are consistently set to usr/bin/env python3, I didn't see this symlink in my testing so I'm not sure if removing= this section from do_install is OK.
 
Thoughts?
 
 
--9QkAN53x0j1une7x7w2Z--