package/gpsd: do not interact with systemd on install
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 13 May 2017 08:27:36 +0000 (10:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 13 May 2017 12:58:11 +0000 (14:58 +0200)
commit0d0fcfa443754ed33ab81b52dd22c5e89ea45c24
tree0206e61f8b3a25885a2822b4a9c2c294e91e0bf0
parente7a64ddcbc0b262eaa549fede9bd1e8ca3bb310f
package/gpsd: do not interact with systemd on install

When building on a systemd-based host for a systemd-based target, gpsd's
buildsystem will try to tell systemd to reload the its configuration and
recreate the entire dependency tree of services.

Of course, this can not work when run as a user:
    >>> gpsd 3.16 Installing to target
    ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
    Authentication is required to reload the systemd state.
    Authenticating as: root
    Password:

In fact, this does not even mean anything in cross-compilation.

Fortunately, upstream has already fixed their sin, so we backport it
(tweaked to apply onto 3.16).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch [new file with mode: 0644]