From 2b41f2ba40aa217451bd9d60899c07f01382c39f Mon Sep 17 00:00:00 2001 From: Mark Hamzy Date: Thu, 15 Feb 2018 13:25:52 -0600 Subject: [PATCH] syslinux package is only built for x86_64 The syslinux package is only built for x86_64 and not for ppc64le or aarch64. Change-Id: I773e6ddf20ba2030fdeeb1ee66e79f20f82168aa Closes-Bug: 1749780 --- docker/ironic/ironic-pxe/Dockerfile.j2 | 7 ++++++- releasenotes/notes/ironic_syslinux-70eac225d227dc2e.yaml | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/ironic_syslinux-70eac225d227dc2e.yaml diff --git a/docker/ironic/ironic-pxe/Dockerfile.j2 b/docker/ironic/ironic-pxe/Dockerfile.j2 index ada4b0e83e..28dcb5361e 100644 --- a/docker/ironic/ironic-pxe/Dockerfile.j2 +++ b/docker/ironic/ironic-pxe/Dockerfile.j2 @@ -11,10 +11,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'ipxe-bootimgs', 'mod_ssl', 'mod_wsgi', - 'syslinux-tftpboot', 'tftp-server' ] %} + {% if base_arch == 'x86_64' %} + {% set ironic_pxe_packages = ironic_pxe_packages + [ + 'syslinux-tftpboot' + ] %} + {% endif %} + {% if base_arch == 'aarch64' %} ENV ironic_arch=aarch64 {% set ironic_pxe_packages = ironic_pxe_packages + [ diff --git a/releasenotes/notes/ironic_syslinux-70eac225d227dc2e.yaml b/releasenotes/notes/ironic_syslinux-70eac225d227dc2e.yaml new file mode 100644 index 0000000000..400c88b814 --- /dev/null +++ b/releasenotes/notes/ironic_syslinux-70eac225d227dc2e.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + The syslinux package is only built for x86_64 and not for ppc64le or aarch64.