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

Remove RPM key import

Anaconda now imports GPG keys for RPM. See:
https://github.com/rhinstaller/anaconda/pull/2855
https://github.com/rhinstaller/anaconda/blob/master/data/product.d/fedora.conf#L23
This commit is contained in:
Vladimír Slávik 2020-11-03 17:47:31 +00:00 committed by kevin
parent 79a0be09b6
commit 03781dceef

View File

@ -302,9 +302,6 @@ EOF
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm --eval '%{fedora}')
basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
echo "Packages within this LiveCD"
rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn
# Note that running rpm recreates the rpm db files which aren't needed or wanted