diff options
author | Damian Hobson-Garcia <dhobsong@igel.co.jp> | 2023-04-03 16:35:13 -0400 |
---|---|---|
committer | Damian Hobson-Garcia <dhobsong@igel.co.jp> | 2023-04-03 17:10:44 -0400 |
commit | 32d1047a23d63a9a135b1a7e91baef433bfd7b05 (patch) | |
tree | 72d3500eddaed658f3b95396e9e94d110713451c /meta-agl-ic-container/recipes-demo | |
parent | 9a991da4d017ff05f291316b6ead7be6bd5ded14 (diff) |
ic-container: qemu: Set connector name for IVI layer manaager
The ivi-layer manager configuration file needs to know the name
of display connector to set up the layer configuration.
Adjust the connector name in the configuration file to reflect
the connector names in us on the platform being built. This
currently only applies to qemu, but could be applied to other
build configurations in future.
Bug-AGL: SPEC-4464
Change-Id: Ie52c9b8639a2bd5c83c4686ff9b557d05a2a7e1e
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-demo')
-rw-r--r-- | meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager/agl.json.in (renamed from meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager/agl.json) | 2 | ||||
-rw-r--r-- | meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager_git.bb | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager/agl.json b/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager/agl.json.in index 80028c50..c241b788 100644 --- a/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager/agl.json +++ b/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager/agl.json.in @@ -2,7 +2,7 @@ "screen": [ { "name": "ivi-screen", - "dispname": "HDMI-A-1" + "dispname": "@DRM_IVI_DEVICE@" } ], "layer": [ diff --git a/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager_git.bb b/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager_git.bb index 2f976b39..072613fc 100644 --- a/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager_git.bb +++ b/meta-agl-ic-container/recipes-demo/ilm-manager/ilm-manager_git.bb @@ -10,17 +10,24 @@ PV = "0.1.0+rev${SRCPV}" SRCREV = "e3a33d47195e4656f7117753d27a0f2d6b21aab9" SRC_URI = " \ git://github.com/AGLExport/ilm-manager.git;branch=master;protocol=https \ - file://agl.json \ + file://agl.json.in \ file://ilm-manager.service \ " S = "${WORKDIR}/git" inherit autotools pkgconfig systemd +DRM_IVI_DEVICE = "HDMI-A-1" +DRM_IVI_DEVICE:qemuall = "Virtual-1" + do_install:append() { #install scripts + + sed 's|@DRM_IVI_DEVICE@|${DRM_IVI_DEVICE}|g' \ + ${WORKDIR}/agl.json.in > ${B}/agl.json + install -d ${D}${sysconfdir} - install -m 0644 ${WORKDIR}/agl.json ${D}${sysconfdir} + install -m 0644 ${B}/agl.json ${D}${sysconfdir} install -d ${D}/${systemd_system_unitdir} install -m 0644 ${WORKDIR}/ilm-manager.service ${D}${systemd_system_unitdir} |