mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: environment_install: support Mint 20.1 Ulyssa
Support for Linux Mint 20.1 Ulyssa (currently last version) based on Ubuntu 20.04 Focal implemented
This commit is contained in:
parent
e1d3494f8e
commit
9a8a20f1d2
@ -71,7 +71,7 @@ elif [ ${RELEASE_CODENAME} == 'disco' ]; then
|
|||||||
elif [ ${RELEASE_CODENAME} == 'eoan' ]; then
|
elif [ ${RELEASE_CODENAME} == 'eoan' ]; then
|
||||||
SITLFML_VERSION="2.5"
|
SITLFML_VERSION="2.5"
|
||||||
SITLCFML_VERSION="2.5"
|
SITLCFML_VERSION="2.5"
|
||||||
elif [ ${RELEASE_CODENAME} == 'focal' ]; then
|
elif [ ${RELEASE_CODENAME} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ]; then
|
||||||
SITLFML_VERSION="2.5"
|
SITLFML_VERSION="2.5"
|
||||||
SITLCFML_VERSION="2.5"
|
SITLCFML_VERSION="2.5"
|
||||||
PYTHON_V="python3"
|
PYTHON_V="python3"
|
||||||
@ -181,7 +181,7 @@ sudo usermod -a -G dialout $USER
|
|||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|
||||||
# Add back python symlink to python interpreter on Ubuntu >= 20.04
|
# Add back python symlink to python interpreter on Ubuntu >= 20.04
|
||||||
if [ ${RELEASE_CODENAME} == 'focal' ]; then
|
if [ ${RELEASE_CODENAME} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ]; then
|
||||||
BASE_PKGS+=" python-is-python3"
|
BASE_PKGS+=" python-is-python3"
|
||||||
SITL_PKGS+=" libpython3-stdlib" # for argparse
|
SITL_PKGS+=" libpython3-stdlib" # for argparse
|
||||||
elif [ ${RELEASE_CODENAME} == 'groovy' ]; then
|
elif [ ${RELEASE_CODENAME} == 'groovy' ]; then
|
||||||
@ -196,7 +196,7 @@ if [[ $SKIP_AP_GRAPHIC_ENV -ne 1 ]]; then
|
|||||||
if [ ${RELEASE_CODENAME} == 'groovy' ]; then
|
if [ ${RELEASE_CODENAME} == 'groovy' ]; then
|
||||||
SITL_PKGS+=" python3-wxgtk4.0"
|
SITL_PKGS+=" python3-wxgtk4.0"
|
||||||
SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libjpeg8-dev libpng16-16 libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev" # for pygame
|
SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libjpeg8-dev libpng16-16 libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev" # for pygame
|
||||||
elif [ ${RELEASE_CODENAME} == 'focal' ]; then
|
elif [ ${RELEASE_CODENAME} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ]; then
|
||||||
SITL_PKGS+=" python3-wxgtk4.0"
|
SITL_PKGS+=" python3-wxgtk4.0"
|
||||||
SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libjpeg8-dev libpng16-16 libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev" # for pygame
|
SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libjpeg8-dev libpng16-16 libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev" # for pygame
|
||||||
elif apt-cache search python-wxgtk3.0 | grep wx; then
|
elif apt-cache search python-wxgtk3.0 | grep wx; then
|
||||||
|
Loading…
Reference in New Issue
Block a user