Files
flatpak/app
Matthew Leeds 7c5751a4f9 create-usb: Avoid updating the source repo summary
This commit removes the call to flatpak_dir_update_summary() in the
create-usb implementation. It turns out that libostree does not rely on
a summary being present when a pull is local (meaning it uses a file://
URI). I'm not sure where I got the idea that create-usb depends on a
summary in the source repo. I went back to the first commit that
introduced the "ostree create-usb" command and even using that a summary
isn't required, so it seems unlikely that this changed recently.

One important benefit of removing the summary update is that currently
summary generation takes an exclusive lock, and we've seen on Endless
the attempt to acquire that lock time out (possibly due to a prune
happening in another process).

We could also remove the system-helper method UpdateSummary since it
doesn't have any users after this commit, but maybe someone will need it
in the future, and technically removing it would be an API break.

Closes: #2166
Approved by: alexlarsson
2018-10-02 06:32:54 +00:00
..
2018-07-08 10:05:37 +00:00
2018-07-08 10:05:37 +00:00
2018-08-13 21:31:09 +00:00
2018-07-08 10:05:37 +00:00
2018-09-26 09:02:42 +00:00
2018-09-26 09:02:42 +00:00
2018-09-26 09:02:42 +00:00
2018-09-26 09:02:42 +00:00
2018-09-26 09:02:42 +00:00
2018-09-26 09:02:42 +00:00
2018-07-08 10:05:37 +00:00
2018-09-26 09:02:42 +00:00
2018-07-08 10:05:37 +00:00
2018-07-08 10:05:37 +00:00
2018-07-08 10:05:37 +00:00
2018-09-26 09:02:42 +00:00
2018-07-08 10:05:37 +00:00
2018-07-08 10:05:37 +00:00
2018-09-26 09:02:42 +00:00
2018-07-08 10:05:37 +00:00