fix: Remove GPU drivers

This commit is contained in:
Kroese 2023-10-09 18:32:52 +02:00 committed by GitHub
parent acedd1cdcf
commit 06fda133ed

View File

@ -134,27 +134,18 @@ if { tar tf "$PAT"; } >/dev/null 2>&1; then
else
export DEBCONF_NOWARNINGS="yes"
export DEBIAN_FRONTEND="noninteractive"
if [ "$ARCH" != "amd64" ]; then
info "Install: Installing QEMU..."
apt-get -qq update && apt-get -qq -y upgrade
export DEBCONF_NOWARNINGS="yes"
export DEBIAN_FRONTEND="noninteractive"
apt-get -qq update
apt-get -qq --no-install-recommends -y install qemu-user > /dev/null
fi
if [[ "${GPU}" == [Yy1]* ]] && [[ "$ARCH" == "amd64" ]]; then
info "Install: Installing GPU drivers..."
apt-get -qq update && apt-get -qq -y upgrade
apt-get -qq --no-install-recommends -y install xserver-xorg-video-intel > /dev/null
fi
info "Install: Extracting downloaded image..."
export LD_LIBRARY_PATH="/run/extract"