Skip to content
Commit 5c9ffd7b authored by David Zeuthen's avatar David Zeuthen
Browse files

Don't set should_automount to TRUE for devices on other seats

This change uses the libsystemd-login library to obtain the seat we're
on and compares it against the Seat property on the D-Bus interface
org.freedesktop.UDisks2.Drive. This property is available in udisks
1.95.0, see

 http://cgit.freedesktop.org/udisks/commit/?id=91106cdc7622d9674f6083dcb524407f026a36c7



Also, since we're still on the stable branch and not everyone may be
using systemd, make this work without hard-requiring either
libsystemd-login or udisks 1.95.0.

Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent b51b55b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment