Dear Mr. Boylan To whom it may concern Thank you for your answer. I have the following additional questions: 1. Is it possible to build aarch64 images of RHEL and SLES using DIB? RHEL and SLES are not in the list you provided. https://nb04.opendev.org/images/ Because these operating systems are paid for, they are probably not documented. I checked github and it seems that RHEL has a script that can build with Diskimage-builder. Can I build RHEL with Diskimage-builder? https://github.com/openstack/diskimage-builder/tree/e544379010ddfb2e5892bc70... SLES is only mentioned in the zypper entry, and I could not find any mention of SLES in other entries or scripts. Can I build SLES with Diskimage-builder? https://github.com/openstack/diskimage-builder/tree/e544379010ddfb2e5892bc70... 2. Does zuul test if building images with DIB is successful for all distributions, and all archs, which the DIB community assumes it should be? -----Original Message----- From: Clark Boylan <cboylan@sapwetik.org> Sent: Tuesday, May 14, 2024 1:14 AM To: Noguchi, Junya/野口 惇矢 <noguchi.junya@fujitsu.com>; 'openstack-discuss@lists.openstack.org' <openstack-discuss@lists.openstack.org> Subject: Re: [Diskimage-builder]Supported architectures for creating OS images in Diskimage-builder On Mon, May 13, 2024, at 2:15 AM, Junya Noguchi (Fujitsu) wrote:
To whom it may concern
I am investigating which Linux distributions and versions for aarch64 are supported by Diskimage-builder. I found that many newer versions of Linux distributions are supported*, but there is no information about supported architectures in the commit messages.
* References: Ubuntu: https://review.opendev.org/c/openstack/project-config/+/916050 RHEL: https://review.opendev.org/c/openstack/diskimage-builder/+/877347 SLES: https://review.opendev.org/c/openstack/diskimage-builder/+/619186 SUSE: https://review.opendev.org/c/openstack/diskimage-builder/+/908421 CentOS: https://review.opendev.org/c/openstack/tripleo-quickstart/+/843102
Does Diskimage-builder support building aarch64 images for those distributions? If not, a list of supported distros for aarch64, would be helpful.
Generally the answer is yes, but not via cross building. Instead you run diskimage-builder on the architecture you want to build and it builds new images for that architecture. I don't think we've bothered with an explicit list because of this. The OpenDev team currently builds a number of ARM images [0] with DIB. Rather than expecting a list I would say that we expect ARM builds to work for distros with upstream ARM support. Any explicit list we write will simply become out of date then people will assume anything not listed isn't supported which is a different problem I'd like to avoid. [0] https://nb04.opendev.org/images/
Best regards, Junya Noguchi.