summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bb
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2022-04-08 12:34:23 +0900
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>2022-04-27 13:01:09 +0900
commitcdbc49db38c274c880d2372a1d0fe648de920a68 (patch)
tree4ce6d7bf157a2e29aa846355a12f0489385de83e /meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bb
parenta3614219b71e146ea91b4fdf361a23c2b47abe94 (diff)
drm-lease-manager: Add configuration file suppport
Use latest drm-lease-manager version and add a generic lease manager configuration file. Platforms should override this with something appropriate for their system. Bug-AGL: SPEC-3815 Change-Id: I3c0a4b137e53dab7ff2782791cfca951e4c14e13 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Diffstat (limited to 'meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bb')
-rw-r--r--meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bb b/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bb
new file mode 100644
index 00000000..6a31c4b0
--- /dev/null
+++ b/meta-agl-drm-lease/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Configuration file for drm-lease-manager"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "file://drm-lease-manager.ini"
+
+DRM_LEASE_MANAGER_CONF_DIR := "${sysconfdir}/xdg/drm-lease-manager"
+
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}${DRM_LEASE_MANAGER_CONF_DIR}
+ install -m644 ${WORKDIR}/drm-lease-manager.ini ${D}/${DRM_LEASE_MANAGER_CONF_DIR}/drm-lease-manager.ini
+}
+
+RDEPENDS:${PN} = "drm-lease-manager"