mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 05:29:22 +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:
@@ -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