Make SID repo optional

This commit is contained in:
tem
2024-02-22 08:17:52 +03:00
committed by Josh Sunnex
parent 63cfefa1fc
commit 12a498e1eb
2 changed files with 6 additions and 3 deletions

View File

@@ -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 \

View File

@@ -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