Is it possible to move flathub packages to the SD card and then use a softlink to maintain functionality? The point of this being freeing up significant space on the emmc.
The linked solution works but, if you don’t want to go about changing configuration, you can also reach the same by rsyncing the folder to the SD and then mapping via fstab, which is how I did it.
Maybe. I don’t use flatpaks. I will say that bind mounts are much better than directory softlinks … which can easily fail due to directory navigation issues. You can try it out ( sudo mount --bind /media/purism/sdcard/flatpak /var/lib/flatpak ) … and then add a line to your fstab where you have “bind” as one of your options:
My method has been working for me for a few months already - I didn’t change the flatpak settings, just moved everything to the SD card via rsync and mounted via fstab.
You really must be careful to, after every reboot (and with the phone freshly booted), move one mountpoint to the SD card, restart and test.
rsync folder to SD, create new mount point, restart, test.
if it works, rename old folder to .bkp or something like that, restart again to make sure it is fine, then you can delete the old folder from the internal mmc.