qubes-release: import all rpm-gpg keys

This is now the only rpm --import during system installation.
This commit is contained in:
Marek Marczykowski 2013-01-26 22:45:00 +01:00
parent 008b2aacf3
commit c39779731f

View File

@ -72,13 +72,8 @@ cat >> $RPM_BUILD_ROOT/etc/rpm/macros.dist << EOF
EOF EOF
%post %post
# On Mar 31, 2012, the Qubes signing key has changed # Import all keys b/c rpm won't do it automatically (as opposite to yum)
# The new key is brought by this RPM, but we also rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-* || true
# need to explicitly import it to RPM DB
# Also need to import other keys - especially release 2 (for upgrade purpose)
if [ $1 -gt 1 ]; then
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-* || true
fi
%clean %clean