From c134a3bbdda9d8189d5965d2f7dfd5faf20c69b8 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sun, 20 Jul 2014 17:54:44 +0200 Subject: [PATCH] gpsd: Enable systemd support based on DISTRO_FEATURE Enabling the "systemd" feature will enable the socket activation feature used by systemd. This way we can (re-)start the GPSD based on the socket activation. --- recipes-extra/gpsd/gpsd_3.10.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index 49b85e2..9fae4ce 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,7 +6,7 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.12" +PR = "r3.13" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ @@ -27,8 +27,6 @@ inherit scons update-rc.d INITSCRIPT_NAME = "gpsd" INITSCRIPT_PARAMS = "defaults 35" -SYSTEMD_OESCONS ??= "false" - export STAGING_INCDIR export STAGING_LIBDIR @@ -59,7 +57,7 @@ EXTRA_OESCONS = " \ trip='false' \ tripmate='false' \ usb='false' \ - systemd='${SYSTEMD_OESCONS}' \ + systemd='${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}' \ chrpath='false' \ " # python='false' \