From aea5136f301bb5984fdbdb74c17f5abb1bc68f43 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 18:00:48 +0100 Subject: [PATCH] gpsd: Make the stop work with the busybox start-stop-daemon The stop command did not stop the GPSD. Let the start-stop-daemon command stop the command based only on the PID. --- recipes-extra/gpsd/gpsd/gpsd | 2 +- recipes-extra/gpsd/gpsd_3.7.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsd/gpsd/gpsd b/recipes-extra/gpsd/gpsd/gpsd index ba73daf..d4ec051 100755 --- a/recipes-extra/gpsd/gpsd/gpsd +++ b/recipes-extra/gpsd/gpsd/gpsd @@ -70,7 +70,7 @@ do_stop() # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + start-stop-daemon --stop --quiet --pidfile $PIDFILE RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.7.bb index 18314c9..0f5307c 100644 --- a/recipes-extra/gpsd/gpsd_3.7.bb +++ b/recipes-extra/gpsd/gpsd_3.7.bb @@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd" EXTRANATIVEPATH += "chrpath-native" -PR = "r3.5" +PR = "r3.6" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \