From b336ffa23c97bee7f6b399a0ae56a771240e1644 Mon Sep 17 00:00:00 2001 From: dylan-bartos-tanium <113951606+dylan-bartos-tanium@users.noreply.github.com> Date: Thu, 25 May 2023 12:49:20 -0700 Subject: [PATCH] Fixes Bug 2938 (#9) Adds support for x86_64 system arch with packages of i686 arch --- apollo/server/routes/api_updateinfo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apollo/server/routes/api_updateinfo.py b/apollo/server/routes/api_updateinfo.py index 2e046ec..f506fe2 100644 --- a/apollo/server/routes/api_updateinfo.py +++ b/apollo/server/routes/api_updateinfo.py @@ -276,7 +276,10 @@ async def get_updateinfo( if p_name not in pkg_src_rpm: continue if arch != product_arch and arch != "noarch": - continue + if arch != "x86_64": + continue + if arch == "x86_64" and product_arch != "i686": + continue skip = False for suffix in suffixes_to_skip: