Skip to content

Use flatpak preinstall for system Flatpak apps - #364

Merged
ryonakano merged 11 commits into
mainfrom
ryonakano/flatpak-preinstall
Aug 14, 2026
Merged

Use flatpak preinstall for system Flatpak apps#364
ryonakano merged 11 commits into
mainfrom
ryonakano/flatpak-preinstall

Conversation

@ryonakano

@ryonakano ryonakano commented Jul 3, 2026

Copy link
Copy Markdown
Member

Part of elementary/os#783

See #367 for what I tested.

Changes summary

  • Add .preinstall files (separated for AppCenter and Flathub)
  • Add systemd service to run flatpak preinstall on startup (thanks to @jumpyvi)
  • Install system-wide remotes
    • Previously this was done in the postinst script of each dummy Debian packages
    • Since they're all gone, now this needs to be done explicitly

@ryonakano ryonakano mentioned this pull request Aug 13, 2026
2 tasks
Previously this was done in the postinst script of each dummy Debian
packages. Since they're all gone, now this needs to be done explicitly.
@ryonakano

Copy link
Copy Markdown
Member Author

The build error of "CI / build (development-target) (pull_request)" will be fixed in #367.

Run-time dependency systemd found: NO (tried pkgconfig)

flatpak/meson.build:16:22: ERROR: Dependency "systemd" not found, tried pkgconfig

@ryonakano
ryonakano marked this pull request as ready for review August 13, 2026 02:59
Comment thread flatpak/flatpak-preinstalld.service
Comment thread flatpak/flathub.preinstall Outdated
Since there are no plan to ship apps from other remotes by default, this
is just overkilling.
@ryonakano
ryonakano marked this pull request as draft August 13, 2026 03:43
@ryonakano
ryonakano marked this pull request as ready for review August 13, 2026 06:56
@ryonakano
ryonakano requested a review from danirabbit August 13, 2026 06:56
@ryonakano ryonakano moved this from In progress to Needs Review in OS 9 Aug 13, 2026
@ryonakano ryonakano removed their assignment Aug 13, 2026
@ryonakano

Copy link
Copy Markdown
Member Author

Let's go 🚀

@ryonakano
ryonakano enabled auto-merge (squash) August 14, 2026 01:24
@ryonakano
ryonakano disabled auto-merge August 14, 2026 01:25
@ryonakano

Copy link
Copy Markdown
Member Author

The build error of "CI / build (development-target) (pull_request)" will be fixed in #367.

Oh I need to update the workflow file too in addition to the deb-packaging 😞

@ryonakano
ryonakano merged commit f06a99a into main Aug 14, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in OS 9 Aug 14, 2026
@ryonakano
ryonakano deleted the ryonakano/flatpak-preinstall branch August 14, 2026 01:30
@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

Status: Done

Development

Successfully merging this pull request may close these issues.

Migrate to Flatpak pre-install

2 participants