From: Tom Rini Date: Wed, 22 Feb 2017 10:25:38 -0500 Subject: [U-Boot] [PATCH] binman: Explicitly request python2 instead of python from env In-Reply-To: <20170222132548.GA53345@largo.jsg.id.au> References: <20170220184134.25491-1-contact@paulk.fr> <20170222132548.GA53345@largo.jsg.id.au> Message-ID: <20170222152538.GQ27120@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: