summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container
AgeCommit message (Collapse)AuthorFilesLines
2024-12-01Add support qemux86-64 for drm-lease-test imageNaoto Yamaguchi2-0/+189
The agl-host-image-drm-lease-test use CI test. That test to drm lease infrastructure. This CI test run on qemux86-64. This patch enable qemu86-64 environment support. Bug-AGL: SPEC-5308 Change-Id: I82283c3662cddd5bec0fe5a164eb2521c0d8d47d Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Change container manager configs from cgroupv1 to v2Naoto Yamaguchi8-7/+70
AGL was migrate to cgroup v2 integration from cgroup v1 and v2 mixin integration. Existing container-manager does not support cgroupv2 based resource control. This patch change resource control settings from cgroup v1 base to cgroup v2 base. Bug-AGL: SPEC-5284 Change-Id: I91761248f36b78b4ae4936d54d60acb92366f999 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Remove integration type without container manager from container integrationNaoto Yamaguchi52-479/+0
Existing container integration was supporing with container-manager and without container-manager integration. After the scarthgap update, systemd cgroup-v1 and v2 mixed support was disabled. It require to big rework in resource controle feature. The lxc only integration (without container-manager integration) has some limitation for device support. For example, it can't handle dynamic device/network interface change, it' can't protect device access from guest using mknod. On the other hand, if I mantain to this integration, it need many human resource. The lxc only integration does not have value for these work. This change drop lxc only integration. This strategy was discussed in gerrit 30506. Bug-AGL: SPEC-5283 Change-Id: I66b209cdf7fa6bf77439a24211de4da7dcdfa873 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Add cgroupsv2 support to container managerNaoto Yamaguchi1-1/+1
AGL was migrate to cgroup v2 integration from cgroup v1 and v2 mixin integration. Existing container-manager does not support cgroupv2 based resource control. At a f396483881a30f6ed08786114bf7a62355cd266e, it enable device access protection. This patch enable cgroup v2 based cpu, memory, and more resource control feature. Bug-AGL: SPEC-5284 Change-Id: I9ba417d01913626781fde4e9d67b5499db8d7a40 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Fix license information in recipesNaoto Yamaguchi4-3/+5
Existing recipe is missing to license information. This patch fix license information in recipes. Bug-AGL: SPEC-5274 Change-Id: Ibbe45afc97cf9dbdc305a5d71b40fd64f59a030e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-12-01Update container-manager to support rootfs bind mount featureNaoto Yamaguchi1-1/+1
Existing container-manager is designed for multi partition integration. The test image for drm lease require to each guest image mix in to single rootfs. This update enable rootfs bind mount feature to enable host guest mix in integration. This patch tested in NanoPC-T6 board only. Bug-AGL: SPEC-5308 Change-Id: I57f408bc872513c79c6e3e1a3c8adffcf92a1d48 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-29Re-enable drm lease test imageNaoto Yamaguchi14-2/+367
This patch enable drm-lease-test image that based on container manager. Bug-AGL: SPEC-5308 Change-Id: I7301901d2ab0331a70dc031363c4133cea0bc532 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-29Repair to each guest image for drm lease testNaoto Yamaguchi9-278/+0
At a Qt6 migration, weston config file was removed. As a result, the guest images for drm lease test couldn't build. This patch repair to each guest image for drm lease test. Bug-AGL: SPEC-5308 Change-Id: Icc23fd2d5a9957be0a6dcd39c211d511151d037b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-29Revert "Remove weston with wayland-ivi-extention"Naoto Yamaguchi15-0/+446
This reverts commit 24f2da7bfd7fa66e8a3b8ed7e5d8c09ef6956c68. Bug-AGL: SPEC-5308 Change-Id: Ibf15daed630f08ad07bf6f91aaef016927eee0ac Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-25Add SECURITY.md file as required now by upstreamJan-Simon Moeller1-0/+19
YP now requires this file to be present. Add it. Bug-AGL: SPEC-5309 Change-Id: I9f30f7754ab808a86c75866d7541d9549464c929 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-11-21Improve container-manager to use cgroupv2salmon_18.91.0salmon/18.91.018.91.0Naoto Yamaguchi2-1/+2
This patch update container-manager. Add cgroup v2 initial support. Add resoure setting overwrite protection from guest in cgropu v1. Add cgroup based device access protection. Add plugin based container workqueue and container manager workqueue. Improve MISRA C complient. Bug-AGL: SPEC-5284 Change-Id: Iafec8840d30c545b17014492d65f3b8fdcc083f8 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-21Maintain container setting to update container-managerNaoto Yamaguchi6-11/+13
After the scarthgap update, systemd cgroup-v1 and v2 mixed support was disabled. It require to improve container-manager. Container-manager has some improvement already. This change maintain container setting to use these improvement. Bug-AGL: SPEC-5284 Change-Id: Ic2f94cc33577c07755940bcdb4376dacbd9b0ade Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-11-21Enable systemd-timesyncd in case of using systemd-networkdNaoto Yamaguchi4-1/+20
At SPEC-737, systemd-timesyncd was disabled every case. It causes NTP capability lost in case of using systemd-networkd. This patch enable systemd-timesyncd in guest environment. Bug-AGL: SPEC-5274 Change-Id: I2c4f48bd67aa800c87ec37e2f494538b9f5a23c4 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-16Enable cdc-ncm network configurationNaoto Yamaguchi2-0/+8
Enable cdc-ncm network configuration to use momiweb in demo. This patch enable smartphone tethering capability. Bug-AGL: SPEC-5263 Change-Id: I4eec7857230a03522249a2be9a9f8bab8661aaed Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-16Remove HTML5 guest support from momiwebNaoto Yamaguchi2-2/+6
HTML5 demo IVI support was dropped in AGL IVI demo. But that guest support was not removed completely. This patch remove HTML5 demo IVI support from momiweb Bug-AGL: SPEC-5262 Change-Id: I0f48b0df0020c4b51419f3fe0e88cb2a0724defa Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-16Fix default screen and seek bugNaoto Yamaguchi2-2/+2
Fixed these issue: Momiscreen did not show default app in boot time. Momiplay out error message in playing time that cause Qt6.7. Bug-AGL: SPEC-5162 Change-Id: I46ba8cc4a1ce0dca8264b2c11d5b460856362543 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-14Add weather sample appNaoto Yamaguchi4-0/+70
Momiweather is sample world weather app for Momi IVI. That enable more better demo. Bug-AGL: SPEC-5162 Change-Id: I3e234a5c87322548f315297c45cfb49294cc8242 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-14Remove HTML5 guest support from momikeyNaoto Yamaguchi1-4/+0
HTML5 demo IVI support was dropped in AGL IVI demo. But that guest support was not removed completely. This patch remove HTML5 demo IVI support from momikey. Bug-AGL: SPEC-5262 Change-Id: Ib4a8b2e489083494e452d5151737f9148ebe3624 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-14Hide cursor at Qt appsNaoto Yamaguchi2-0/+2
AGL UI is based on touch screen that shall not show cursor. Current Qt apps show cursor. This patch disable cursor. Bug-AGL: SPEC-5162 Change-Id: I21717dbb3a281b1ce06d9735d0776ceeb1d360d4 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Update each apps to migrate Qt6Naoto Yamaguchi14-62/+74
The AGL IC container integration migrate to Qt6 from Qt5 now. Each Apps needs modification. This patch change rev and environment setting. Bug-AGL: SPEC-5162 Change-Id: Ib7273fc13d5ab381bed7675662bd1cdc7f941c33 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Add IC Container demo video to Momi IVI guestNaoto Yamaguchi2-0/+32
New MomiPlay support video playing feature. This change add demo movie. Bug-AGL: SPEC-5162 Change-Id: I60f6221e69dcd5400c48d3ba9e3acb9ef86e6c1c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Reduce wic size in case of small container integration demoNaoto Yamaguchi3-6/+1
Existing wks file has two reserved blank partition. It cause long dd write time. This change removes two reserved blank partition to reduce dd write time. Bug-AGL: SPEC-5162 Change-Id: Iecf3785a52c5b5fc0c7b21f031bb10a128a4a123 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Enable audio device configuration at hostNaoto Yamaguchi1-0/+1
The audio device configuration need to realize sound feature. We will develop virtio-loopback based sound management. This change is common feature for current integration and virtio-loopback integration. Bug-AGL: SPEC-5162 Change-Id: I6733c5e7788e1c8bb8682694275d81755b90531e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Update Momi IVI guest to migrate to Qt6Naoto Yamaguchi2-11/+39
Qt6 packages structure was changed from Qt5. This change adopt to this structure changes. Bug-AGL: SPEC-5162 Change-Id: Ia64e066b1334436bea8654c48dd38cd89fa65fa5 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Update cluster guest to migrate to Qt6Naoto Yamaguchi2-12/+5
Qt6 packages structure was changed from Qt5. This change adopt to this structure changes. Bug-AGL: SPEC-5162 Change-Id: I8f63babb7bd11d8e069dc42ec5824660e03b693b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Enable QtMultimedia sound supportNaoto Yamaguchi12-74/+239
The QtMultimedia is using plusaudio to support audio. It has alsa support, but that alsa support has restriction. And QtMulitimedia is not support pipwire. This change enable pulseaudio as a temporary solution of Qt6 support. Bug-AGL: SPEC-5162 Change-Id: Ic7cf20d49612feb4deaebfc501831bdbe5a00142 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Remove weston with wayland-ivi-extentionNaoto Yamaguchi15-446/+0
New Momi IVI uses QtWaylandCompositor based compositor. It will realize to fix for touch event bug in Momi IVI. After this changes, weston with wayland-ivi-extention is not needed. Bug-AGL: SPEC-5162 Change-Id: Ib0e2346dd9907d3e154359b8b9d7d7bf492b2093 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Change cluster-refgui to Qt6 supported versionNaoto Yamaguchi3-13/+7
The cluster-refgui was ported to Qt6 by Jiu Shanheng <shanheng.jiu@qt.io>. This patch changes to that version. Bug-AGL: SPEC-5162 Change-Id: I07a5424ef7f14c5b560d18cc696358a0ebe82295 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-10-09Rework meta-agl-ic-container to migrate from Qt5 to Qt6Naoto Yamaguchi2-2/+1
This change is a starting point of Qt6 migration. That change layer config and feature config for this layer. Bug-AGL: SPEC-5162 Change-Id: I127a929cfc5cf311b0219c6fbfb050ed9332576f Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-09-20Add Rockchip board support to IC container integrationNaoto Yamaguchi11-0/+790
AGL got new board support that based on Rockchip SoC. Initial patch support AGL demo IVI only. This patch add Rockchip board support to IC container integration. Bug-AGL: SPEC-5246 Change-Id: I6203bb9e2b7cd3cad7604da45c744e88a21d1454 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-09-06meta-agl-ic-container: wireplumber: refresh patch to apply on 0.5.6George Kiagiadakis1-6/+6
Bug-AGL: SPEC-4934 Change-Id: I4832fd69b145a7c630735fee2e87a4750cedccde Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2024-09-06meta-agl-ic-container: rename wireplumber recipes to use template versionGeorge Kiagiadakis2-0/+0
so that we don't need to rename the recipes when the version changes Bug-AGL: SPEC-4934 Change-Id: I0d588f4f68a7dd7c34367e343837e242e311fbed Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2024-09-01Raspberrypi 5 support for IC containerNaoto Yamaguchi10-4/+5
This patch add board support for raspberrypi5. Bug-AGL: SPEC-5242 Change-Id: I9e9c244da74fd2c5d83f71b43eb40ae491276096 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-08-26Fix rpi4 IC container build errorNaoto Yamaguchi1-1/+1
IC container build for rpi4 has build issue. This line is missed. part --source rawcopy --sourceparams="file=cm-config-agl-flutter-ivi-demo.ext4" This patch change to part --source rawcopy --sourceparams="file=agl-ivi-demo-flutter.ext4" Bug-AGL: SPEC-5237 Change-Id: I745bde7232b4711d766128d00e2ad5e4499e86f0 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-08-26Enable sound feature in AGL demo IVI guestNaoto Yamaguchi4-3/+27
Existing container integration can't play music by guest side music player. We have a sound management solution between guets. But it is not transparent. ICEG has plan of transparent sound management to use virtual device. This change is a 1st step of this plan. Bug-AGL: SPEC-5232 Change-Id: I5f163df3bb828b9e7adfd773efccd29414020987 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-02Remove package for built in pluginricefish_17.91.0ricefish/17.91.017.91.0Naoto Yamaguchi1-2/+0
The lighttpd-module-alias and the lighttpd-module-access plugin changed to builtin plugin from dynamic loading plugin. This patch remove package dependency for the lighttpd-module-alias and the lighttpd-module-access from the momiweb. Bug-AGL: SPEC-5158 Change-Id: I718a480f697d3cc7ff790ba371174a57131746a1 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-02Adjust image based on RR release policyNaoto Yamaguchi10-397/+7
Change image name to new naming. Remove dropped image from multi container integration. Bug-AGL: SPEC-5158 Change-Id: I5fad2dbac1f0302f170f08d4a6d538db43fd1e4c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-02Update mominavi to fix style errorNaoto Yamaguchi1-1/+7
The mominavi out style error after Jan. 2024. Previous mominavi doesn't have capability for style setting change. This patch fix this error using configurations by recipe. Bug-AGL: SPEC-5158 Change-Id: I6571bf9e39cf8b0563d7842e3f29962987d8e37e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-02Avoid seatd error in guest containerNaoto Yamaguchi1-0/+2
After the scarthgap update, the weson couldn't handle input device in guest container. It causes by libseat error that use by weston 13. This patch add environment variable to avoid seatd error. Bug-AGL: SPEC-5158 Change-Id: Ie12a65ae4f2737565bbc7cc1f6e44728a7ccdec0 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-02Add additional network configuration for end0Naoto Yamaguchi2-0/+8
After the scarthgap update, a eth0 device force rename to end0 in boot time. This patch fix loss capability for network IP configuration by systemd-networkd. Bug-AGL: SPEC-5158 Change-Id: I483845f475472c0a12c17f81ccc5bc22a9f9e65e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-06-02Change rootfs file name to adopt to scarthgap ruleNaoto Yamaguchi1-1/+1
After the scarthgap update, the '.rootfs' add to deploy rootfs file name. This patch fix rootfs file name for guest container that is used in wic integration. Bug-AGL: SPEC-5158 Change-Id: I431e713d3d8f6e5704743bf1cd8d43b4d5af3313 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-05-08meta-agl-ic-container: fix packagegroup-agl-core-selinux-guestScott Murray1-1/+3
packagegroup-agl-core-selinux-guest now triggers a packaging QA check due to it being marked as allarch and pulling in libraries that get renamed by the Debian library renaming logic used by upstream. To fix, follow what is done by the similar packagegroups in meta-selinux and not use packagegroup.bbclass. Bug-AGL: SPEC-5123 Change-Id: I1391977d5db3aad3d4e87ff8d043a3bb26b7074a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-05-08meta-agl-ic-container: handle scarthgap IMAGE_NAME_SUFFIX changeScott Murray1-1/+1
Use the IMAGE_NAME_SUFFIX variable in the container image copying logic to handle its addition into the image filenames by upstream. Bug-AGL: SPEC-5123 Change-Id: I65fb062dc02ea44847787e5a7e6deaf524d9ff42 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-05-08meta-agl-ic-container: update wayland-ivi-extension for Weston 13Scott Murray8-230/+67
Update the wayland-ivi-extension recipe to use latest upstream master branch commit to get Weston 12 support, and apply the pending Weston 13 support PR as a patch. All previous local patches have been dropped. Bug-AGL: SPEC-5123 Change-Id: I88a5ba0500cecc241c1abc6b6babb805ec20631d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-05-01meta-agl-ic-container: updates for scarthgap upgradeScott Murray8-22/+28
Initial set of fixes to handle upgrade to YP 5.0 / scarthgap. The images are still not buildable after these changes due to the DRM lease changes to Weston needing further work. Changes: - Rename gstreamer1.0-plugins-bad bbappend for version bump. - Update rcar-gen3 kernel module bbappends to be compatible with upstream recipe changes. - Update lxc bbappend to handle addition of lxc-monitord in new version. - Refreshed wireplumber patch to fix QA errors. - Dropped dlt-daemon logging patch for now, IC EG will need to investigate whether it is still required. Bug-AGL: SPEC-5123 Change-Id: I3c49bee8c53ef5127950643d3f455167e4da30d9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-04-24Add Yocto Project scarthgap release compatibilityScott Murray1-1/+1
Switch to scarthgap in LAYERSERIES_COMPAT in layer.conf files. Bug-AGL: SPEC-4578 Change-Id: I50e341efd6a317a830352d44db1cd756d3589861 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-01-29Sync rebooting cluster-service and cluster-refguiNaoto Yamaguchi3-1/+7
The cluster-refgui shall re-connect in case of cluster-service rebooting. This method should support to realize robustness system. This patch add support sync rebootig feature. Bug-AGL: SPEC-5040 Change-Id: Iadd1c254d4b8e32be15419b3526dc581333a5456 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2024-01-29Remove auditd and policy tool in guestNaoto Yamaguchi2-0/+32
The SELinux policy set at host in boot time, the guest container shall not overwrite SELinux policy. On the other hand, existing guest integration install SELinux policy tool in guest. The auditd has same issue. That shall work in host, shall not work in guest. This patch fix these issue. Bug-AGL: SPEC-5039 Change-Id: I3887d4f64d31a833f5e47fd9fb41e8fbbf6efe1e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-12-26Move cluster core package to cluster demo imageNaoto Yamaguchi2-1/+1
This patch is a workaround. Current guest-image-minimal is used by guest-image-cluster-demo and guest-image-ivi-demo. The cluster core package is include at guest-image-minimal. In this case, cluster core package is install to cluster and ivi image. That cause twin cluster service run on one system. This patch fix this issue, but it's only a workaronud. Will be re-structure for image-recipes. Bug-AGL: SPEC-4990 Change-Id: I5b9a23042e0796b49ed7703b5860c8a600007251 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-12-26Up revision to cluster-service oriented versionNaoto Yamaguchi1-1/+1
The latest cluster service is supporting demo signal passing by cluster API. This patch change cluster-refgui to cluster-service oriented version that behavior is controlled by cluster-service. Bug-AGL: SPEC-4991 Change-Id: Ibe687482bbf2b21b21668596cc035e0c4fe1ec33 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>