Re: [meta-python2][PATCH 1/1] python: use update-alternatives for python link
Martin Jansa
Would it make sense to replace shebang in such scripts to explicitly call python3? As it's not only the u-a for the python symlink, but RDEPENDS of the package should pull the right interpreter as well. Always installing supported python3-core for blktrace scripts is IMHO much better than allowing blktrace script so run with EOL python2 in some weird case when python2 is in the image and python3 isn't. At least that's what I'm doing with generic shebangs in meta-ros recipes. Also as you might have noticed the target python is already blacklisted in this layer.
On Mon, Jul 19, 2021 at 11:45 PM Joe Slater <joe.slater@...> wrote:
|
|