diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-11-12 16:23:13 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-11-17 19:30:29 +0900 |
commit | f6627279567ee1826d39d80e3929b2bd3e5d7987 (patch) | |
tree | ce835c55ef8592de37d945b2eda0f7034559a2e0 /strata/gnome | |
parent | ce4a667951d0e0b0cbcf9dfff4480e48f12927da (diff) | |
download | definitions-f6627279567ee1826d39d80e3929b2bd3e5d7987.tar.gz |
Create GeoClue user for GeoClue in GNOME stratum
GeoClue is supposed to run with a specific system user. This patch
configures geoclue to run as the geoclue user and creates the system
user for geoclue at system integration time.
Change-Id: I710b80da7b5151878f8defe3549ef471ab33eca5
Diffstat (limited to 'strata/gnome')
-rw-r--r-- | strata/gnome/geoclue.morph | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/strata/gnome/geoclue.morph b/strata/gnome/geoclue.morph index 7757882c..3be946bb 100644 --- a/strata/gnome/geoclue.morph +++ b/strata/gnome/geoclue.morph @@ -2,4 +2,12 @@ name: geoclue kind: chunk build-system: autotools configure-commands: -- ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --disable-nmea-source +- | + ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc \ + --disable-nmea-source \ + --with-dbus-service-user=geoclue +system-integration: + geoclue-misc: + 00-add-geoclue-user: + - groupadd geoclue + - useradd -c "GeoClue Owner" -r -g geoclue -s /bin/false geoclue |