Ian Wienand 327cfa7893 Skip backports for buster
This is a follow-on to I39cb9dc0aa52cf5b20545baf4acacc21c5459f2a; as
buster has no backports we need to skip this in the reprepro
configuration.  It's a bit hacky, but we can revert when it is
available.

Change-Id: I60e231f23999d0af9c899a30822c71702befb2bd
2019-03-28 10:52:58 +11:00

43 lines
1.1 KiB
Plaintext

<% @releases.each do |release| -%>
Origin: Debian
Label: Debian
Suite: stable
Codename: <%= release %>
Description: OpenStack Debian <%= release.capitalize %> mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: <%= @logdir %>/debian-<%= release %>.log
Origin: Debian
Label: Debian
Suite: stable-updates
Codename: <%= release %>-updates
Description: OpenStack Debian <%= release.capitalize %> Updates mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: <%= @logdir %>/debian-<%= release %>-updates.log
<% if not @skip_backports_for.include?(release) %>
Origin: Debian Backports
Label: Debian Backports
Suite: <%= release %>-backports
Codename: <%= release %>-backports
NotAutomatic: yes
ButAutomaticUpgrades: yes
Description: OpenStack Debian <%= release.capitalize %> Backports mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: <%= @logdir %>/debian-<%= release %>-backports.log
<% end -%>
<% end -%>