summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/openct
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-13 14:16:55 -0700
committerKhem Raj <raj.khem@gmail.com>2024-05-23 08:44:44 -0700
commitffc64e9c6fee0af7eea3466135416d011172a5e6 (patch)
treeb9effa069d9af3c63d6f3a41caff6b887450522c /meta-oe/recipes-support/openct
parenta90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff)
downloadmeta-openembedded-ffc64e9c6fee0af7eea3466135416d011172a5e6.tar.gz
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/openct')
-rw-r--r--meta-oe/recipes-support/openct/openct_0.6.20.bb8
1 files changed, 4 insertions, 4 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 4a1a0f568d..e4b99089f5 100644
--- a/meta-oe/recipes-support/openct/openct_0.6.20.bb
+++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb
@@ -62,7 +62,7 @@ do_install () {
62 install -d ${D}${sysconfdir} 62 install -d ${D}${sysconfdir}
63 # fix up hardcoded paths 63 # fix up hardcoded paths
64 sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \ 64 sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \
65 ${WORKDIR}/openct.service ${WORKDIR}/openct.init 65 ${UNPACKDIR}/openct.service ${UNPACKDIR}/openct.init
66 66
67 oe_runmake install DESTDIR=${D} 67 oe_runmake install DESTDIR=${D}
68 install -dm 755 ${D}${libdir}/ctapi/ 68 install -dm 755 ${D}${libdir}/ctapi/
@@ -70,11 +70,11 @@ do_install () {
70 install -Dpm 644 etc/openct.udev ${D}${nonarch_libdir}/udev/rules.d/60-openct.rules 70 install -Dpm 644 etc/openct.udev ${D}${nonarch_libdir}/udev/rules.d/60-openct.rules
71 install -pm 644 etc/openct.conf ${D}${sysconfdir}/openct.conf 71 install -pm 644 etc/openct.conf ${D}${sysconfdir}/openct.conf
72 72
73 install -Dpm 755 ${WORKDIR}/openct.init ${D}${sysconfdir}/init.d/openct 73 install -Dpm 755 ${UNPACKDIR}/openct.init ${D}${sysconfdir}/init.d/openct
74 install -Dpm 644 ${WORKDIR}/openct.sysconfig ${D}${sysconfdir}/sysconfig/openct 74 install -Dpm 644 ${UNPACKDIR}/openct.sysconfig ${D}${sysconfdir}/sysconfig/openct
75 75
76 install -d ${D}${systemd_unitdir}/system 76 install -d ${D}${systemd_unitdir}/system
77 install -m 644 ${WORKDIR}/openct.service ${D}${systemd_unitdir}/system 77 install -m 644 ${UNPACKDIR}/openct.service ${D}${systemd_unitdir}/system
78 78
79 so=$(find ${D} -name \*.so | sed "s|^${D}||") 79 so=$(find ${D} -name \*.so | sed "s|^${D}||")
80 sed -i -e 's|\\(LIBPATH\\s*\\).*|\\1$so|' etc/reader.conf 80 sed -i -e 's|\\(LIBPATH\\s*\\).*|\\1$so|' etc/reader.conf