From a36854c20810742b2ff69f0a7e4c3d6d680874ac Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Fri, 10 Oct 2025 21:35:13 -0400 Subject: [PATCH] Linux kernel excluded from pulling from Backports --- post-inst.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/post-inst.sh b/post-inst.sh index ec9973e..553ff37 100755 --- a/post-inst.sh +++ b/post-inst.sh @@ -127,9 +127,13 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg EOF cat << EOF | tee /etc/apt/preferences.d/backports.pref &> /dev/null -Package: * -Pin: release n=${VERSION_CODENAME}* -Pin-Priority: 990 +Package: * +Pin: release n=${VERSION_CODENAME}* +Pin-Priority: 990 + +Package: linux-* +Pin: release n=${VERSION_CODENAME}-backports +Pin-Priority: -1 EOF if [[ "${VERSION_CODENAME}" == 'bookworm' ]]; then