qubes-release: import RPM keys at the end of installation.

Wait with this to the end, to make sure that all keys will be imported
and also have all required tools (gpg, rpmkeys etc) in place. We can't
add them as dependencies, because qubes-release package needs to be
installed very early.

QubesOS/qubes-issues#2574
This commit is contained in:
Marek Marczykowski-Górecki 2017-02-14 02:31:48 +01:00
parent d706bb5d31
commit e7c62e4463
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -97,7 +97,7 @@ cat >> $RPM_BUILD_ROOT/etc/rpm/macros.dist << EOF
%%fc%{fedora_base_version} 1
EOF
%post
%posttrans
# Import all keys b/c rpm won't do it automatically (as opposite to yum)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-* || true