diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2017-02-23 11:05:43 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-23 23:22:59 +0100 |
commit | 05aefd1ca12c33d6d167e8c0e4b3d07706daee78 (patch) | |
tree | daf4cf36e51241d4bee84b276b3c5e0679992dfb | |
parent | 2320db653871e08c1b44a49cec688e596cac0efb (diff) | |
download | meta-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>
-rw-r--r-- | meta-oe/recipes-support/openct/openct_0.6.20.bb | 6 |
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 | ||
43 | FILES_${PN} += " \ | 43 | FILES_${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() { | |||
62 | do_install () { | 62 | do_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 |