X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-openivi%2Fopenivi-html5%2Fopenivi-html5_git.bb;fp=recipes-openivi%2Fopenivi-html5%2Fopenivi-html5_git.bb;h=168b98c7800e8ae6d2c87797d0bcb3f94413067a;hb=847493e6b994e25c5936a9534e2e225f9e2a42ad;hp=1151719488e47550a4047ddf19d6b992d5bfe4c7;hpb=e51f84722b85265924d0a74e61598a57bb54fdfe;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-openivi/openivi-html5/openivi-html5_git.bb b/recipes-openivi/openivi-html5/openivi-html5_git.bb index 115171948..168b98c78 100644 --- a/recipes-openivi/openivi-html5/openivi-html5_git.bb +++ b/recipes-openivi/openivi-html5/openivi-html5_git.bb @@ -16,9 +16,7 @@ PV = "0.1" S = "${WORKDIR}/git" -SYSTEMD_SERVICE_${PN} = "openivi-html5.service" - -RDEPENDS_${PN} = "qtbase qtwebkit" +RDEPENDS_${PN} = "qtbase qtwebkit inputeventmanager windowmanager" DEPENDS = "qtbase-native qtbase qtwebkit" EXTRA_OECMAKE = " -DCMAKE_DISABLE_FIND_PACKAGE_X11=TRUE " @@ -35,8 +33,11 @@ do_install() { install -p -D ${WORKDIR}/openivi-html5.sh ${D}${bindir}/openivi-html5.sh if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -p -D ${WORKDIR}/openivi-html5.service ${D}${systemd_unitdir}/system/openivi-html5.service + install -d ${D}${systemd_user_unitdir} + install -p -D ${WORKDIR}/openivi-html5.service ${D}${systemd_user_unitdir}/openivi-html5.service + install -d ${D}${sysconfdir}/systemd/user/default.target.wants + ln -sf ${systemd_user_unitdir}/openivi-html5.service ${D}${sysconfdir}/systemd/user/default.target.wants fi } -FILES_${PN} += " ${prefix}/bin/openivi-html5.sh" +FILES_${PN} += " ${prefix}/bin/openivi-html5.sh ${systemd_user_unitdir} ${sysconfdir}"