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 8E3CCC433FE for ; Fri, 18 Nov 2022 12:21:10 +0000 (UTC) Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by mx.groups.io with SMTP id smtpd.web10.10202.1668774066176876981 for ; Fri, 18 Nov 2022 04:21:06 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.82, mailfrom: f_l_k@t-online.de) Received: from fwd76.dcpf.telekom.de (fwd76.aul.t-online.de [10.223.144.102]) by mailout05.t-online.de (Postfix) with SMTP id 82F1A24AE5; Fri, 18 Nov 2022 13:21:03 +0100 (CET) Received: from [192.168.178.83] ([79.219.225.179]) by fwd76.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1ow0Mh-3FdWTY0; Fri, 18 Nov 2022 13:21:03 +0100 Date: Fri, 18 Nov 2022 13:20:57 +0100 From: Markus Volk Subject: Re: [OE-core] [PATCH] blktrace: ask for python3 specifically To: Alexander Kanavin Cc: "Sajal, Sakib" , openembedded-core@lists.openembedded.org Message-Id: In-Reply-To: References: <20221103183356.40685-1-sakib.sajal@windriver.com> <4JYHLR.TSDICAGWLD7L@t-online.de> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-82RGuZOm/CXkTwAnesRT" X-TOI-EXPURGATEID: 150726::1668774063-EEFF2A26-EB8D5B87/0/0 CLEAN NORMAL X-TOI-MSGID: 44f448b6-ba50-405f-9075-447e7050306b 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 ; Fri, 18 Nov 2022 12:21:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/173454 --=-82RGuZOm/CXkTwAnesRT Content-Type: text/plain; charset=us-ascii; format=flowed Am Do, 17. Nov 2022 um 16:49:01 +0100 schrieb Alexander Kanavin : > I am tempted to turn this into a patch :-) But imagine all the > complaints this is going to receive. Maybe it would be possible to use a DISTRO_FEATURE 'python2' and make the creation of the python3 symlink dependent on it? This way users who need python2 could restore the previous behavior and you still wouldn't have to patch the scripts, which somehow feels wrong and would add a lot of oe-specific patches. --=-82RGuZOm/CXkTwAnesRT Content-Type: text/html; charset=us-ascii
Am Do, 17. Nov 2022 um 16:49:01 +0100 schrieb Alexander Kanavin <alex.kanavin@gmail.com>:
I am tempted to turn this into a patch :-) But imagine all the complaints this is going to receive.

Maybe it would be possible to use a DISTRO_FEATURE 'python2' and make the creation of the python3 symlink dependent on it? This way users who need python2 could restore the previous behavior and you still wouldn't have to patch the scripts, which somehow feels wrong and would add a lot of oe-specific patches.
--=-82RGuZOm/CXkTwAnesRT--