Skip to content

How to include Flatpak programs in custom ISO? #417

Description

@MatanzaBR

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions