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