summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/openct
diff options
context:
space:
mode:
authorAmarnath Valluri <amarnath.valluri@intel.com>2017-02-23 11:05:43 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-02-23 23:22:59 +0100
commit05aefd1ca12c33d6d167e8c0e4b3d07706daee78 (patch)
treedaf4cf36e51241d4bee84b276b3c5e0679992dfb /meta-oe/recipes-support/openct
parent2320db653871e08c1b44a49cec688e596cac0efb (diff)
downloadmeta-openembedded-05aefd1ca12c33d6d167e8c0e4b3d07706daee78.tar.gz
openct: Replace /lib/udev with ${nonarch_base_libdir}/udev.
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/openct')
-rw-r--r--meta-oe/recipes-support/openct/openct_0.6.20.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/openct/openct_0.6.20.bb b/meta-oe/recipes-support/openct/openct_0.6.20.bb
index d4ad9c1c4..85ca851c0 100644
--- a/meta-oe/recipes-support/openct/openct_0.6.20.bb
+++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb
@@ -34,7 +34,7 @@ EXTRA_OECONF=" \
34 --enable-pcsc \ 34 --enable-pcsc \
35 --enable-doc \ 35 --enable-doc \
36 --enable-api-doc \ 36 --enable-api-doc \
37 --with-udev=/lib/udev \ 37 --with-udev=${nonarch_base_libdir}/udev \
38 --with-bundle=${libdir}/pcsc/drivers \ 38 --with-bundle=${libdir}/pcsc/drivers \
39" 39"
40 40
@@ -42,7 +42,7 @@ inherit autotools pkgconfig
42 42
43FILES_${PN} += " \ 43FILES_${PN} += " \
44 ${libdir}/ctapi \ 44 ${libdir}/ctapi \
45 /lib/udev \ 45 ${nonarch_base_libdir}/udev \
46 ${libdir}/openct-ifd.so \ 46 ${libdir}/openct-ifd.so \
47 ${libdir}/pcsc \ 47 ${libdir}/pcsc \
48 /run/openct/status \ 48 /run/openct/status \
@@ -62,7 +62,7 @@ do_install_append() {
62do_install () { 62do_install () {
63 rm -rf ${D} 63 rm -rf ${D}
64 install -d ${D}/etc 64 install -d ${D}/etc
65 install -dm 755 ${D}/lib/udev 65 install -dm 755 ${D}${nonarch_base_libdir}/udev
66 # fix up hardcoded paths 66 # fix up hardcoded paths
67 sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \ 67 sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \
68 ${WORKDIR}/openct.service ${WORKDIR}/openct.init 68 ${WORKDIR}/openct.service ${WORKDIR}/openct.init