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:
parent
8f0370b13f
commit
07ed9c93b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user