Patchwork [44/58] pcsc-lite: add bbappend in meta-systemd

login
register
mail settings
Submitter Martin Jansa
Date Dec. 4, 2012, 1:59 a.m.
Message ID <1b238f2dbf90c01922839e02c7eee4daa3132f67.1354586187.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/40185/
State Accepted
Commit cf1c42c7a3c0ccaa66b39288965d75197f7b33a9
Headers show

Comments

Martin Jansa - Dec. 4, 2012, 1:59 a.m.
* fixes packaging QA warning, when systemd is autodetected:
pcsc-lite-1.8.6: pcsc-lite: Files/directories were installed but not shipped
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/pcscd.service
  /lib/systemd/system/pcscd.socket

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend      | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend

Patch

diff --git a/meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend b/meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend
new file mode 100644
index 0000000..b8150b7
--- /dev/null
+++ b/meta-systemd/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.6.bbappend
@@ -0,0 +1,6 @@ 
+inherit systemd
+
+PRINC := "${@int(PRINC) + 1}"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "pcscd.socket"