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
(cherry picked from commit 7d5bb6ff81
)
This commit is contained in:
parent
30cdd9c34b
commit
e22c41cdf7
@ -99,7 +99,7 @@ EOF
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
# Import all keys b/c rpm won't do it automatically (as opposite to yum)
|
# 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
|
%clean
|
||||||
|
Loading…
Reference in New Issue
Block a user