foss-for-synopsys-dwc-arc-processors / buildroot

The development tree for Buildroot support for the Synopsys DesignWare ARC processor family
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/blob/arc-dev/README.md
Other
7 stars 2 forks source link

utils/genrandconfig: swith python to python3 #14

Closed vkremneva closed 3 years ago

vkremneva commented 3 years ago

This script is being called from buildroot-test building instance which is currently running on CentOS 8. On CentOS 8 there is no 'python', only 'python3'.

At the moment this problem is being solved via creating a soft link from 'python' to 'python3':

mkdir ~/.local/bin
ln -s /usr/bin/python3 ~/.local/bin/python
export PATH=~/.local/bin:$PATH

If we change 'python' to 'python3' everywhere buildroot-test needs we won't need soft link parkour skills.

I already made similar change in buildroot-test repository that we are using.

vkremneva commented 3 years ago

It was decided internally that using soft links is preferable in this case thus no changes are needed.