Install udevadm in ironic-conductor image

backport: rocky, queens

A dependency on udevadm was recently added to ironic-lib:

https://review.opendev.org/#/q/I9db48a3462422749290bbb887c14816734ab0478

Change-Id: I6c5746606ab59fd88e35525ecc17a62bfa9211e6
Closes-Bug: #1825784
This commit is contained in:
Mark Goddard 2019-04-24 10:54:50 +01:00
parent 4e17e475ed
commit 856b2c8824

View File

@ -76,6 +76,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python-systemd',
'qemu-utils',
'shellinabox',
'udev',
'xfsprogs',
] %}
{% endif %}
@ -94,6 +95,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'util-linux',
'xfsprogs',
] %}
{% if distro_python_version.startswith('3') %}
{% set ironic_conductor_packages = ironic_conductor_packages + [
'systemd-udev',
] %}
{% else %}
{% set ironic_conductor_packages = ironic_conductor_packages + [
'systemd',
] %}
{% endif %}
{% elif base_package_type == 'deb' %}
{% set ironic_conductor_packages = [
'bsdmainutils',
@ -105,6 +115,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'psmisc',
'qemu-utils',
'shellinabox',
'udev',
'xfsprogs',
] %}
{% endif %}