[Pkg-utopia-maintainers] Bug#830271: flatpak: Don't initialize system repo in postinst
Dan Nicholson
nicholson at endlessm.com
Thu Jul 7 19:05:26 UTC 2016
Package: flatpak
Version: 0.6.7-1
Severity: normal
Currently flatpak.postinst runs `flatpak remote-list --system` in
order to initialize the system repo. I don't see any reason why this
is needed, though. The user may only want to install user
applications. Furthermore, install a system application is privileged
and the system repository will be setup whenever that happens by
flatpak in the exact same way that the postinst script is doing it.
My real problem is that we want to have /var/lib/flatpak/repo be a
symlink to /ostree/repo so we can share the objects for the runtimes
with the OS. Having flatpak forcefully create the system repo in
postinst makes it more difficult for us to manage this setup. The
postrm script will still work correctly whether the postinst script
creates the repo or not.
Thanks!
--
Dan Nicholson | +1.206.437.0833 | Endless
More information about the Pkg-utopia-maintainers
mailing list