From e71d387f5eb611d8e1dfd041b65f4ee17bb20513 Mon Sep 17 00:00:00 2001 From: Badanin Maksim Date: Sat, 17 Jun 2023 08:35:31 +0300 Subject: [PATCH] add bookworm release --- templates/sources.list.j2 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/templates/sources.list.j2 b/templates/sources.list.j2 index 9b4d18c..ae1991d 100644 --- a/templates/sources.list.j2 +++ b/templates/sources.list.j2 @@ -1,11 +1,19 @@ {% if debian_repo == "sid" %} deb https://mirror.yandex.ru/debian sid main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +{% elif debian_repo == "bookworm" %} +deb http://deb.debian.org/debian/ bookworm main non-free-firmware + +deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware + +deb http://security.debian.org/debian-security bookworm-security main non-free-firmware + + {% else %} -deb https://mirror.yandex.ru/debian {{ debian_repo }} main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +deb https://mirror.yandex.ru/debian {{ debian_repo }} main{% if debian_repo == "bookworm" %} non-free-firmware{% endif %}{% if debian_repo_nonfree is true %} contrib non-free{% endif %} -deb https://mirror.yandex.ru/debian {{ debian_repo }}-updates main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +deb https://mirror.yandex.ru/debian {{ debian_repo }}-updates main{% if debian_repo == "bookworm" %} non-free-firmware{% endif %}{% if debian_repo_nonfree is true %} contrib non-free{% endif %} -deb http://security.debian.org/debian-security/ {{ debian_repo }}-security main{% if debian_repo_nonfree is true %} contrib non-free{% endif %} +deb http://security.debian.org/debian-security/ {{ debian_repo }}-security main{% if debian_repo == "bookworm" %} non-free-firmware{% endif %}{% if debian_repo_nonfree is true %} contrib non-free{% endif %} {% endif %}