summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/ydotool/ydotool_git.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
index c1427457d..3acf70235 100644
--- a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
+++ b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
@@ -16,5 +16,11 @@ EXTRA_OECMAKE = "\
16 -DBUILD_DOCS=OFF \ 16 -DBUILD_DOCS=OFF \
17" 17"
18 18
19do_install:append() {
20 if ! ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
21 rm -rf ${D}${systemd_user_unitdir}
22 rmdir ${D}${nonarch_libdir}/systemd ${D}${nonarch_libdir}
23 fi
24}
19SYSTEMD_SERVICE:${PN} = "ydotoold.service" 25SYSTEMD_SERVICE:${PN} = "ydotoold.service"
20SYSTEMD_AUTO_ENABLE = "disable" 26SYSTEMD_AUTO_ENABLE = "disable"