diff options
author | Eric BENARD <eric@eukrea.com> | 2011-12-02 15:09:55 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-12-06 16:37:26 +0100 |
commit | 62222b77754745a4ed3087f0f2dcf01ba2592993 (patch) | |
tree | 08ead9de05bfb474221d3d49a9779d0f3d47bd4e | |
parent | 4128ddd54f15293ebcb5fe920f0451ae9557b074 (diff) | |
download | meta-openembedded-62222b77754745a4ed3087f0f2dcf01ba2592993.tar.gz |
pcsc-lite: clean recipe
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>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r-- | meta-oe/recipes-support/pcsc-lite/files/pcscd.init | 32 | ||||
-rw-r--r-- | meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb | 7 |
2 files changed, 2 insertions, 37 deletions
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 92385ab19..000000000 --- a/meta-oe/recipes-support/pcsc-lite/files/pcscd.init +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | DAEMON=/usr/sbin/pcscd | ||
3 | NAME=pcscd | ||
4 | DESC="PCSC Daemon" | ||
5 | PIDFILE=/var/run/pcscd/pcscd.pid | ||
6 | ARGS="" | ||
7 | |||
8 | test -f $DAEMON || exit 0 | ||
9 | |||
10 | case "$1" in | ||
11 | start) | ||
12 | echo -n "Starting $DESC: $NAME" | ||
13 | start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $ARGS | ||
14 | echo "." | ||
15 | ;; | ||
16 | stop) | ||
17 | echo -n "Stopping $DESC: $NAME" | ||
18 | start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON | ||
19 | echo "." | ||
20 | ;; | ||
21 | restart) | ||
22 | $0 stop | ||
23 | sleep 1 | ||
24 | $0 start | ||
25 | ;; | ||
26 | *) | ||
27 | echo "Usage: $0 {start|stop|restart}" | ||
28 | exit 1 | ||
29 | ;; | ||
30 | esac | ||
31 | |||
32 | 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 14a0ba0cb..de980ff80 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" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c8e551349dc346258274f0007679e149" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c8e551349dc346258274f0007679e149" |
5 | DEPENDS = "udev" | 5 | DEPENDS = "udev" |
6 | RDEPENDS += "ccid" | 6 | RDEPENDS += "ccid" |
7 | PR = "r1" | 7 | PR = "r2" |
8 | 8 | ||
9 | SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2" | 9 | SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "47e7055cfc14399fdaa1b7a4aa06e5aa" | 11 | SRC_URI[md5sum] = "47e7055cfc14399fdaa1b7a4aa06e5aa" |
12 | SRC_URI[sha256sum] = "41f13d552eaa2c3978fbb6f2125e81903a0767011d999052fd1a6ee03880b398" | 12 | SRC_URI[sha256sum] = "41f13d552eaa2c3978fbb6f2125e81903a0767011d999052fd1a6ee03880b398" |
13 | 13 | ||
14 | inherit autotools update-rc.d | 14 | inherit autotools |
15 | 15 | ||
16 | EXTRA_OECONF = " \ | 16 | EXTRA_OECONF = " \ |
17 | --disable-libusb \ | 17 | --disable-libusb \ |
@@ -23,7 +23,4 @@ S = "${WORKDIR}/pcsc-lite-${PV}" | |||
23 | 23 | ||
24 | PACKAGES =+ "${PN}-lib" | 24 | PACKAGES =+ "${PN}-lib" |
25 | 25 | ||
26 | INITSCRIPT_NAME = "pcscd" | ||
27 | INITSCRIPT_PARAMS = "defaults" | ||
28 | |||
29 | FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}" | 26 | FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}" |