installer: remove fbturbo always use fbdev most platforms today have issues with fbturbo
This commit is contained in:
parent
3047fde812
commit
69a7d3defb
@ -5,7 +5,6 @@ KSPATH=$(sed 's/\/scripts//g' <<< $SCRIPTPATH)
|
||||
KSENV="${KLIPPERSCREEN_VENV:-${HOME}/.KlipperScreen-env}"
|
||||
|
||||
XSERVER="xinit xinput x11-xserver-utils xserver-xorg-input-evdev xserver-xorg-input-libinput"
|
||||
FBTURBO="xserver-xorg-video-fbturbo"
|
||||
FBDEV="xserver-xorg-video-fbdev"
|
||||
PYTHON="python3-virtualenv virtualenv python3-distutils"
|
||||
PYGOBJECT="libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0"
|
||||
@ -64,19 +63,13 @@ install_packages()
|
||||
exit 1
|
||||
fi
|
||||
sudo apt-get install -y $OPTIONAL
|
||||
sudo apt-get install -y $FBTURBO
|
||||
echo $_
|
||||
sudo apt-get install -y $FBDEV
|
||||
if [ $? -eq 0 ]; then
|
||||
echo_ok "Installed FBturbo driver"
|
||||
echo_ok "Installed FBdev"
|
||||
else
|
||||
echo $_
|
||||
echo_error "Installation of $FBTURBO failed, trying $FBDEV"
|
||||
sudo apt-get install -y $FBDEV
|
||||
if [ $? -eq 0 ]; then
|
||||
echo_ok "Installed FBdev"
|
||||
else
|
||||
echo_error "Installation of FBdev failed ($FBDEV)"
|
||||
exit 1
|
||||
fi
|
||||
echo_error "Installation of FBdev failed ($FBDEV)"
|
||||
exit 1
|
||||
fi
|
||||
sudo apt-get install -y $PYTHON
|
||||
if [ $? -eq 0 ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user