Hello SeaBIOS developers,
I'm using SeaBIOS together with Coreboot and it works very well. Thank you for your great work!
The compilation of coreboot is done on a system where /usr/bin/python refers to python3. This makes scripts in the Python2 dialect fail with a syntax error.
Since afaik Ubuntu will use Python 3 as default in the next release a bigger number of people will be affected by this when compiling coreboot.
According to PEP-394 (http://www.python.org/dev/peps/pep-0394/) systems are supposed to have a "python2" command which refers to Python 2. This is the case on the systems I've tested. (Note: I have not tested many enterprise distributions.)
I *think* it should be safe to make the usage of python2 explicit and I've attached a patch to do so. The patch should be trivial, but please tell me if you require any adjustments. I will be happy to do them.
Should you have reservations over this patch due to some older systems possibly not having "python2", I might also try to make the scripts compatible with both Python 2 and Python 3.
Regards,
Johannes
P.S. Please be so kind as to CC me in any responses as I'm not subscribed to the list.