Make SID repo optional
This commit is contained in:
@@ -543,7 +543,8 @@ ENV \
|
||||
STEAM_ARGS="-silent" \
|
||||
ENABLE_SUNSHINE="true" \
|
||||
ENABLE_EVDEV_INPUTS="true" \
|
||||
ENABLE_WOL_POWER_MANAGER="false"
|
||||
ENABLE_WOL_POWER_MANAGER="false" \
|
||||
ENABLE_SID="false"
|
||||
|
||||
# Configure required ports
|
||||
ENV \
|
||||
|
||||
@@ -148,8 +148,10 @@ function install_deb_mesa {
|
||||
if [ ! -f /tmp/init-mesa-libs-install.log ]; then
|
||||
print_step_header "Enable i386 arch"
|
||||
dpkg --add-architecture i386
|
||||
print_step_header "Add Debian SID sources"
|
||||
echo "deb http://deb.debian.org/debian/ sid main" > /etc/apt/sources.list
|
||||
if [ "${ENABLE_SID:-}" = "true" ]; then
|
||||
print_step_header "Add Debian SID sources"
|
||||
echo "deb http://deb.debian.org/debian/ sid main" > /etc/apt/sources.list
|
||||
fi
|
||||
apt-get update &>> /tmp/init-mesa-libs-install.log
|
||||
print_step_header "Install mesa vulkan drivers"
|
||||
echo "" >> /tmp/init-mesa-libs-install.log
|
||||
|
||||
Reference in New Issue
Block a user