summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease/recipes-graphics/drm-lease-manager
diff options
context:
space:
mode:
authorHiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>2022-07-12 09:56:15 +0900
committerHiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>2022-07-12 15:05:06 +0900
commit196ad6f241204fe351e039abd492bf5c893227d5 (patch)
tree37fdfc138fdd33c96470cbb12b9ac888694f6959 /meta-agl-drm-lease/recipes-graphics/drm-lease-manager
parentd4322f2bee9d4ed9cfaf13e78934e5a9e03e3918 (diff)
drm-lease-manager: Enable systemd notify support
We'd like to enable this for solving some timing issue between drm-lease-manager and lxc in lxc-host-image-demo. Bug-AGL: SPEC-4427 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I60b7b0cfd8f5caee4cf0bfc9b9828edfd700b12a
Diffstat (limited to 'meta-agl-drm-lease/recipes-graphics/drm-lease-manager')
-rw-r--r--meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager/drm-lease-manager.service2
-rw-r--r--meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager_git.bb5
2 files changed, 5 insertions, 2 deletions
diff --git a/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager/drm-lease-manager.service b/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager/drm-lease-manager.service
index bac6391d..e4967319 100644
--- a/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager/drm-lease-manager.service
+++ b/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager/drm-lease-manager.service
@@ -3,7 +3,7 @@ Description=DRM Lease Manager
After=basic.target
[Service]
-Type=simple
+Type=notify
ExecStart=drm-lease-manager --config=/etc/xdg/drm-lease-manager/drm-lease-manager.ini
Group=video
UMask=0007
diff --git a/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager_git.bb b/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager_git.bb
index 9eaa76ed..c1d47792 100644
--- a/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager_git.bb
+++ b/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager_git.bb
@@ -7,7 +7,7 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/drm-lease-manager;protoco
"
PV = "0.1+git${SRCPV}"
-SRCREV = "53f4fe700dee88cc9840a91f2f297aacf05e08d4"
+SRCREV = "9a8ddd2e10eb7f54461d73c91028282106304f3c"
S = "${WORKDIR}/git"
@@ -26,6 +26,9 @@ do_install:append() {
SYSTEMD_SERVICE:${PN} = "drm-lease-manager.service"
RDEPENDS:${PN} = "drm-lease-manager-init"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[systemd] = "-Denable-systemd=true,-Denable-systemd=false,systemd"
+
EXTRA_OEMESON += "${@bb.utils.contains('PTEST_ENABLED', '1', '-Denable-tests=true', '', d)}"
RDEPENDS:${PN}-ptest = "libcheck"