[U-Boot] [PATCH] binman: Explicitly request python2 instead of python from env

Tom Rini trini at konsulko.com
Wed Feb 22 15:25:38 UTC 2017


On Thu, Feb 23, 2017 at 12:25:48AM +1100, Jonathan Gray wrote:
> On Mon, Feb 20, 2017 at 07:41:34PM +0100, Paul Kocialkowski wrote:
> > We now live in a world where python cannot be assumed to be python2.
> > As a matter of fact, it is no longer the default for python on many
> > GNU/Linux distributions.
> > 
> > Running binman with python3 fails, so explicitly request python2 from
> > env in the shebang for running it.
> 
> On other systems such as OpenBSD the binary is python2.7 not python2
> or python.  Though there isn't really a way to handle this with
> how u-boot builds as I understand it (besides local patches).

I thought, but could be wrong, that "python2" was the canonical way name
for the python 2.x binary.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170222/ce7be131/attachment.sig>


More information about the U-Boot mailing list