diff options
author | Matthew Leeds <matthew.leeds@endlessm.com> | 2020-06-18 20:56:47 -0700 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2020-06-23 09:37:10 +0200 |
commit | 9caf664fabc911419cc483125bf543c4550604c7 (patch) | |
tree | fce465ba328c474ac2f3b10376836f71094e9362 /.gitignore | |
parent | e84b75629dd5c7a121cc4cb04968feca05c7a59f (diff) | |
download | flatpak-9caf664fabc911419cc483125bf543c4550604c7.tar.gz |
Add systemd units to sideload from hotplugged USBs
Currently with the sideload implementation of offline updates you have
to manually create a symlink to your USB drive to sideload from it,
which is a regression compared to the previous implementation which
scanned all mounted filesystems in OstreeRepoFinderMount in libostree.
So this commit adds a few systemd units and a bash script so that any
time a USB drive is plugged in and automatically mounted by udisks, a
symlink to it is created in /run/flatpak/sideload-repos. When the drive
is unplugged the symlink is removed.
However this solution still has a lot of moving parts, so we may want to
instead have libflatpak use GVolumeMonitor and find the mounted
filesystems itself; see https://github.com/flatpak/flatpak/issues/3705
Fixes https://github.com/flatpak/flatpak/issues/3490
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -48,7 +48,11 @@ flatpak-dbus-proxy permission-store-dbus.[ch] flatpak-system-helper xdg-desktop-portal -*.service +oci-authenticator/*.service +portal/*.service +session-helper/*.service +system-helper/*.service +tests/*.service flatpak.conf flatpak.env flatpak.sh |