Skip to content
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

feat: Improve management of Flatpaks #86

Merged
merged 16 commits into from
Aug 1, 2023
Merged

feat: Improve management of Flatpaks #86

merged 16 commits into from
Aug 1, 2023

Conversation

EyeCantCU
Copy link
Member

@EyeCantCU EyeCantCU commented Jul 30, 2023

Inspired by and based on the work being done on Endlish-Oesque/Beyond, namely: ublue-os/beyond#88

  • Introduces script that installs system flatpaks automatically
  • Moves system flatpaks out of yafti and defaults to user installation
  • Adds Flathub as a system flatpakrepo by default
  • Fixes errors/warnings from Flatpaks on desktop installations in yafti

This also moves Firefox to the web browser section instead of including it as a system package, letting users use the desktop shortcut to install it (matches SteamOS), select it in the web browser section, or select any other browser they are interested in

EyeCantCU added 13 commits July 31, 2023 19:59
Idea and implementation used from Endlish-Oesque/Beyond
This was why we would get random errors and warnings in spite of packages
being installed regardless
This allows individual users to customize their package layout however
they'd like and adds an additional layer of sandboxing
Doesn't carry over from the desktop image
Unfortunately, I can't think of a better place to put these that also adheres
to the limitation of shipping them in an OCI image
Exporting the Flathub cache dir has no impact on where applications that aren't
installed get stored. No matter what they end up in /var/lib/flatpak/repo/*
therefore let's make things that much more ugly and directly copy from there
Removes residual files from desktop flatpak installation
@EyeCantCU EyeCantCU force-pushed the flatpaks branch 7 times, most recently from d1a2097 to 58da79e Compare August 1, 2023 14:16
…all list exists

Even if /etc/flatpak/install stays the same, these files will change. Thus remove them
regardless of whether the install list exists or not
@EyeCantCU EyeCantCU marked this pull request as ready for review August 1, 2023 14:36
Copy link
Member

@KyleGospo KyleGospo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for doing all this!

@KyleGospo KyleGospo merged commit 6f0b1a8 into main Aug 1, 2023
@KyleGospo KyleGospo deleted the flatpaks branch August 2, 2023 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants