1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-22 15:33:07 +00:00

set releasever and basearch so we can find the right RPM GPG key to import

This commit is contained in:
Matthew Miller 2013-12-10 15:09:10 -05:00
parent 8f0370b13f
commit 07ed9c93b2

View File

@ -280,6 +280,8 @@ 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)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this LiveCD"
rpm -qa