Add automatic start support for IVI guest. 60/26860/8
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Mon, 8 Nov 2021 15:23:09 +0000 (00:23 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 17 Nov 2021 15:44:42 +0000 (15:44 +0000)
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 <naoto.yamaguchi@aisin.co.jp>
Change-Id: Idcb8c7961f7d2e7f4bf77f1fb81065d16ed124a2

meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bbappend
meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bbappend
meta-agl-lxc/recipes-container/lxc-config/lxc-config-cluster-demo_1.0.bb
meta-agl-lxc/recipes-container/lxc-config/lxc-config-ivi-demo_1.0.bb

index b795a9b..127d09d 100644 (file)
@@ -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"
index d38dd3e..5a504ff 100644 (file)
@@ -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)}"
index 57101f7..913afb3 100644 (file)
@@ -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"
index 6c387de..ee9ff46 100644 (file)
@@ -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"