From 73216fc062cf8c28fb3f2099b234ca43ad80a68b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 18 Nov 2025 09:10:30 -0500 Subject: [PATCH] Fix architecture name mismatch Confluent went with aarch64 consistent with EL naming, but Ubuntu used debian naming, recognize and just handle that. --- confluent_server/confluent/osimage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index 5f8f68ca..b09f6505 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -1137,6 +1137,8 @@ def generate_stock_profiles(defprofile, distpath, targpath, osname, initrds = ['{0}/initramfs/{1}'.format(defprofile, initrd) for initrd in os.listdir('{0}/initramfs'.format(defprofile))] if os.path.exists('{0}/initramfs/{1}'.format(defprofile, arch)): initrds.extend(['{0}/initramfs/{1}/{2}'.format(defprofile, arch, initrd) for initrd in os.listdir('{0}/initramfs/{1}'.format(defprofile, arch))]) + elif arch == 'arm64' and os.path.exists('{0}/initramfs/aarch64'.format(defprofile)): + initrds.extend(['{0}/initramfs/aarch64/{1}'.format(defprofile, initrd) for initrd in os.listdir('{0}/initramfs/aarch64'.format(defprofile))]) for fullpath in initrds: initrd = os.path.basename(fullpath) if os.path.isdir(fullpath):