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