summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container
AgeCommit message (Collapse)AuthorFilesLines
2023-05-09Add support out of three image install to support agl demo ivi guestsNaoto Yamaguchi5-4/+58
Existing AGL IC container integration build host and all guest using multi config. When we want to add support agl demo ivi guests, multiconfig based integration require to long build time by single build tree. This patch enable support out of tree image install to support. This method support prebuild ext4 image installation. This method realize to reduce build time for AGL IC developer. Bug-AGL: SPEC-4766 Change-Id: Id4ba092ce89c05bad3440e75845e6602bb0a50ab Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Update raspberrypi4 support for AGL IC container integrationNaoto Yamaguchi16-3/+828
The raspberrypi4 and R-CarH3-refhw board is main supporting board for AGL IC container integration. The raspberrypi4 is require few patches. This patch update raspberrypi4 support for AGL IC container integration. Bug-AGL: SPEC-4777 Change-Id: I719e01aa8d603eced73e99fc54652b89d2d612b9 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Reworking environment variable setting for guestNaoto Yamaguchi11-29/+15
After the drm-lease-manager update, the drm-lease socket file setting is move on each environment variable setting. On the other hand, previous setting was not remove from system.conf for each guest. This patch remove drm-lease-manager and qt environment variable setting from system.conf for each guest. Bug-AGL: SPEC-4777 Change-Id: I972ee51f593ab305e0ffa548083cff11cf0014d5 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Reworking config creation for lxc and container managerNaoto Yamaguchi23-106/+59
At "Add initial container manager config for r-car gen3" add container manager config recipes. But it is not support dynamic drm lease configuration, it require to static configuration in each guest. This patch enable dynamic drm lease configuration similar to lxc-config. Bug-AGL: SPEC-4777 Change-Id: I6161c5ff3d93ddbbde866c1c28d107d8f524d40b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Enable container manager in agl-instrument-cluster-container-demoNaoto Yamaguchi1-0/+3
This patch enable container manager in agl-instrument-cluster-container-demo. Bug-AGL: SPEC-4777 Change-Id: I94d8b9d0e94a7f5f483e85b610557234c7ac6e9b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Add initial container manager config for r-car gen3Naoto Yamaguchi30-0/+1079
This patch add config files for container manager to launch guest by container manager. Bug-AGL: SPEC-4777 Change-Id: I0b2fd8f87f3cdffbbda0688f3d6b4b980bdc2c2b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Add support integration type of multi partitionNaoto Yamaguchi10-20/+95
Existing AGL IC container integration was not supporting multi partition integration. This patch enable multi partition integration using wic. Bug-AGL: SPEC-4777 Change-Id: I8c926410177642953b3888751b774e71e924a074 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Move out r-car specific description to dynamic-layerNaoto Yamaguchi3-2/+2
Existing agl-cluster-demo-lxc-host.bb is including r-car specific description. IMAGE_INSTALL:append:rcar-gen3 = " kernel-module-gles " This patch move this to dynamic-layers/meta-rcar-gen3. Bug-AGL: SPEC-4777 Change-Id: I421e96a65b8a2b09046283d9d9710551639ff1ac Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Remove obsoleted weston configuration recipesNaoto Yamaguchi4-49/+0
The weston-init and the weston-ini-conf ware not used in existing integration. This patch remove these obsoleted recipes. Bug-AGL: SPEC-4777 Change-Id: I8048bc311c1cece40ce5a78b3a0287bde74d2b25 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Initial support for AGL Container ManagerNaoto Yamaguchi3-0/+65
The AGL Instrument Cluster container integration require to container management daemon to support embedded use case such as lifecycle, many device and other. AGL IC-EG is already starting development for that daemon. This patch is initial support for that container management daemon. Bug-AGL: SPEC-4777 Change-Id: I02055c45dd53a80fc6d5ef0ab2c2206c6c0feae2 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Disable guest reboot by lxc-monitorNaoto Yamaguchi2-3/+35
When guest container use reboot command, lxc-monitor will reboot guest automatically. In this case, the container management daemon catch exit from guest init, but it cant reboot guest. This mean container manager can't re-assign dynamic devices. This patch disable automatic reboot. Bug-AGL: SPEC-4777 Change-Id: I3fbd3fca61db29e483b782b0db9c64707b3e488c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Remove python dependency from packagegroup-selinux-minimalNaoto Yamaguchi2-0/+5
A meta-selinux has issue for force install many packages. A packagegroup-selinux-minimal may support desktop and server runtime use case, may not match AGL (embedded) runtime use case. One of the big issue, that force install unnecessarily python runtime to image. It's caused by backward compatibility for policycoreutils package, maybe. This patch fix this issue temporally. Shall fix at meta-agl layer at SPEC-4778. Bug-AGL: SPEC-4777 Change-Id: I2b844cd928448b024e4a6830ea98e7dc76f0832b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Rework images to support some integration typesNaoto Yamaguchi4-47/+58
Existing lxc-host-image-minimal support multiconfig based single root filesystem integration. On the other hand, when we want to use multi partition integration, we need to fully replace lxc-host-image-minimal recipe. This patch divide lxc-config installation and single root filesystem integration feature from lxc-host-image-minimal to agl-lxc-install-single-imgage.inc and agl-lxc-autostart.inc. This change realize to support integration types using lxc-host-image-minimal. Bug-AGL: SPEC-4777 Change-Id: I95d866ff6eaddf793927aacb056334e573389804 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Divide lxc autostart from main packageNaoto Yamaguchi2-4/+22
Existing lxc package is including autostart feature. In this case, that can't enable/disable using package install. This patch achieve autostare feature enable/disable by package install. Bug-AGL: SPEC-4777 Change-Id: I0373b294b677a39a670b79e3149a6d8a1d5b4432 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-04-03ic-container: qemu: Set connector name for IVI layer manaagerDamian Hobson-Garcia2-3/+10
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>
2023-03-02ic-container: Add default configuration for qemuDamian Hobson-Garcia5-3/+17
Define the defaults to launch the cluster and ivi containers on qemu. Platform specific customizations can be added in dynamic layers. Bug-AGL: SPEC-4464 Change-Id: I3d2bc4e3dfa8afdad4d29fc29700833f5bc7ecaa Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2023-02-13meta-agl-ic-container: fix kernel-module-gles build for guestsScott Murray1-0/+4
Update the kernel-module-gles bbappend so it will actually build with linux-dummy in the guest multiconfigs. Bug-AGL: SPEC-4703 Change-Id: Icc083aecff9f7dd3d5359c843bf04681925db031 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-13agl-ic-container: Fix host configuration when using agl-demoScott Murray2-0/+12
Changes: - Switch to pulling in a agl-ic-container.inc include file from the feature local.conf.inc template to simplify development. - Add include files for the host ("default" in BitBake) multiconfig to allow disabling agl-demo and related features in the host build. This reduces the impact on the host image when using the images from meta-agl-demo as guest containers. At present the "agl-selinux" feature is left alone, as support pretty much needs to be present in the host to allow using it at all. This likely needs to be investigated further and discussed with respect to the IC EG requirements. Bug-AGL: SPEC-4703 Change-Id: I833fa8754f0044552a8b775bcc06c4ccd3fcac3e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-13qtlocation: remove bbappendScott Murray2-54/+0
The qtlocation bbappend has been replaced with one in meta-agl-core to avoid collisions when combining with meta-agl-demo. Bug-AGL: SPEC-4703 Change-Id: Icacdf7d4a5777bee8ee98b9cc103f64b6c52749f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-31Initial support for raspberry pi 4Naoto Yamaguchi9-0/+61
AGL IC container is supporting R-Car board. This patch add raspberry pi4 support that aim to easy use hobbyists. Bug-AGL: SPEC-4678 Change-Id: Ia0175d57b956d763f1ac8a81ae624a4b93b5f727 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-09-22Add manifest comparison for IC imagesNaoto Yamaguchi2-0/+988
The agl-cluster-demo-lxc-host will start ci package check. That work require to image manifest to compare reference image and build image. This patch add manifest file for h3ulcb-kf. Bug-AGL : SPEC-4465 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I7a131d7678d31c9a82b9c36cc0c6a7b011f551e3
2022-09-16agl-ic-container: Add missing kernel config for lxc-net on qemuHiroyuki Ishii1-0/+1
On qemu network bridge setting by lxc-net service fails because of missing kernel module as shown as following message: iptables v1.8.7 (legacy): unknown option "--checksum-fill" With this change we'd like to add missing kernel config to fix that. Bug-AGL: SPEC-4464 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I73169289c84755e0eb9a28658e8337c79824ab1b
2022-09-06Fix issue for separate directory buildingNaoto Yamaguchi1-2/+2
At 2dd3bafb0c21d7f49fcc2945836924d9c052d268 commit has issue for it can't separate build. At 2ab22b2df67f915c74efab68cf9e6e2424805dd2 commit, I fixed that issue. In this patch I fix to that issue in recipe side. Bug-AGL: SPEC-4551 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I3623bece877cb9cc76721f340d96eaab677ded17
2022-09-06Fix error for the packagegroup-agl-ic-coreNaoto Yamaguchi1-0/+2
After the kirkstone, packagegroup-agl-ic-core out the error message in build time. Ex: ERROR: mc:agl-container-cluster:packagegroup-agl-ic-core-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (libclusterapi-dbg to libcluster-api-dbg) This error is depend on this commit. https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg155223.html This patch add "PACKAGE_ARCH = "${TUNE_PKGARCH}"" to package group recipe to fix this issue. Bug-AGL: SPEC-4552 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I70f56e4a96a658cbcefa48ac688b49382b299879
2022-08-09Rename Instrument Cluster Container layerJan-Simon Moeller106-0/+1801
meta-agl-lxc is no longer reflecting the actual content and use of the layer. Rename it to 'meta-agl-ic-container' and the feature to 'agl-ic-container'. Also rename the main image to 'agl-cluster-demo-lxc-host' to match the pattern used by all other images e.g. agl-<ivi,cluster,telematics>-demo-* . But keep the names of the underlying images as-is. Bug-AGL: SPEC-4464 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I898c786ca884331b302a3be8e150379fcf5bdc9b