mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
fix: Remove GPU drivers
This commit is contained in:
parent
acedd1cdcf
commit
06fda133ed
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user