qubes-release: schedule keys import after update
It isn't possible to import rpm signing keys during update, because rpm itself holds a lock. Schedule the operation after update using systemd-run. Fixes QubesOS/qubes-issues#3756
This commit is contained in:
parent
f6bfe11ab8
commit
7d5bb6ff81
@ -86,7 +86,7 @@ EOF
|
||||
|
||||
%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
|
||||
systemd-run --on-active=5min rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-*
|
||||
|
||||
|
||||
%clean
|
||||
|
Loading…
Reference in New Issue
Block a user