diff options
author | Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> | 2014-02-05 17:54:17 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-02-20 16:57:49 +0100 |
commit | 2e2909686735ceb62f6b64972b3f30f7005e26aa (patch) | |
tree | 47bfc77304259bc375ab04ae067d1f52923882e4 /contrib | |
parent | 01e942850486c7651bf1de58141e7ccbc9f4c706 (diff) | |
download | sssd-2e2909686735ceb62f6b64972b3f30f7005e26aa.tar.gz sssd-2e2909686735ceb62f6b64972b3f30f7005e26aa.tar.xz sssd-2e2909686735ceb62f6b64972b3f30f7005e26aa.zip |
Use HW instead of processor name as build arch
Use "machine hardware name" instead of "processor name" as the build
architecture in bashrc_sssd.
This fixes determining architecture on systems where "processor name" is
not available and is reported by uname(1) as "unknown", e.g. Debian.
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Reviewed-by: Michal Žídek <mzidek@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/fedora/bashrc_sssd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd index ccad5ddd1..e6bdf175a 100644 --- a/contrib/fedora/bashrc_sssd +++ b/contrib/fedora/bashrc_sssd @@ -4,7 +4,7 @@ # fi # Determine the architecture of the platform we're running on -SSS_ARCH=$(uname -p) +SSS_ARCH=$(uname -m) # Determine the lib and libdir locations SSS_LIB=$(rpm --eval %{_lib}) |