disable backports on RPi

This commit is contained in:
Aaron Murray 2022-08-14 15:45:02 -05:00
parent de805c14d4
commit eccbbfcf43

View File

@ -13,7 +13,7 @@
# https://github.com/armbian/config/blob/master/debian-software
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
#
# version: 1.6.16
# version: 1.6.17
#
if [[ $(id -u) -ne 0 ]]; then
@ -277,12 +277,9 @@ fi
# remove backports from sources.list to avoid duplicate sources warning
sed -i "/\(stretch\|buster\)-backports/d" /etc/apt/sources.list
if [ "${codename}" = "eoan" ]; then
omv_set_default "OMV_APT_USE_KERNEL_BACKPORTS" false true
fi
if [ ${rpi} -eq 1 ]; then
omv_set_default "OMV_APT_USE_OS_SECURITY" false true
omv_set_default "OMV_APT_USE_KERNEL_BACKPORTS" false true
fi
# install omv-extras