-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpm %post incompatible with ostree-for-system #113
Comments
We discussed this a bit, and I think the proper fix is for flatpak to handle a non-existing system repo in a non-fatal way, at least for the reading operations (list apps, list remotes, etc) this is simple, just return the empty lists. Then we need to make "add system remote" work for that case too. I looked into this, and there are some complexities wrt libflatpak threadsafety that makes this somewhat hard, but it should be doable with some care. |
Or we could install a systemd unit file which does create-if-not-exists ? |
A workaround for this issue is to simply |
This is still biting people trying out https://fedoraproject.org/wiki/Workstation/AtomicWorkstation . WDYT about the systemd unit approach? |
(I can write that patch easily enough...reworking flatpak like #113 (comment) would require me to learn a lot more of flatpak than I know right now) |
I just ran into this again when trying atomic workstation. This pretty much breaks the out-of-the-box experience of gnome-software. We should really fix this |
I think it would be great to have a systemd unit in the atomic workstation as a workaround until flatpak learns how to deal with nonexistent repos gracefully. |
OK, I'll write one. |
This means flatpak can bootstrap itself from an empty /var on stateless systems, which fixes flatpak#113, at least for the CLI case.
Similar to commit 6bb0196 that fixed flatpak#113 for the flatpak CLI, this fixes the library so that gnome-software works with an empty /var/lib/flatpak.
Similar to commit 6bb0196 that fixed flatpak/flatpak#113 for the flatpak CLI, this fixes the library so that gnome-software works with an empty /var/lib/flatpak. Closes: #1368 Approved by: alexlarsson
Similar to commit 6bb0196 that fixed flatpak/flatpak#113 for the flatpak CLI, this fixes the library so that gnome-software works with an empty /var/lib/flatpak. Closes: #1368 Approved by: alexlarsson
Installation: Add flatpak_installation_get_min_free_space_bytes
Ironically,
won't work in an OSTree-for-system model. I think the privileged helper needs to create-if-not-exists?
The text was updated successfully, but these errors were encountered: