From 156db200ec022d029cde013e1f659ece66e2988e Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Thu, 22 May 2025 19:41:10 +0200
Subject: TF pin bookworm-security

---
 config/chroot_local-hooks/03-towelfire-fixes | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/config/chroot_local-hooks/03-towelfire-fixes b/config/chroot_local-hooks/03-towelfire-fixes
index 9573cdc..a65bfc4 100755
--- a/config/chroot_local-hooks/03-towelfire-fixes
+++ b/config/chroot_local-hooks/03-towelfire-fixes
@@ -45,6 +45,13 @@ EOF
 # disable apt pager
 echo 'Binary::apt::Pager "false";' > /etc/apt/apt.conf.d/98-nopager
 
+# pin bookworm security pin
+cat <<"EOF" >/etc/apt/preferences.d/pae
+Package: *
+Pin: release n=bookworm-security
+Pin-Priority: 100
+EOF
+
 # add scale factor for qt defaults to 100%
 echo "QT_SCALE_FACTOR=1.0" >>/etc/environment
 
-- 
cgit v1.0