mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 12:26:04 +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>
This commit is contained in:
parent
78180b6c21
commit
b8e97f5b2a
@ -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