From 3760c0a1acf348d654f9ec4627519092a09df3a6 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Dec 23 2022 16:29:39 +0000 Subject: Detect real arch through kernel Signed-off-by: Fabian Arrotin --- diff --git a/tests/0_lib/functions.sh b/tests/0_lib/functions.sh index 387b893..fa59813 100755 --- a/tests/0_lib/functions.sh +++ b/tests/0_lib/functions.sh @@ -190,7 +190,7 @@ function t_GetPkgVer # Description: get the arch function t_GetArch { - rpm -q $(rpm -qf /etc/redhat-release) --queryformat '%{arch}\n' + rpm -q kernel --queryformat '%{arch}\n' } # Set the arch