Excerpts from Martin Korbel's message of 2016-10-04 12:37 +00:00:
Hi folks,
Does exist any clean alternatives for rlGetArch on Fedora? We are
using rlGetPrimaryArch on the RHEL systems, but we get error on
Fedora.
version: beakerlib-1.11-1
I'm not sure if any Beakerlib developers are on this list... I have
cc'ed Dalibor directly, hopefully he can give some suggestions on this.
It does indeed seem like rlGetArch and rlGetPrimaryArch are giving
contradictory warnings on Fedora...
=== RHEL ===
> rlGetArch
:: [ 08:22:14 ] :: [ WARNING ] :: rlGetArch: This function is deprecated
BEAKERLIB_JOURNAL not defined in the environment
:: [ 08:22:14 ] :: [ WARNING ] :: rlGetArch: Update test to use
rlGetPrimaryArch/rlGetSecondaryArch
BEAKERLIB_JOURNAL not defined in the environment
x86_64
> rlGetPrimaryArch
x86_64
=== Fedora ===
> rlGetArch
:: [ 08:23:54 ] :: [ WARNING ] :: rlGetArch: This function is deprecated
BEAKERLIB_JOURNAL not defined in the environment
:: [ 08:23:55 ] :: [ WARNING ] :: rlGetArch: Update test to use
rlGetPrimaryArch/rlGetSecondaryArch
BEAKERLIB_JOURNAL not defined in the environment
x86_64
> rlGetPrimaryArch
:: [ 08:23:58 ] :: [ ERROR ] :: rlGetPrimaryArch: Concept of primary and secondary
architectures is defined on RHEL only
BEAKERLIB_JOURNAL not defined in the environment
x86_64
--
Dan Callaghan <dcallagh(a)redhat.com>
Senior Software Engineer, Products & Technologies Operations
Red Hat