use uname -i as it gives the arch used as the basearch by yum uname -m is incorrect

This commit is contained in:
Dennis Gilmore
2013-12-12 04:12:29 -06:00
parent 922fff0b59
commit 352a416c61
2 changed files with 2 additions and 2 deletions

View File

@@ -281,7 +281,7 @@ systemctl enable tmp.mount
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -m)
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this LiveCD"
rpm -qa