Adding Flatpaks to BUILDISO

That is easy - there is no such option

This is an all manual task

  1. add the necessary packages to the Packages-Desktop file
    pamac search flatpak --no-aur
    
  2. build your iso using the -x argument
  3. install the intended flatpak(s) on your local system.
  4. locate the files/folders added by the flatpak install command (/var/lib/flatpak)
  5. copy the added files to the $buildroot/buildiso/$PROFILE/x86_64/desktopfs
  6. build the iso using the -zc arguments

Be aware that the size of the ISO will increase dramatically - possibly why there is no option with buildiso to preinstall flatpaks.

I just ran a test

  • installed flatpak support (nothing huge)
  • installed 2 apps sublime text and sublime merge from flathub.

The size of /var/lib/flatpak exploded to 3.5G - the cost of providing preinstalled flatpaks should definately be considered.

Additional info

1 Like