From a215a248f499dd2f63d800629203b54030352d97 Mon Sep 17 00:00:00 2001 From: Gordon GECOS Date: Wed, 22 Nov 2023 14:19:50 -0500 Subject: eschew unstable --- Makefile | 4 +++- conf/eschew-unstable.pref | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 conf/eschew-unstable.pref diff --git a/Makefile b/Makefile index 6aff815..1290a94 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,9 @@ CP=cp --preserve=timestamps -r defaults_conf_files = conf/grub.default initramfs_conf_files = $(addprefix initramfs-tools/,hooks/samizdat scripts/samizdat) install-stamp: install-bin-programs ${compiled_programs} - install -m644 --backup=t -t /etc/apt/sources.list.d -- conf/bookworm.list + rm -f /etc/apt/apt.conf.d/default-release + install -m644 -t /etc/apt/preferences.d -- conf/eschew-unstable.pref + install -m644 -t /etc/apt/sources.list.d -- conf/bookworm.list install -m644 --backup=t -T -- conf/grub.default /etc/default/grub install -t /etc/initramfs-tools/hooks -- initramfs-tools/hooks/samizdat install -t /etc/initramfs-tools/scripts -- initramfs-tools/scripts/samizdat diff --git a/conf/eschew-unstable.pref b/conf/eschew-unstable.pref new file mode 100644 index 0000000..1aa87e8 --- /dev/null +++ b/conf/eschew-unstable.pref @@ -0,0 +1,8 @@ + + +Package: * +Pin: release a=unstable +Pin-Priority: 50 + + + -- cgit v1.2.3