1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-12-23 19:53:10 +00:00

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

@ -197,7 +197,7 @@ truncate -c -s 0 /var/log/yum.log
echo "Import RPM GPG key"
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 cloud image:"

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