mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
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>
(cherry picked from commit b8e97f5b2a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -76,7 +76,8 @@ do_compile:prepend () {
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
if [ -e ${D}${nonarch_libdir}/systemd/system/boinc-client.service ]; then
|
||||
if ! ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)} -a \
|
||||
-e ${D}${nonarch_libdir}/systemd/system/boinc-client.service; then
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
mv \
|
||||
${D}${nonarch_libdir}/systemd/system/boinc-client.service \
|
||||
|
||||
Reference in New Issue
Block a user