I am using "version/2018.3.6" so I added the following to both the files:
- Code: Select all
export FG_VERSION=version/2018.3.6
export FG_SRC_DIR=$HOME/src/ # Trailing slash
export FG_INSTALL_DIR=$HOME/FlightGear # NO Trailing slash
While putting these commands at the end of the files I though it would be appropriate to stop and ask 2 questions here:
- if this would have any adverse effects on the build steps
- Should the version info be pulled in from a file using an if/fi statement and how to script this
For question two, when I was editing the "$HOME/.bashrc" and "$HOME/.profile" files I noticed how everything that was already in it was nice and tidy and checking if variables, files, and/or directories existed. In the plib build section of the instructions a version file is created so it should function in the same way, shouldn't it?
I am also turning off booting into any type of X environment:
- Code: Select all
systemctl set-default multi-user.target
and if I need to use X again I can just:
- Code: Select all
systemctl set-default graphical.target
Thanks to this StackExchange answer. Thanks in advance for any help with this, I hope to be more active with FlightGear again and hopefully building all available tools for FG as well.
Jorge P.