From 7b4913e6f8ee64c462727ee495a3bc8522331f91 Mon Sep 17 00:00:00 2001 From: Bartosz Bezak Date: Thu, 3 Oct 2024 13:00:25 +0200 Subject: [PATCH] aarch64: Exclude syslinux from ironic conductor packages The 'syslinux' package is not available on aarch64, so it is only included in the ironic conductor packages for x86_64 systems. Related-Bug: #1749780 Change-Id: I3eea308a0a70e47dd3b185eece106185b25616f5 --- docker/ironic/ironic-conductor/Dockerfile.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2 b/docker/ironic/ironic-conductor/Dockerfile.j2 index 6ccc2c1011..8d3d3c7afe 100644 --- a/docker/ironic/ironic-conductor/Dockerfile.j2 +++ b/docker/ironic/ironic-conductor/Dockerfile.j2 @@ -23,8 +23,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'util-linux', 'xfsprogs', 'genisoimage', - 'syslinux', ] %} + {% if base_arch in ['x86_64'] %} + {% set ironic_conductor_packages = ironic_conductor_packages + [ + 'syslinux' + ] %} + {% endif %} {% elif base_package_type == 'deb' %} {% set ironic_conductor_packages = [ 'bsdmainutils',