grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: allow the 'python' used to run gentpl.py to be configured


From: Adam Williamson
Subject: Patch: allow the 'python' used to run gentpl.py to be configured
Date: Wed, 04 Jul 2018 10:08:53 -0700
User-agent: Evolution 3.29.3 (3.29.3-1.fc29)

A patch from Jonathan McCune back in 2015 allowed build-time
configuration of the python interpreter used in autogen.sh. However,
this doesn't cover the whole build process, as we still have use of
'python' hardcoded into Makefile.common when running gentpl.py (the
script's own shebang is ignored). This patch allows you to set the make
variable 'PYTHONBIN' to change the interpreter used to run gentpl.py.
With this, it's possible to build grub on Fedora with 'PYTHON=python3
autogen.sh' and 'make PYTHONBIN=python3', without python2 installed at
all, and the build succeeds.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net

Attachment: 0001-Make-python-interpreter-used-to-run-gentpl.py-config.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]