diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-12-20 06:45:48 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-20 16:07:50 -0800 |
| commit | d396990e8a548b61bda910f15d2c1475fb254437 (patch) | |
| tree | 96e7df65405f2c1f114961805c6affae261ea4ad /meta-oe | |
| parent | 0535ee84c37750630c3ddd2e11df200e72dfab2c (diff) | |
| download | meta-openembedded-d396990e8a548b61bda910f15d2c1475fb254437.tar.gz | |
boinc-client: Use nonarch_libdir for systemd_units
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-extended/boinc/boinc-client_7.16.bb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb b/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb index ce3f691b2c..1b0af5549a 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb +++ b/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb | |||
| @@ -74,11 +74,14 @@ do_compile_prepend () { | |||
| 74 | sed -i -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${B}/${TARGET_SYS}-libtool | 74 | sed -i -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${B}/${TARGET_SYS}-libtool |
| 75 | } | 75 | } |
| 76 | do_install_append() { | 76 | do_install_append() { |
| 77 | if [ -e ${D}${libdir}/systemd/system/boinc-client.service ]; then | 77 | if [ -e ${D}${nonarch_libdir}/systemd/system/boinc-client.service ]; then |
| 78 | install -D -m 0644 \ | 78 | install -d ${D}${systemd_system_unitdir} |
| 79 | ${D}${libdir}/systemd/system/boinc-client.service \ | 79 | mv \ |
| 80 | ${D}${nonarch_libdir}/systemd/system/boinc-client.service \ | ||
| 80 | ${D}${systemd_system_unitdir}/boinc-client.service | 81 | ${D}${systemd_system_unitdir}/boinc-client.service |
| 81 | rm -rf ${D}${libdir}/systemd | 82 | rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir}/systemd/system \ |
| 83 | ${D}${nonarch_libdir}/systemd \ | ||
| 84 | ${D}${nonarch_libdir} | ||
| 82 | fi | 85 | fi |
| 83 | } | 86 | } |
| 84 | 87 | ||
