diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-23 08:06:04 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-25 10:44:14 -0700 |
commit | b8e97f5b2a11c0d4be9f61821aead402780a4be7 (patch) | |
tree | 4fc5424af64d49f73730625f4a1e2caea158c8a4 /meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb | |
parent | 78180b6c21638b41a5bab9ed706211304d5f2552 (diff) | |
download | meta-openembedded-b8e97f5b2a11c0d4be9f61821aead402780a4be7.tar.gz |
boinc-client: Do not overwrite same file when using usrmerge
in case usrmerge is enabled, unit file is already in expected location
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb')
-rw-r--r-- | meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb b/meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb index 5e991d309..abcb304d3 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb +++ b/meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb | |||
@@ -76,7 +76,8 @@ do_compile:prepend () { | |||
76 | } | 76 | } |
77 | 77 | ||
78 | do_install:append() { | 78 | do_install:append() { |
79 | if [ -e ${D}${nonarch_libdir}/systemd/system/boinc-client.service ]; then | 79 | if ! ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)} -a \ |
80 | -e ${D}${nonarch_libdir}/systemd/system/boinc-client.service; then | ||
80 | install -d ${D}${systemd_system_unitdir} | 81 | install -d ${D}${systemd_system_unitdir} |
81 | mv \ | 82 | mv \ |
82 | ${D}${nonarch_libdir}/systemd/system/boinc-client.service \ | 83 | ${D}${nonarch_libdir}/systemd/system/boinc-client.service \ |