wasta-linux / wasta-offline-setup

Set up a Wasta-Offline 'local cache repository'
https://www.wastalinux.org/wasta-apps/wasta-offline/
GNU General Public License v3.0
0 stars 0 forks source link

Can't use `--destination-repo` for wasta-offline-flatpak-setup on FAT drive? #1

Open n8marti opened 1 year ago

n8marti commented 1 year ago

In the flatpak create-usb command, when using --destination-repo pointing to wasta-offline/flatpaks, the command fails to create a symlink in the default .ostree/repos.d/ folder. This is surely do to the FAT filesystem, which doesn't support symlinks.

So I assume this means that trying to install a flatpak onto another system from the USB repo will fail, since all the files are stored in the wasta-linux/flatpaks directory, but flatpak looks in the .ostree folder to find the relevant files. Without the symlink it won't know to look instead in wasta-linux/flatpaks, unless maybe an option can be passed to the "install" command that will directly override the repo folder location.

This needs further testing.

n8marti commented 1 year ago

relatedly, if the flatpak repo files aren't actually human-readable, then maybe there's no real benefit to having a "flatpaks" subdirectory in wasta-offline. Why not just stick with the default hidden ".ostree" directory?