Skip to content

Commit 67b806b

Browse files
committed
disable buster and bullseye using the archive mirror site
1 parent c604222 commit 67b806b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
NOJESSIE ?= 1
44
NOSTRETCH ?= 1
5-
NOBUSTER ?= 0
5+
NOBUSTER ?= 1
66
NOBULLSEYE ?= 0
77
NOBOOKWORM ?= 0
88

files/apt/sources.list.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }} main contrib {
1212
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }} main contrib {{ nonfree_component }}
1313
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-updates main contrib {{ nonfree_component }}
1414
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-updates main contrib {{ nonfree_component }}
15+
{% if DISTRIBUTION == 'bullseye' %}
16+
deb [arch={{ ARCHITECTURE }}] http://archive.debian.org/debian/ {{ DISTRIBUTION }}-backports main contrib {{ nonfree_component }}
17+
{% else %}
1518
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-backports main contrib {{ nonfree_component }}
19+
{% endif %}
1620
{% endfor %}
1721
{% for mirror_url in MIRROR_SECURITY_URLS.split(',') %}
1822
{% set dist_separator='/' %}{% if 'packages.trafficmanager.net/debian' in mirror_url %}{% set dist_separator='_' %}{% endif %}

0 commit comments

Comments
 (0)