Skip to content
Commit c51bbc82 authored by Adam Williamson's avatar Adam Williamson Committed by Aleix Pol Gonzalez
Browse files

fwupd: don't refresh directory-type remotes on setup



File- and directory-type remotes cannot be refreshed, attempting
to do so will trigger an error "no metadata URIs for (remote)"
(because, internally, fwupd does not set the metadata_uri
property for file- or directory-type remotes). We already avoid
trying to refresh file-type remotes on setup, but we need to do
the same for directory-type remotes. This fixes the error
appearing with fwupd 1.9.1 (which ships with a directory-type
remote, vendor-directory, enabled by default).

Signed-off-by: default avatarAdam Williamson <awilliam@redhat.com>


(cherry picked from commit 245b2c31)
parent 630d8add
Pipeline #399659 passed with stage
in 2 minutes and 5 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment