Thomas Goirand aa3c7eecbb Fix Debian Release file headers
This fixes Debian's Release file headers when mirrored by reprepro.
Especially, this patch adds NotAutomatic and ButAutomaticUpgrades
headers needed to correctly setup a backport repository.

Change-Id: I5e0c2f11362cdb59bfd0c36ee148bf5d8aab43db
2018-05-29 23:04:16 +02:00

41 lines
1.0 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
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 -%>