[Pkg-utopia-maintainers] Bug#922684: Please create /var/lib/flatpack from the package

Simon McVittie smcv at debian.org
Sun Feb 24 18:27:22 GMT 2019


On Tue, 19 Feb 2019 at 13:13:52 +0100, Laurent Bigonville wrote:
> The /var/lib/flatpack seems to not be created by the package, so dpkg -S
> is not showing anything.
> 
> Would be nice if the [directory] was pre-created in the package

Is this desirable in general? My understanding had been that including
content in /var in the .deb is normally undesired. Most of the files below
/var/lib/flatpak are not going to be visible to `dpkg -S` either way.

flatpak.postinst will automatically populate /var/lib/flatpak with a valid
Flatpak installation if it doesn't exist, but I don't immediately know
whether the same is true for an existing empty directory that doesn't
already contain the internal structure of a Flatpak installation
(mainly a libostree repository in ./repo, together with several other
Flatpak-managed subdirectories).

I've previously had feature requests from Endless maintainers who want
/var/lib/flatpak on their system to be a symlink (they want to share
libostree objects between the host OS and system-wide Flatpak apps), so
I'm reluctant to make that use-case more complicated than it is already
unless there is a strong benefit to doing so.

    smcv



More information about the Pkg-utopia-maintainers mailing list