diff options
author | 2016-11-17 03:36:12 +0100 | |
---|---|---|
committer | 2016-11-17 09:48:04 +0100 | |
commit | e0bee78fae7cc8e6abbb87b04b1cd8b28d0f094d (patch) | |
tree | 4c5438b02936295c0e89bdcb6282380283e4ef2d /recipes-demo-hmi/HomeScreen | |
parent | c3dc5c27fd6f7a045ceeda080a9e77cdf312092b (diff) |
Add systemd service files
v2 (jsmoeller): Add systemd service plumbing in recipe
v3 (jsmoeller): Update to 7f06418646c8822452f8541386810208c523f990
Change-Id: I6bf9971590f9f19d7d024ffdf87e429766d64231
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-demo-hmi/HomeScreen')
-rw-r--r-- | recipes-demo-hmi/HomeScreen/HomeScreen_0.6.2.bb (renamed from recipes-demo-hmi/HomeScreen/HomeScreen_0.6.1.bb) | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/recipes-demo-hmi/HomeScreen/HomeScreen_0.6.1.bb b/recipes-demo-hmi/HomeScreen/HomeScreen_0.6.2.bb index 40a50432..e5e71fcc 100644 --- a/recipes-demo-hmi/HomeScreen/HomeScreen_0.6.1.bb +++ b/recipes-demo-hmi/HomeScreen/HomeScreen_0.6.2.bb @@ -3,11 +3,10 @@ DESCRIPTION = "AGL Home Screen Application + SampleAppTimeDate + HomeScreenAppFr HOMEPAGE = "https://wiki.automotivelinux.org/homescreen" LICENSE = "Apache-2.0" SECTION = "apps" -PV = "0.6.1+gitr${SRCPV}" -PR = "r1" +PV = "0.6.2+gitr${SRCPV}" S = "${WORKDIR}/git/" -inherit qmake5 +inherit qmake5 systemd DEPENDS = " qtbase " # for HomeScreenAppFrameworkBinderTizen: @@ -18,7 +17,7 @@ DEPENDS += " wayland-ivi-extension " DEPENDS += " glib-2.0 " LIC_FILES_CHKSUM = "file://HomeScreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c984" -SRCREV = "61d3f0e1e2210d6108953b0433324a3365d9dab6" +SRCREV = "7f06418646c8822452f8541386810208c523f990" SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git;protocol=http" @@ -40,17 +39,29 @@ do_install() { install -m 0755 ${B}/SampleNavigationApp/SampleNavigationApp ${D}/usr/AGL/${PN}/ install -m 0755 ${B}/SampleMediaApp/SampleMediaApp ${D}/usr/AGL/${PN}/ - install -d ${D}/usr/lib - install -m 0644 ${B}/libhomescreen/libhomescreen.so.1.0.0 ${D}/usr/lib/ - ln -sf /usr/lib/libhomescreen.so.1.0.0 ${D}/usr/lib/libhomescreen.so - ln -sf /usr/lib/libhomescreen.so.1.0.0 ${D}/usr/lib/libhomescreen.so.1 - ln -sf /usr/lib/libhomescreen.so.1.0.0 ${D}/usr/lib/libhomescreen.so.1.0 -} + install -d ${D}${libdir} + install -m 0644 ${B}/libhomescreen/libhomescreen.so.1.0.0 ${D}${libdir}/ + ln -sf ${libdir}/libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so + ln -sf ${libdir}/libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1 + ln -sf ${libdir}/libhomescreen.so.1.0.0 ${D}${libdir}/libhomescreen.so.1.0 + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${B}/HomeScreen/conf/HomeScreen.service ${D}${systemd_unitdir}/system + install -m 0644 ${B}/HomeScreenAppFrameworkBinderAGL/conf/HomeScreenAppFrameworkBinderAGL.service ${D}${systemd_unitdir}/system + install -m 0644 ${B}/InputEventManager/conf/InputEventManager.service ${D}${systemd_unitdir}/system + install -m 0644 ${B}/WindowManager/conf/WindowManager.service ${D}${systemd_unitdir}/system +} -FILES_${PN} += "/usr/AGL/${PN}/ /usr/AGL/${PN}/colorschemes /usr/lib/" +FILES_${PN} += "/usr/AGL/${PN}/ /usr/AGL/${PN}/colorschemes ${libdir} ${systemd_unitdir}/system" FILES_${PN}-dbg += "/usr/AGL/${PN}/.debug" +#SYSTEMD_PACKAGES - no separate packages +SYSTEMD_SERVICE += "WindowManager.service" +SYSTEMD_SERVICE += "HomeScreen.service" +SYSTEMD_SERVICE += "InputEventManager.service" +SYSTEMD_SERVICE += "HomeScreenAppFrameworkBinderAGL.service" + + ############################################# # this has to be set up later... ############################################# |