Linux kernel excluded from pulling from Backports

This commit is contained in:
2025-10-10 21:35:13 -04:00
parent 6268d684c6
commit a36854c208

View File

@@ -127,9 +127,13 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
EOF EOF
cat << EOF | tee /etc/apt/preferences.d/backports.pref &> /dev/null cat << EOF | tee /etc/apt/preferences.d/backports.pref &> /dev/null
Package: * Package: *
Pin: release n=${VERSION_CODENAME}* Pin: release n=${VERSION_CODENAME}*
Pin-Priority: 990 Pin-Priority: 990
Package: linux-*
Pin: release n=${VERSION_CODENAME}-backports
Pin-Priority: -1
EOF EOF
if [[ "${VERSION_CODENAME}" == 'bookworm' ]]; then if [[ "${VERSION_CODENAME}" == 'bookworm' ]]; then