mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-11 09:30:30 +08:00
use uname -i as it gives the arch used as the basearch by yum uname -m is incorrect
This commit is contained in:
committed by
Bruno Wolff III
parent
4d772b386c
commit
de56fb5bf2
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user