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
This commit is contained in:
Thomas Goirand 2018-05-29 23:04:16 +02:00
parent 35655d20d0
commit aa3c7eecbb

View File

@ -1,5 +1,7 @@
<% @releases.each do |release| -%>
Origin: Debian
Label: Debian
Suite: stable
Codename: <%= release %>
Description: OpenStack Debian <%= release.capitalize %> mirror
Architectures: amd64 arm64 source
@ -10,6 +12,8 @@ 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
@ -19,8 +23,12 @@ Contents: .gz
Update: debian
Log: <%= @logdir %>/debian-<%= release %>-updates.log
Origin: Debian
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