All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pcsc-lite: make configuration file a separate package
@ 2011-05-10 22:17 Chase Maupin
  2011-05-12 15:43 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Chase Maupin @ 2011-05-10 22:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Chase Maupin

* Move the reader.conf file to be part of a separate package
  so that it is not installed by default.
* This is done because individual readers that implements an
  IFDHandler library need to be able to install their reader.conf
  file in the /etc/reader.conf.d directory.  Without this change
  those packages will conflict with the reader.conf file installed
  by the pcsc-lite package:
    * NOTE: the reader.conf file in the package is a commented out
            template file, not an actual working configuration
            file.
* Using this change IFDHandler packages can use RCONFLICT with
  the pcsc-lite-collateral package to let users know that these
  packages cannot co-exist.
* Mark the configuration file an such so that when the package is
  updated the user's changes are not lost.
* Bump the PR.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 recipes/pcsc-lite/pcsc-lite_1.5.2.bb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/recipes/pcsc-lite/pcsc-lite_1.5.2.bb b/recipes/pcsc-lite/pcsc-lite_1.5.2.bb
index b4af08d..88401b6 100644
--- a/recipes/pcsc-lite/pcsc-lite_1.5.2.bb
+++ b/recipes/pcsc-lite/pcsc-lite_1.5.2.bb
@@ -5,6 +5,8 @@ LICENSE = "BSD"
 DEPENDS = "hal"
 RDEPENDS_${PN} = "hal"
 
+PR = "r1"
+
 SRC_URI = "https://alioth.debian.org/frs/download.php/2795/pcsc-lite-${PV}.tar.bz2 \
            file://pcscd.init "
 
@@ -26,8 +28,11 @@ do_install() {
 }
 
 PACKAGES =+ "libpcsclite"
+PACKAGES =+ "${PN}-collateral"
 
 FILES_libpcsclite = "${libdir}/libpcsclite.so.*"
+FILES_${PN}-collateral = "${sysconfdir}/reader.conf.d/*"
+CONFFILES_${PN}-collateral = "${sysconfdir}/reader.conf.d/*"
 
 SRC_URI[md5sum] = "d7d466621bec39354351f09349f6374c"
 SRC_URI[sha256sum] = "a0c11b0b5cc46d4c4ec499b875cfdc4e766fdf12fe2f6ea635e1b11ab7b8821e"
-- 
1.7.0.4




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

end of thread, other threads:[~2011-05-12 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10 22:17 [PATCH] pcsc-lite: make configuration file a separate package Chase Maupin
2011-05-12 15:43 ` Denys Dmytriyenko
2011-05-12 21:58   ` Maupin, Chase

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.