Skip to content

Remove flatpak apps installed via flatpak preinstall - #163

Merged
danirabbit merged 2 commits into
resolutefrom
ryonakano/remove-flatpak-apps
Aug 11, 2026
Merged

Remove flatpak apps installed via flatpak preinstall#163
danirabbit merged 2 commits into
resolutefrom
ryonakano/remove-flatpak-apps

Conversation

@ryonakano

Copy link
Copy Markdown
Member

@danirabbit
danirabbit marked this pull request as ready for review August 11, 2026 01:17
@danirabbit

Copy link
Copy Markdown
Member

I'd like to go ahead and merge this because it's blocking mkosi images.

It sounds like it's possible we can also build non-atomic builds with mkosi, so we might not need the default settings branch either way

@danirabbit
danirabbit merged commit cf9630b into resolute Aug 11, 2026
@danirabbit
danirabbit deleted the ryonakano/remove-flatpak-apps branch August 11, 2026 01:18
@ryonakano

Copy link
Copy Markdown
Member Author

@danirabbit

It sounds like it's possible we can also build non-atomic builds with mkosi, so we might not need the default settings branch either way

I personally think we may want to use the default-settings to keep the preinstall conf file instead of relying on mkosi, at least for now. It's not yet decided that we switch from live-build to mkosi on OS 9, so I'm concerning that premising mkosi at this time could be a risk if mkosi image were to be postponed for further major releases. And if mkosi image is surely land on OS 9 then we can revisit if the preinstall conf file should be the os repository instead of default-settings.

What do you think?

@danirabbit

Copy link
Copy Markdown
Member

@ryonakano I think maybe it would be better to put it in the OS repo for livebuild so that we're not breaking/blocking mkosi builds? Or I'm not sure if we can put it in default settings for both?

@jumpyvi any thoughts?

@ryonakano

Copy link
Copy Markdown
Member Author

@jumpyvi I'm still not familiar with mkosk so I'm not sure whether we should have separated preinstall files for live-build and mkosk branches (probably results the same content), or we can just put it in the default-settings repository. What do you think?

@ryonakano

Copy link
Copy Markdown
Member Author

Looks like you created a dedicated systemd service in the mkosi branch, so probably we should maintain in the default-settings repository so as not to have duplicated works?

@jumpyvi

jumpyvi commented Aug 12, 2026

Copy link
Copy Markdown

Looks like you created a dedicated systemd service in the mkosi branch, so probably we should maintain in the default-settings repository so as not to have duplicated works?

Yes, I think it would be fine default-settings.

But yeah, include the systemd script.
Flatpak-preinstall doesn't have one.

@ryonakano

Copy link
Copy Markdown
Member Author

@jumpyvi I imported your systemd service file into default-settings in the following PRs:

@jumpyvi

jumpyvi commented Aug 13, 2026

Copy link
Copy Markdown

@ryonakano

Copy link
Copy Markdown
Member Author

Hmm it worked for me without it 🤔

@jumpyvi

jumpyvi commented Aug 13, 2026

Copy link
Copy Markdown

Hmm it worked for me without it 🤔

There might be some other package that provides the repo.

@ryonakano

Copy link
Copy Markdown
Member Author

@jumpyvi OK, I think we don't need to provide /usr/share/flatpak/remotes.d/*.flatpakrepo since we install /var/lib/flatpak/repo/config in default-settings 1.

Latest branch of default-settings just installs the config file to /etc/skel/.local/share/flatpak/repo/config which is for per-user installation, but it does also install to /var/lib/flatpak/repo/config once elementary/default-settings#364 is merged, so it should work without the *.flatpakrepo files.

Footnotes

  1. According to man flatpak-remote, /var/lib/flatpak/repo/config is the main configuration file and /usr/share/flatpak/remotes.d/*.flatpakrepo are fragment configuration file for it.

@ryonakano ryonakano linked an issue Aug 14, 2026 that may be closed by this pull request
11 tasks
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.

Migrate to Flatpak pre-install

3 participants