Skip to content
Snippets Groups Projects
Commit b100e74a authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

re-factor debian-build.erb

parent a17f4901
No related branches found
No related tags found
No related merge requests found
# We want the most recent version of several debian build tools. # We want the most recent version of several debian build tools.
<%-
packages_to_pin = [
'debhelper',
'dpatch',
'debootstrap',
'dh-autoreconf',
'dh-strip-nondeterminism',
'libfile-stripnondeterminism-perl',
'pbuilder',
'quilt',
]
Package: debhelper packages_to_pin.each |package_to_pin| do
Pin: release a=<%= @lsbdistcodename %>-backports -%>
Pin-Priority: 991
# The changes come thick-and-fast with pbuilder, so we get it from
# <%= @lsbdistcodename %>-backports.
Package: pbuilder
Pin: release a=<%= @lsbdistcodename %>-backports
Pin-Priority: 995
# Along with pbuilder, we need to get the very latest debootstrap.
Package: debootstrap
Pin: release a=<%= @lsbdistcodename %>-backports
Pin-Priority: 995
# More debhelper packages needed Package: <%= package_to_pin %>
Package: dh-autoreconf
Pin: release a=<%= @lsbdistcodename %>-backports Pin: release a=<%= @lsbdistcodename %>-backports
Pin-Priority: 995 Pin-Priority: 991
<%- end %>
Package: dh-strip-nondeterminism
Pin: release a=<%= @lsbdistcodename %>-backports
Pin-Priority: 995
Package: libfile-stripnondeterminism-perl
Pin: release a=<%= @lsbdistcodename %>-backports
Pin-Priority: 995
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment