mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 00:38:14 +00:00
trivial: Ensure old ODM remotes are fixed on upgrade
This commit is contained in:
parent
9ba348cd7a
commit
d1f901a012
@ -269,6 +269,11 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
||||
%post
|
||||
%systemd_post fwupd.service
|
||||
|
||||
# change vendor-installed remotes to use the default keyring type
|
||||
for fn in /etc/fwupd/remotes.d/*.conf;
|
||||
do sed -i 's/Keyring=gpg/#Keyring=pkcs/g' "$fn";
|
||||
done
|
||||
|
||||
%preun
|
||||
%systemd_preun fwupd.service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user