diff options
Diffstat (limited to 'meta-oe/recipes-support/openct/openct_0.6.20.bb')
-rw-r--r-- | meta-oe/recipes-support/openct/openct_0.6.20.bb | 8 |
1 files changed, 3 insertions, 5 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 c7d7203ed..913290cd9 100644 --- a/meta-oe/recipes-support/openct/openct_0.6.20.bb +++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb | |||
@@ -25,7 +25,7 @@ SRC_URI[sha256sum] = "6cd3e2933d29eb1f875c838ee58b8071fd61f0ec8ed5922a86c01c805d | |||
25 | LICENSE = "LGPLv2+" | 25 | LICENSE = "LGPLv2+" |
26 | LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1" | 26 | LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1" |
27 | 27 | ||
28 | inherit ${@bb.utils.filter('VIRTUAL-RUNTIME_init_manager', 'systemd', d)} | 28 | inherit systemd |
29 | SYSTEMD_SERVICE_${PN} += "openct.service " | 29 | SYSTEMD_SERVICE_${PN} += "openct.service " |
30 | SYSTEMD_AUTO_ENABLE = "enable" | 30 | SYSTEMD_AUTO_ENABLE = "enable" |
31 | 31 | ||
@@ -77,10 +77,8 @@ do_install () { | |||
77 | install -Dpm 755 ${WORKDIR}/openct.init ${D}/etc/init.d/openct | 77 | install -Dpm 755 ${WORKDIR}/openct.init ${D}/etc/init.d/openct |
78 | install -Dpm 644 ${WORKDIR}/openct.sysconfig ${D}/etc/sysconfig/openct | 78 | install -Dpm 644 ${WORKDIR}/openct.sysconfig ${D}/etc/sysconfig/openct |
79 | 79 | ||
80 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 80 | install -d ${D}/${systemd_unitdir}/system |
81 | install -d ${D}/${systemd_unitdir}/system | 81 | install -m 644 ${WORKDIR}/openct.service ${D}/${systemd_unitdir}/system |
82 | install -m 644 ${WORKDIR}/openct.service ${D}/${systemd_unitdir}/system | ||
83 | fi | ||
84 | 82 | ||
85 | so=$(find ${D} -name \*.so | sed "s|^${D}||") | 83 | so=$(find ${D} -name \*.so | sed "s|^${D}||") |
86 | sed -i -e 's|\\(LIBPATH\\s*\\).*|\\1$so|' etc/reader.conf | 84 | sed -i -e 's|\\(LIBPATH\\s*\\).*|\\1$so|' etc/reader.conf |