Fix agl IC demo is not show both screen 41/29141/2
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Sun, 20 Aug 2023 02:10:24 +0000 (11:10 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 4 Sep 2023 13:06:14 +0000 (13:06 +0000)
In R-Car platform such as ref-hw is not show cluster and ivi screen.
It cause by installing gles-user-module-firmware into guest image.
gles-user-module-firmware is installed by kernel-module-gles dependency.
kernel-module-gles is installed by MACHINE_EXTRA_RRECOMMENDS from agl_rcar.inc,
but this environment variable can't delete in guest build.

This patch fix this issue.

Bug-AGL: SPEC-4888

Change-Id: Ica0f8d6ef48d30333bbccdff7380471b11ad063c
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bbappend
meta-agl-ic-container/recipes-demo/mominavi/mominavi_git.bb
meta-agl-ic-container/recipes-demo/momiplay/momiplay_git.bb
meta-agl-ic-container/recipes-demo/momiscreen/momiscreen_git.bb
meta-agl-ic-container/recipes-demo/packagegroups/packagegroup-agl-ic-qt.bb [new file with mode: 0644]
meta-agl-ic-container/recipes-platform/images/agl-instrument-cluster-container-demo.bb
meta-agl-ic-container/recipes-platform/images/guest-image-cluster-demo.bb
meta-agl-ic-container/recipes-platform/images/guest-image-ivi-demo.bb
meta-agl-ic-container/recipes-platform/images/guest-image-minimal.bb

index 8d2763a..f5c2cfd 100644 (file)
@@ -51,7 +51,7 @@ SYSTEMD_PACKAGES = "${PN}"
 SYSTEMD_SERVICE:${PN} = "mominavi.service"
 
 RDEPENDS:${PN} = " \
-    qtsvg \
-    qtwebsockets \
-    qtlocation \
+    qtsvg qtsvg-plugins qtsvg-qmlplugins \
+    qtwebsockets qtwebsockets-plugins qtwebsockets-qmlplugins \
+    qtlocation qtlocation-plugins qtlocation-qmlplugins \
     "
index 52db119..b4e17ff 100644 (file)
@@ -43,6 +43,6 @@ SYSTEMD_SERVICE:${PN} = "momiplay.service"
 SYSTEMD_AUTO_ENABLE:${PN} = "disable"
 
 RDEPENDS:${PN} = " \
-    qtsvg \
-    qtmultimedia \
+    qtsvg qtsvg-plugins qtsvg-qmlplugins \
+    qtmultimedia qtmultimedia-plugins qtmultimedia-qmlplugins \
     "
index f14df8a..568eb06 100644 (file)
@@ -40,4 +40,4 @@ FILES:${PN} += " \
 SYSTEMD_PACKAGES = "${PN}"
 SYSTEMD_SERVICE:${PN} = "momiscreen.service"
 
-RDEPENDS:${PN} = "qtsvg "
+RDEPENDS:${PN} = "qtsvg qtsvg-plugins qtsvg-qmlplugins"
diff --git a/meta-agl-ic-container/recipes-demo/packagegroups/packagegroup-agl-ic-qt.bb b/meta-agl-ic-container/recipes-demo/packagegroups/packagegroup-agl-ic-qt.bb
new file mode 100644 (file)
index 0000000..37afbfb
--- /dev/null
@@ -0,0 +1,23 @@
+SUMMARY = "AGL Instrument Cluster Demo Qt Packages"
+DESCRIPTION = "This pacage group including Qt packages for AGL Instrument Cluster Demo."
+HOMEPAGE = "https://confluence.automotivelinux.org/display/IC"
+
+LICENSE = "Apache-2.0"
+
+PACKAGE_ARCH = "${TUNE_PKGARCH}"
+
+inherit packagegroup
+
+PACKAGES = "\
+    packagegroup-agl-ic-qt \
+"
+RDEPENDS:${PN} += "\
+    qtbase qtbase-plugins qtbase-qmlplugins \
+    qtdeclarative qtdeclarative-plugins qtdeclarative-qmlplugins \
+    qtgraphicaleffects qtgraphicaleffects-plugins qtgraphicaleffects-qmlplugins \
+    qtmultimedia qtmultimedia-plugins qtmultimedia-qmlplugins \
+    qtquickcontrols qtquickcontrols-plugins qtquickcontrols-qmlplugins \
+    qtquickcontrols2 qtquickcontrols2-plugins qtquickcontrols2-qmlplugins \
+    qtwayland qtwayland-plugins qtwayland-qmlplugins \
+    qt3d qt3d-plugins qt3d-qmlplugins \
+"
index cae2572..3e2d6cb 100644 (file)
@@ -34,4 +34,4 @@ VIRTUAL-RUNTIME_net_manager = "systemd"
 
 
 # Under the this line, shall describe machine specific package.
-IMAGE_INSTALL:append:rcar-gen3 = " kernel-module-gles "
+IMAGE_INSTALL:append:rcar-gen3 = " kernel-module-gles gles-user-module-firmware"
index 8cf1528..b987370 100644 (file)
@@ -8,9 +8,12 @@ IMAGE_INSTALL += " \
     weston-init-guest \
     weston-ini-conf-guest \
     cluster-refgui \
+    packagegroup-agl-ic-qt \
     pipewire-ic-ipc \
 "
 
+IMAGE_INSTALL:append:raspberrypi4 = " mesa-megadriver"
+
 IMAGE_OVERHEAD_FACTOR = "0"
 EXTRA_IMAGECMD:append = " -L agl-cluster"
 IMAGE_ROOTFS_EXTRA_SPACE = "0"
index fe5928b..4ac579a 100644 (file)
@@ -12,9 +12,7 @@ IMAGE_INSTALL += " \
     mominavi \
     momiplay \
     momiscreen \
-    qtquickcontrols \
-    qtquickcontrols2 \
-    qtwayland \
+    packagegroup-agl-ic-qt \
     systemd-netif-config \
     ttf-dejavu-sans \
     ttf-dejavu-sans-mono \
@@ -29,6 +27,8 @@ IMAGE_INSTALL += " \
     wireplumber-policy-config-agl \
 "
 
+IMAGE_INSTALL:append:raspberrypi4 = " mesa-megadriver"
+
 IMAGE_OVERHEAD_FACTOR = "0"
 EXTRA_IMAGECMD:append = " -L agl-momi-ivi"
 IMAGE_ROOTFS_EXTRA_SPACE = "0"
index ca53456..ea19f5e 100644 (file)
@@ -8,3 +8,5 @@ IMAGE_INSTALL += " \
     packagegroup-agl-ic-core \
     packagegroup-agl-container-feature-logging-guest \
 "
+
+NO_RECOMMENDATIONS = "1"