void-linux / void-linux/void-mklive

How to include Flatpak programs in custom ISO?

Open
#417 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
516
Forks
270
PR merge metrics
No merged PRs in 30d

Description

How to automatically include Flatpak programs and the Flathub repository in your custom ISO.

Already has -p "flatpak"

$ flatpak list

Google Chrome com.google.Chrome 139.0.7258.138-1 stable system
Epson Scan 2 net.epson.epsonscan2 6.7.65.0 stable system

Would it be with -I?

Copy the Flatpak programs installed on your computer and replicate them on the ISO [METHOD]

Copy /var/lib/flatpak and ~/.local/share/flatpak

$ ls /var/lib/flatpak/
app appstream exports repo runtime

$ ls ~/.local/share/flatpak/
db overrides repo

Permissions may break, and different versions may cause errors.

sudo rsync -a /var/lib/flatpak include/var/lib/

rsync -a ~/.local/share/flatpak include/include/etc/skel/.local/share/

Update the registries with flatpak repair or flatpak update upon startup.

Does this work on the ISO you created?

Is there a way to test it...

#418

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the custom ISO generation flow and the existing -p "flatpak" handling. Compare the proposed /var/lib/flatpak and ~/.local/share/flatpak paths, then build an ISO and verify whether the installed applications appear in flatpak list after startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.