From c75a3e084b4cb988e0bdb31b7a9618fdb5a5bdf2 Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Tue, 9 Nov 2021 00:23:09 +0900 Subject: Add automatic start support for IVI guest. Currently IVI guest doesn't start automatically. IVI guest shall not start in single display environment. IVI guest shall start in dual display environment such as kingfisher. This patch add automatic start support for IVI guest in dual display environment. Bug-AGL : SPEC-4135 Signed-off-by: Naoto Yamaguchi Change-Id: Idcb8c7961f7d2e7f4bf77f1fb81065d16ed124a2 --- .../recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bbappend | 2 ++ .../recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bbappend | 2 ++ .../recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bb | 2 +- meta-agl-lxc/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bb | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'meta-agl-lxc') diff --git a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bbappend b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bbappend index b795a9bf..127d09db 100644 --- a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bbappend +++ b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bbappend @@ -1,3 +1,5 @@ # If you want to change display assign in your board, please change this line in your recipe. DRM_LEASE_DEVICE ?= "${@bb.utils.contains("AGL_FEATURES", "kingfisher", "card0-HDMI-A-2", "card0-HDMI-A-1" ,d)}" + +LXC_AUTO_START ?= "1" diff --git a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bbappend b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bbappend index d38dd3ef..5a504ff1 100644 --- a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bbappend +++ b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bbappend @@ -1,3 +1,5 @@ # If you want to change display assign in your board, please change this line in your recipe. DRM_LEASE_DEVICE ?= "${@bb.utils.contains("AGL_FEATURES", "kingfisher", "card0-HDMI-A-1", "card0-HDMI-A-1" ,d)}" + +LXC_AUTO_START ?= "${@bb.utils.contains("AGL_FEATURES", "kingfisher", "1", "0" ,d)}" diff --git a/meta-agl-lxc/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bb b/meta-agl-lxc/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bb index 57101f7a..913afb35 100644 --- a/meta-agl-lxc/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bb +++ b/meta-agl-lxc/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bb @@ -4,4 +4,4 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a6964767 inherit lxc-config -LXC_AUTO_START = "1" +LXC_AUTO_START ??= "1" diff --git a/meta-agl-lxc/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bb b/meta-agl-lxc/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bb index 6c387def..ee9ff467 100644 --- a/meta-agl-lxc/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bb +++ b/meta-agl-lxc/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bb @@ -4,4 +4,4 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a6964767 inherit lxc-config -LXC_AUTO_START = "0" +LXC_AUTO_START ??= "0" -- cgit 1.2.3-korg