void-linux / void-linux/void-mklive
How to include Flatpak programs in custom ISO?
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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