mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 17:55:49 +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 b8e97f5b2a11c0d4be9f61821aead402780a4be7) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
00b970a87a
commit
0105be9ed2
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user