pcsc-lite: clean recipe
authorEric BENARD <eric@eukrea.com>
Fri, 2 Dec 2011 15:09:55 +0000 (15:09 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:17:13 +0000 (08:17 -0800)
we get the following log at boot :
Configuring pcsc-lite.
update-rc.d: /etc/init.d/pcscd: file does not exist

as the init script is no more nedded (autoload feature
of the daemon by the clients), we can remove the previously
unused init script and clean the recipe in order not
to have any update-rc interaction.

(From meta-openembedded rev: 62222b77754745a4ed3087f0f2dcf01ba2592993)

Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/pcsc-lite/files/pcscd.init [deleted file]
meta-openembedded/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb

diff --git a/meta-openembedded/meta-oe/recipes-support/pcsc-lite/files/pcscd.init b/meta-openembedded/meta-oe/recipes-support/pcsc-lite/files/pcscd.init
deleted file mode 100644 (file)
index 92385ab..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-DAEMON=/usr/sbin/pcscd
-NAME=pcscd
-DESC="PCSC Daemon"
-PIDFILE=/var/run/pcscd/pcscd.pid
-ARGS=""
-
-test -f $DAEMON || exit 0
-
-case "$1" in
-    start)
-        echo -n "Starting $DESC: $NAME"
-        start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $ARGS
-        echo "."
-        ;;
-    stop)
-        echo -n "Stopping $DESC: $NAME"
-        start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON
-        echo "."
-        ;;
-    restart)
-        $0 stop
-        sleep 1
-        $0 start
-        ;;
-    *)
-        echo "Usage: $0 {start|stop|restart}"
-        exit 1
-        ;;
-esac
-
-exit 0
index 14a0ba0..de980ff 100644 (file)
@@ -4,14 +4,14 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c8e551349dc346258274f0007679e149"
 DEPENDS = "udev"
 RDEPENDS += "ccid"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2"
 
 SRC_URI[md5sum] = "47e7055cfc14399fdaa1b7a4aa06e5aa"
 SRC_URI[sha256sum] = "41f13d552eaa2c3978fbb6f2125e81903a0767011d999052fd1a6ee03880b398"
 
-inherit autotools update-rc.d
+inherit autotools
 
 EXTRA_OECONF = " \
        --disable-libusb \
@@ -23,7 +23,4 @@ S = "${WORKDIR}/pcsc-lite-${PV}"
 
 PACKAGES =+ "${PN}-lib"
 
-INITSCRIPT_NAME = "pcscd"
-INITSCRIPT_PARAMS = "defaults"
-
 FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}"