Browse Source

debian: install more things from backports

We were installing udev/systemd from backports by selecting which
package to get. But with systemd 241-5~bpo9+1 update we need more.

And then we need newer iptables due to dependencies.

Change-Id: Ifc075a0142738deb65fa3c73460b57cad61a5d4b
tags/7.1.0
Marcin Juszkiewicz 2 months ago
parent
commit
a7e45cbc8b
2 changed files with 13 additions and 1 deletions
  1. +5
    -1
      docker/base/Dockerfile.j2
  2. +8
    -0
      docker/base/apt_preferences.debian

+ 5
- 1
docker/base/Dockerfile.j2 View File

@@ -321,7 +321,11 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
%}

{% if base_distro in ['debian'] %}
{% set base_apt_packages = base_apt_packages + [ 'udev/stretch-backports' ] %}
{% set base_apt_packages = base_apt_packages + [
'systemd/stretch-backports',
'systemd-sysv/stretch-backports',
'udev/stretch-backports'
] %}
{% endif %}

{% set base_compiler_packages = [

+ 8
- 0
docker/base/apt_preferences.debian View File

@@ -0,0 +1,8 @@
# NOTE(hrw): we need versions from stretch-backports
Package: iptables libip*tc0 libxtables12
Pin: version 1.6.2-*
Pin-Priority: 550

Package: *udev* *systemd*
Pin: version 241-*
Pin-Priority: 550

Loading…
Cancel
Save