Simon McVittie
6255938ee2
dir: Use system helper to create system repo if necessary
...
Previously, if /var/lib/flatpak didn't exist then we would use the
system helper to create and populate it, but if it existed and was empty,
we could only populate it if we had privileges. This led to errors from
libostree:
Creating repo: mkdirat: Permission denied
The EnsureRepo method call is allowed by default for active local users,
so do this even if allow_empty is true: this will incorporate
/etc/flatpak/remotes.d into the repository, whether it is newly-created
or not. This makes a `flatpak search` work immediately, without having
to fetch metadata explicitly.
Signed-off-by: Simon McVittie <smcv@collabora.com >
(cherry picked from commit 2489b915ef )
2022-03-10 09:10:12 -08:00
..
2019-10-03 10:42:04 +02:00
2019-12-19 16:52:58 +01:00
2019-12-19 10:33:21 +01:00
2020-05-04 16:32:22 +02:00
2020-11-10 14:32:13 +01:00
2021-02-12 15:58:09 +01:00
2021-04-16 09:13:18 +02:00
2021-04-16 09:13:18 +02:00
2019-09-19 16:53:11 +00:00
2019-09-19 16:53:11 +00:00
2021-01-12 09:55:23 +01:00
2022-01-18 16:35:28 +00:00
2022-01-18 16:35:28 +00:00
2022-01-11 11:51:02 +01:00
2022-03-10 09:10:12 -08:00
2021-01-11 11:05:57 +01:00
2018-05-24 11:59:52 +00:00
2019-02-25 18:12:30 +00:00
2021-02-09 09:36:59 +01:00
2021-08-02 08:37:25 +02:00
2021-09-23 09:57:33 +02:00
2019-10-02 14:57:11 +02:00
2022-01-11 11:51:02 +01:00
2021-06-14 15:30:59 +01:00
2020-11-05 10:43:10 +01:00
2020-12-14 11:25:16 +01:00
2021-02-12 15:58:09 +01:00
2021-04-16 09:13:18 +02:00
2021-04-16 09:13:18 +02:00
2021-02-12 15:58:09 +01:00
2020-06-05 09:35:30 +02:00
2020-06-11 15:57:39 +02:00
2018-08-09 12:49:36 +00:00
2020-03-16 09:29:31 +01:00
2020-06-05 09:35:30 +02:00
2021-04-16 14:49:15 +02:00
2019-10-03 10:42:04 +02:00
2019-11-08 00:30:44 +09:00
2018-04-26 07:41:17 +00:00
2019-12-01 14:04:59 -05:00
2020-03-27 17:23:13 +01:00
2021-05-04 10:23:13 +02:00
2021-04-26 10:30:14 +02:00
2021-04-26 10:30:14 +02:00
2022-02-08 10:12:24 -08:00
2021-04-19 09:09:04 +02:00
2021-02-09 09:34:47 +01:00
2021-02-12 15:58:09 +01:00
2020-03-23 17:58:04 +01:00
2022-01-04 11:43:51 +00:00
2021-02-12 15:58:09 +01:00
2020-03-25 08:52:28 +01:00
2020-11-05 10:43:10 +01:00
2020-11-05 10:43:10 +01:00
2021-02-12 15:58:09 +01:00
2020-07-21 08:59:22 +02:00
2021-02-12 15:58:09 +01:00
2021-04-15 18:00:47 +02:00
2022-03-07 10:37:40 +01:00
2021-10-08 12:53:20 +02:00
2021-05-19 09:49:30 +02:00
2022-01-12 11:52:21 +01:00
2021-02-12 15:58:09 +01:00
2020-12-09 08:34:19 +01:00
2021-08-02 08:37:25 +02:00
2020-08-10 15:20:59 +02:00
2022-01-11 11:51:02 +01:00
2021-09-17 09:23:52 +02:00
2022-03-09 15:14:31 -08:00
2019-12-02 07:45:51 -05:00
2020-06-05 09:35:30 +02:00
2020-06-05 09:35:30 +02:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00
2021-10-08 12:53:20 +02:00
2020-09-15 08:58:49 +02:00
2019-04-08 12:50:42 +00:00