All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe v2 1/4] pcsc-lite: clean recipe
@ 2011-12-02 15:09 Eric Bénard
  2011-12-02 15:09 ` [meta-oe v2 2/4] atftp: correctly handle init script Eric Bénard
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Eric Bénard @ 2011-12-02 15:09 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Eric Bénard

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.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 meta-oe/recipes-support/pcsc-lite/files/pcscd.init |   32 --------------------
 .../recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb   |    7 +---
 2 files changed, 2 insertions(+), 37 deletions(-)
 delete mode 100644 meta-oe/recipes-support/pcsc-lite/files/pcscd.init

diff --git a/meta-oe/recipes-support/pcsc-lite/files/pcscd.init b/meta-oe/recipes-support/pcsc-lite/files/pcscd.init
deleted file mode 100644
index 92385ab..0000000
--- a/meta-oe/recipes-support/pcsc-lite/files/pcscd.init
+++ /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
diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
index 14a0ba0..de980ff 100644
--- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
+++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
@@ -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}"
-- 
1.7.6.4




^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-12-06 15:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 15:09 [meta-oe v2 1/4] pcsc-lite: clean recipe Eric Bénard
2011-12-02 15:09 ` [meta-oe v2 2/4] atftp: correctly handle init script Eric Bénard
2011-12-02 15:09 ` [meta-oe v2 3/4] add net-snmp-5.7.1 Eric Bénard
2011-12-02 15:09 ` [meta-oe v2 4/4] add nostromo webserver Eric Bénard
2011-12-02 19:16   ` Koen Kooi
2011-12-04 15:14     ` [meta-oe v2] " Eric Bénard
2011-12-04 15:15     ` [meta-oe v2 4/4] " Eric Bénard
2011-12-04 20:02       ` Eric Bénard
2011-12-04 16:20     ` [meta-oe v3] " Eric Bénard
2011-12-04 18:00       ` Koen Kooi
2011-12-04 20:30         ` [meta-oe v4] " Eric Bénard
2011-12-05  7:25           ` Paul Menzel
2011-12-05  9:07             ` Eric Bénard
2011-12-06 14:31               ` Paul Menzel
2011-12-06 14:51                 ` [meta-oe v5] nostromo-1.9.5: add recipe Eric Bénard
2011-12-06 14:59                 ` [meta-oe v4] add nostromo webserver Eric Bénard
2011-12-06 13:22         ` [meta-oe v3] " Eric Bénard
2011-12-06 15:36           ` Koen Kooi
2011-12-06 15:41             ` Eric Bénard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.