summaryrefslogtreecommitdiff
path: root/system-helper/Makefile.am.inc
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2020-06-18 20:56:47 -0700
committerAlexander Larsson <alexander.larsson@gmail.com>2020-06-23 09:37:10 +0200
commit9caf664fabc911419cc483125bf543c4550604c7 (patch)
treefce465ba328c474ac2f3b10376836f71094e9362 /system-helper/Makefile.am.inc
parente84b75629dd5c7a121cc4cb04968feca05c7a59f (diff)
downloadflatpak-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 'system-helper/Makefile.am.inc')
-rw-r--r--system-helper/Makefile.am.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-helper/Makefile.am.inc b/system-helper/Makefile.am.inc
index b9f041fc..4e179bf5 100644
--- a/system-helper/Makefile.am.inc
+++ b/system-helper/Makefile.am.inc
@@ -12,7 +12,7 @@ dbusconfdir = $(DBUS_CONFIG_DIR)
dist_dbusconf_DATA = system-helper/org.freedesktop.Flatpak.SystemHelper.conf
service_in_files += system-helper/flatpak-system-helper.service.in
-systemdsystemunit_DATA = system-helper/flatpak-system-helper.service
+systemdsystemunit_DATA += system-helper/flatpak-system-helper.service
flatpak_system_helper_SOURCES = \
system-helper/flatpak-system-helper.c \