From 30f43db8620a372dd0b8b825516c32c870af1fbc Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Mon, 1 Nov 2021 10:47:11 +0000 Subject: [PATCH] vending-machine-control-application: Bump to latest revision 1. this revision includes support for systemd notify (adapt the service and include a systemd dependency) 2. it also includes support for i2c pheripherals and libi2c is required 3. various other fixes are included with this bump 4. this change also cleans up the service file of unneeded dependencies and environment variables Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../vending-machine-control-application.service | 5 +---- .../vending-machine-control-application_git.bb | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application/vending-machine-control-application.service b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application/vending-machine-control-application.service index a62cb54f..1424fc2e 100644 --- a/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application/vending-machine-control-application.service +++ b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application/vending-machine-control-application.service @@ -4,12 +4,9 @@ [Unit] Description=Vending Machine Control Application -Requires=weston@root.service -After=weston@root.service [Service] -Environment="WAYLAND_DISPLAY=wayland-0" -Environment="XDG_RUNTIME_DIR=/run/user/0" +Type=notify ExecStart=/usr/bin/vending-machine-control-application Restart=always diff --git a/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application_git.bb b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application_git.bb index 26fe702e..3751c80a 100644 --- a/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application_git.bb +++ b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application_git.bb @@ -9,11 +9,11 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ba963850f6731c74878fe839d227e675" SRC_URI = "git://booting.oniroproject.org/distro/components/${BPN};protocol=https;branch=main" -SRCREV = "a1a8ad59cbdbfae02270a1465c67d132b4eeb38c" +SRCREV = "de63b97d58ed04052e58064a1228ed07d36b29e2" SRC_URI += "file://${BPN}.service" S = "${WORKDIR}/git" -DEPENDS="i2c-tools json-c libwebsockets" +DEPENDS="systemd i2c-tools json-c libwebsockets" inherit pkgconfig features_check systemd -- GitLab