Skip to content

Preserve flatpak cache from mkosi chroot across rebuilds - #898

Merged
vjr merged 6 commits into
vishal/avoid-sudofrom
vishal/flatpak-cache
Sep 30, 2026
Merged

vjr merged 6 commits into
vishal/avoid-sudofrom
vishal/flatpak-cache

Conversation

@vjr

@vjr vjr commented Sep 28, 2026

Copy link
Copy Markdown
Member

Fixes #895 by speeding up incremental builds.

@vjr vjr self-assigned this Sep 28, 2026
@github-actions

Copy link
Copy Markdown

Installer builds for 6412df6

Do not use these installers for production systems. They are intended for testing purposes only. They will update to the latest PR build, which will break your install eventually.

Arch ISO Checksum
amd64 elementaryos-9.0-proposed-x86-64.20260928120308.iso sha256
arm64 elementaryos-9.0-proposed-arm64.20260928120235.iso sha256

@vjr

vjr commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

Looks like elementary/elementary-build-containers#3 is no longer needed so that can be discarded once this PR is either merged or rejected.

@github-actions

Copy link
Copy Markdown

Installer builds for e9e9d98

Do not use these installers for production systems. They are intended for testing purposes only. They will update to the latest PR build, which will break your install eventually.

Arch ISO Checksum
amd64 elementaryos-9.0-proposed-x86-64.20260928124227.iso sha256
arm64 elementaryos-9.0-proposed-arm64.20260928124012.iso sha256

@vjr

vjr commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

Initial clean builds take about 15 minutes for me.

Prior to this PR subsequent builds dropped from 15 down to about 8 minutes mainly due to APT caching but lack of flatpak caching.

With the changes in this PR subsequent build times dropped further down to under 3 minutes.

Comment thread mkosi.images/liveiso/iso-flatpaks.chroot
@vjr
vjr requested a review from jumpyvi September 29, 2026 19:59
@vjr
vjr marked this pull request as draft September 29, 2026 20:20
@vjr
vjr changed the base branch from main to vishal/avoid-sudo September 29, 2026 20:21
@vjr

vjr commented Sep 29, 2026

Copy link
Copy Markdown
Member Author

Retargeted this to merge into #873 instead of main.

@github-actions

Copy link
Copy Markdown

Installer builds for 83385a5

Do not use these installers for production systems. They are intended for testing purposes only. They will update to the latest PR build, which will break your install eventually.

Arch ISO Checksum
amd64 elementaryos-9.0-proposed-x86-64.20260929202829.iso sha256
arm64 elementaryos-9.0-proposed-arm64.20260929202447.iso sha256

@vjr
vjr marked this pull request as ready for review September 29, 2026 22:01
@vjr
vjr merged commit fa8db9b into vishal/avoid-sudo Sep 30, 2026
@vjr
vjr deleted the vishal/flatpak-cache branch September 30, 2026 14:07
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.

Preserve flatpak repo cache across (local user) build reruns to speed them up

2 participants