summaryrefslogtreecommitdiffstats
path: root/recipes-platform/images
AgeCommit message (Collapse)AuthorFilesLines
2023-10-17Add base demo imagesScott Murray4-25/+59
Some rework to add agl-ivi-demo-base and agl-ivi-demo-base-flutter images that have all of the required demo services and configuration, but not our demo UI applications. As part of this, move some of the conditional package inclusion logic out of the demo platform packagegroups into the image recipes to make the packagegroup contents stable, and add applaunchd to the IVI services packagegroup so it'll always get pulled in. Some of this may still get redone in the future per SPEC-4813. Bug-AGL: SPEC-4933 Change-Id: Ief4b7ef3f0720315cbdc579f62b1196c66e237cd Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29278 Reviewed-by: Lisandro P�rez Meyer <lpmeyer@ics.com> Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-27agl-cluster-demo-platform: Add databroker by defaultScott Murray1-0/+9
Pull the KUKSA.val databroker into the agl-cluster-demo-platform when building without the agl-demo-preload feature. This matches the behavior of the Flutter cluster demo image, and enables using the image for standalone testing. Bug-AGL: SPEC-4845 Change-Id: I8bc295858a28ea5cb842b01c5d58b59e3dc1e826 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29246 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-09-27Remove KUKSA.val server from Flutter imagesScott Murray1-10/+4
Remove KUKSA.val server packagegroup from Flutter demo images now that all the applications have been converted to using the databroker. Bug-AGL: SPEC-4762 Change-Id: I50237b668bd7b6aac61bf6d893b14e7f5591760f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29245 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-28Switch Qt demo to KUKSA.val databrokerScott Murray3-3/+16
Changes to switch the Qt-based agl-demo-platform demo from using the older KUKSA.val server to the new gRPC based databroker. The Flutter demo's vehicle signalling behavior ends up a bit broken by these, but the image still boots and basic things still work. A follow on set of changes will convert the Flutter apps to the new gRPC API and remove the KUKSA.val server completely. Notable changes: - Updated libqtappfw, homescreen, ondemandnavi, and tbtnavi recipes to pick up changes to switch to using the databroker. - Updated agl-service-audiomixer and agl-service-hvac recipes to pick up their rework for using the databroker. - All the Qt demo applications that use the VehicleSignals class from libqtappfw have had their .conf and .token files updated to work with the databroker. As well, the JSON files used to create the new app-specific authorization tokens have been checked in to provide a reference of how things are configured. - The DBC feeder configuration has been changed to push into the databroker. Having a duplicate instance to also push into the older server has not been set up, as hopefully the Flutter demo conversion will follow on quickly enough to not require it. - Packagegroups for the KUKSA.val server and databroker have been factored out and are used instead of using the agl-ivi-services packagegroup. - kuksa-databroker-cli and the simple CAN simulator script are now included into the demo images when building with agl-devel. Bug-AGL: SPEC-4762 Change-Id: I416bcfbf961535062043ef54acdea6c353f84af1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29171 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray14-150/+54
Remove the use of systemd user session to align with how upstream runs Weston, and to allow using all systemd sandboxing features with the compositor and homescreen, launcher, etc. applications. The changes for this touched enough packagegroups and images that further rework was done to address some of the cleanup described in SPEC-4813, see below for details. Changes: - Rework systemd units and recipes of affected applications. - Rework images to pull in image .bb files instead of .inc files. - Pull in the new agl-image-compositor as a base image where appropriate. - Update weston-terminal-conf recipe to use new split out weston-terminal package. - Use new agl-crosssdk bbclass where appropriate. - Pull some local common cross-SDK additions into a new agl-ivi-crosssdk.inc include file and use as appropriate. Note that this does have a side effect of likely correcting the contents of agl-image-ivi-crosssdk for some recent additions. - Remove flutter-gallery bbappend that turned it into an app, as we are not using it in images, have other examples now, and it seems better to not affect the contents of agl-image-flutter. - Remove unused agl-image-graphical-html5. If a downstream user does desire an image with Chromium+WAM without applications, restoring it can be considered. - Remove unused agl-image-graphical-qt5-crosssdk. - Remove all packagegroup-agl-profile-* packagegroups, as they were either empty or not providing value at this point. Any future plans for defining profiles can start from a clean sheet. - Added new packagegroup-agl-ivi-multimedia-hardware to hold some rcar3 specific additions (via override) that were previously being appended onto packagegroup-agl-graphical-multimedia even though they are machine-specific and that packagegroup is not. This may be a stopgap solution if the agl-ivi-* packagegroups are reworked further. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4714, SPEC-4813 Change-Id: I544b1495bed1e2e2412a8e46b7d20d7622ec28c9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske1-1/+1
-Removes use of flutter bbclass runtime modes Installed modes are determined by flutter-engine package config flags. Default modes are debug, profile, and release. -Single json file based on runtime=release. If additional parameters are needed this happens as part of workspace automation. Scott Murray: - update packagegroup-agl-demo-platform-flutter Bug-AGL: SPEC-4819 Change-Id: I58fc1b30ea3367ec5f47f52b60951cf0be31dcbc Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31Add KUKSA.val databrokerScott Murray2-0/+4
Add a recipe for the KUKSA.val databroker, a Rust implementation of a VSS server with gRPC APIs, and add it to the images that currently have the C++ kuksa-val server to ease further integration development. Since the databroker listens for gRPC API requests on a different port than the C++ server, there is no conflict during this period. Users wanting to drive CAN data into the databroker for testing will have to manually update the kuksa-dbc-feeder configuration during this interim period. Changes: - Bump common KUKSA.val SRCREV to pick up some improvements. - Add kuksa-databroker recipe to build the databroker. - Add kuksa-databroker-agl recipe to install AGL-specific configuration for the databroker, similar to what has previously been done with kuksa-val-agl for the C++ server. - Add missing branch node declarations in the AGL VSS overlay, as the databroker VSS parser is stricter and treats their absence as an error. - Add the kuksa-databroker, kuksa-databroker-agl, and the kuksa-databroker-cli packages to the appropriate packagegroups and images. Some follow up work will factor out a packagegroup for the KUKSA.val packages to make future changes easier. Bug-AGL: SPEC-4762 Change-Id: Ie7837b7e42a2283914adc913b75639fcb83029a6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31agl-cluster-demo-platform-flutter: always install receiver configurationScott Murray1-1/+1
Always install cluster-demo-config-flutter instead of tying it to the agl-demo-preload feature, so that the receiver gets the desired display geometry all the time. Bug-AGL: SPEC-4815 Change-Id: I9bcdaced479781a018c0d7155aef6a06ac26b9dd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-29A fstab replacement method change to build container guestNaoto Yamaguchi4-0/+22
In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28690 review, I got a request for method change request. Existing method use bbappend for base files. New method use ROOTFS_POSTPROCESS_COMMAND. Bug-AGL: SPEC-4803 Change-Id: Ie058ef55f7dfeae5d651b46d5ff731d1a2bebc19 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-08recipes-platform/images/agl-ivi-demo-platform-crosssdk: Remove waltham-devMarius Vlad1-2/+0
We'd need this as meta-agl has dropped Waltham support. Bug-AGL: SPEC-4669 Change-Id: I09762ca5b60295b19c71d91ffa1375af7d9f6513 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-04-27kuksa-val: Rework to support updated SSL certificatesScott Murray1-0/+1
Changes: - Tweak the kuksa-val recipe to remove installing a newer server certificate (since it will be done elsewhere), and to split the certificates up into finer grained packages to ease installing them piecemeal and replacing them with other packages. - Remove the unused genCerts.sh certificate script patch form the kuksa-val recipe, an updated patch will be added in the near future. - Added a patch in the kuksa-viss-client recipe that enables the library to use certificates installed in /etc/kuksa-certificates or /etc/kuksa-val instead of the default ones that are shipped. - Add kuksa-certificates-agl recipe that installs AGL specific CA, server, and client certificates plus the required server and client keys to act as a replacement for the default ones shipped with KUKSA.val. The kuksa-certificates-agl name is used to avoid needing a rename with a future switch to kuksa-databroker. Note that the RPROVIDES variable is used for the various certificate packages to make them installable alternatives to the kuksa-val-certificates-* ones. The certificates installed are valid for 1 year and have AGL as the providing organization, longer validity ones will be added in follow up commits for Octopus and Pike. - Update the existing users of kuksa-val-*-certificates with the new kuksa-val-certificates-* package names. - Add PREFERRED_RPROVIDER definitions for the kuksa-val-certificates-* packages to quiet the BitBake warnings coming from having multiple providers. Bug-AGL: SPEC-4763 Change-Id: Ic6f1ca8b54f637674cd5ae42df0bed6ca4e729aa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-27Add cluster-receiver to Flutter cluster demoScott Murray1-0/+1
Add cluster receiver to Flutter cluster demo image to match the CES demo. This change was missed in the forward port from Needlefish branch after CES. Bug-AGL: SPEC-4769 Change-Id: Id22a5d3e761ac0169942a04fdcac7148f3789d42 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-20Add helper to enable both displays in qemuJan-Simon Moeller1-0/+1
This supports testing the drm-leasemanager in qemu. We can bring up two outputs, but the 2nd output is disabled until it is connected. See https://jira.automotivelinux.org/browse/SPEC-4464 and https://gitlab.com/qemu-project/qemu/-/issues/1107 This adds a helper tool that will bring up the 2nd screen. Bug-AGL: SPEC-4464 Change-Id: I145a1b947916337daa9c8e7aed38e64919b35df8 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-18Fix building agl-kvm-demo-platform for h3ulcb-kfScott Murray1-4/+1
Changes: - Add masking the meta-rcar-gen3-adas layer to the KVM guest multiconfig to avoid picking up the dangling bbappends in meta-agl-bsp when building the guests. - Remove the MACHINE_SUFFIX logic from the guest image copying in the agl-kvm-demo-platform recipe; it is a leftover from the original logic used in the IC EG container host images, and is unneeded here since the host and guests will be different MACHINEs (and the guest realistically cannot use the -kf machines). Bug-AGL: SPEC-4760 Change-Id: If3237ca4d9fc86fc9d289a95bda24a4afcc7a991 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-03-15agl-ivi-demo-platform-crosssdk: Add grpc-dev for crossdkMarius Vlad1-1/+2
This enables the SDK to build off applications, or services that make use of gRPC. Bug-AGL: SPEC-4721 Change-Id: I8f770580efd09dc1a50de839a8cc5126887303c3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-01-29agl-kvm-demo-platform: update guestsScott Murray1-2/+3
Switch default guest images to Flutter based demo platform images. As well, the simple-can-simulator is added to the host to allow testing or demos. Bug-AGL: SPEC-4618 Change-Id: I2c57ca0ade168c2c3dfae8718e891f9af40e4d88 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 8b0fed47d196a938b44784d1fc8eaa25c36f84ca)
2022-12-29Rework cluster demo configurationScott Murray2-1/+2
Changes: - Rename cluster-dashboard-demo-config to cluster-demo-config since the installed AGL.conf will also be used for receiver configuration now. - Add a Flutter cluster version of AGL.conf that configures the receiver window geometry as required. The alternative mechanism is used to generate separate packages with the different AGL.conf files. - Update the package names installed by agl-demo-preload in the Qt and Flutter cluster demo images. It may make sense to do further rework in the dashboard and receiver apps post-CES to split things into separate configuration files, but this seems the most straightforward way to do things for now. Bug-AGL: SPEC-4640 Change-Id: If8a65228c75f28a53ef32a49be90f75a85d60a16 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Update Flutter demo imagesScott Murray4-14/+28
Changes: - Split demo image feature definitions into an include file to allow reusing them, and pull into both the Qt and Flutter demo platform images. - Remove packagegroup-agl-demo-platform dependencies from feature packagegroups so they will not break the Flutter images. - Tweak Flutter cluster demo image to have KUKSA.val related package omission be controlled by the "agl-demo-preload" feature. - Add the kuksa-vss-init package to the IVI services packagegroup so that the signal initialization expected by the Flutter cluster dashboard will always be done. This covers the usecase of using the Flutter cluster with KUKSA.val on the IVI board. - Add missing "agl-demo-preload" tweaks from the Qt demo platform image to the Flutter one. - Tweak things to leave out the Weston terminal app from images build with the "agl-demo-preload" feature. - Remove flutter-navigation and flutter-mediaplayer from the Flutter demo image for now, and add the messaging, phone, and radio Qt apps to fill out the list of apps for the demo. Bug-AGL: SPEC-4636, SPEC-4637, SPEC-4639 Change-Id: I9cde89278f0191886152f765d4fb1a893c0ea2c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-23agl-kvm-demo-platform: Add recipeScott Murray1-0/+68
Add agl-kvm-demo-platform image recipe. If "agl-kvm" has been given to aglsetup.sh, it can be built to generate a minimal host image that runs IVI and cluster images with QEMU+KVM. The guest images are built with the "agl-guest-kvm" that the "agl-kvm" feature enables, and are built against the virtio-aarch64 target. The guest images to build can be overriden with the variables GUEST_VM1_IMAGE and GUEST_VM2_IMAGE (from e.g. site.conf). At present this image has only been tested on the AGL reference platform, and development is likely required to get it working on other platforms. COMPATIBLE_MACHINE has not been set in the recipe to ease experimenting, that may change. Known issues: - Currently graphics output from the guests is corrupted when they first boot, and a manual reboot is required of each guest. - Peripheral support is still a WIP. Audio has been configured, but needs further debugging. CAN, USB, etc., are to follow. Bug-AGL: SPEC-4618 Change-Id: Id7113576453621702547ee6e0b8734a6e9117bb6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-22Update Flutter demo image to use Flutter homescreenScott Murray1-0/+1
Changes: - Update Flutter demo image packagegroup to replace the Qt demo homescreen and launcher with the new Flutter homescreen. The list of apps to install has been tweaked to drop the Qt HVAC and dashboard applications and add the Qt settings, mediaplayer, and navigation apps, to better reflect what is likely to be usable for ALS and CES. - A AGL_FLUTTER_RUNTIME variable has been used in the Flutter demo image packagegroup to allow potentially switching the Flutter packages from release to debug or profile versions. - Add Flutter homescreen specific weston-ini-conf-flutter package to the Flutter demo image. - Tweak the application display names for the Flutter dashboard and HVAC applications to drop the Flutter prefix since they will be the only versions present in the Flutter demo image. Bug-AGL: SPEC-4615 Change-Id: Iec1c139b72cbd953420f23484942ad255080f4f7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-08-08Update agl-cluster-demo-platform-flutter imageAakash Solanki1-2/+7
- Remove packagegroup and add packages to image - Add a script to set some value in Kuksa data model - Add Simple-CAN-simulator Bug-AGL: SPEC-4508 Change-Id: Ibf4f4c2b02f7860e2f93c08a5c0e064272652657 Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
2022-08-06Add a new image for Flutter instrument cluster appAakash Solanki1-0/+25
- Add a new image: agl-cluster-demo-platform-flutter - Add recipe for instrument cluster app - Pin instrument cluster app with kuksa-val-server. Bug-AGL: SPEC-4508 Change-Id: I04dc536e5700fb6b92e8c9a672ebb107c73e6724 Signed-off-by: aakashs45 <tech2aks@gmail.com>
2022-07-27Add agl-ivi-demo-platform-flutter imageScott Murray1-0/+9
Add an image for testing Flutter applications. At present it uses the Qt demo homescreen and launcher until they can be replaced with a Flutter homescreen with equivalent functionality. To allow testing agl-compositor behavior, the packagegroup for the image includes the demo Qt HVAC and dashboard apps in addition to the Flutter "gallery" demo application packaged for launching with applaunchd. The "agl-flutter" build feature has been added as a dependency of "agl-demo" in order for the above to be buildable by default. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idf2daa189a15e9cc4bfe2030ac6aa3f5b0331c0c
2022-07-06Rework demo packagegroup and imagesScott Murray3-24/+13
Rework the agl-ivi-demo-platform* images to reduce duplication, and move the additions for the agl-demo-cluster-support and agl-demo-preload features. Changes: - Pull in agl-image-ivi.bb in the crosssdk image rather than duplicating its contents. This means the package additions from the demo features will be reflected in the SDK, which seems more in line with general expectations of how Yocto SDKs work. - New packagegroups are created for the agl-demo-cluster-support and agl-demo-preload features, and they are pulled into the agl-ivi-demo-platform / agl-demo-platform image using features in IMAGE_FEATURES. This avoids changing the contents of various packagegroups based on AGL_FEATURES and seems more futureproof with respect to binary packaging. - ALLOW_EMPTY has been removed in a few packagegroup recipes, as it does not seem to make sense if the packagegroup will never be empty. - The cluster-dashboard-demo-config recipe pulled into the agl-demo-cluster-support packagegroup has been added back, it was accidentally removed in the application framework cleanup. Bug-AGL: SPEC-4424 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Icaa38651a1d29de09bb40576c773e3f93ee87098
2022-05-11Add wireplumber recipes to agl explicitly.Ashok Sidipotu1-0/+1
Add wireplumber recipes explicitly as they are removed from packagegroup-pipewire. Bug-AGL: SPEC-4100 Change-Id: I1081d04c13de7d38d0f42ac0c10eedfc20acc655 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
2022-03-21Restore Qt compositor cluster demo imageScott Murray1-0/+23
Changes: - Added the required backend plugin options for running with Qt's compositor to the PACKAGECONFIG variable in the qtbase recipe bbappend. - Restore an updated recipe for the agl-cluster-demo-qtcompositor image, with updates to the associated packagegroups for the app framework removal. - As part of the above, the duplication of the profile-cluster-qt5 package naming has been clarified in the qt5 versus qtcompositor packagegroups with new -wayland and -egl suffixes, with the previous plain -qt5 name aliasing the wayland option to maintain expected behavior. This avoids packaging conflict errors if building both types of cluster demo image in the same tree. - Restore updated cluster-gauges-qtcompositor recipe required for the image. - A simple systemd unit file has been added for the cluster-gauges application and is currently installed as a system session unit. Some rework of the agl-session scheme is required to run as a user unit, the intent is to address that in one of the 13.0.x point releases. Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id79484c025fef067d7d47eaf783768e700a9dc8d
2022-03-08Restore cluster and telematics demo imagesScott Murray2-0/+31
Changes: - Restore the image recipes for the agl-cluster-demo-platform and agl-telematics-demo-platform images, with updates to them and their associated packagegroups for the app framework removal. - Restore updated recipes required for the above, including: * cluster-dashboard * cluster-receiver * qt-cluster-receiver * tbtnavi - Simple systemd unit files have been added for the cluster applications and are installed as user session units. Starting of cluster-dashboard (the XDG version) and cluster-receiver in the AGL user session is enabled by default. - The recipes to install the dedicated network configuration for the cluster demo have been restored so that the agl-cluster-demo-support and agl-demo-preload features will do what is expected again. Known outstanding issues: - The previous signal-composer binding support has been removed from cluster-dashboard, so related functionality (i.e. driving it from CAN) is disabled until replacement is worked out. - While tbtnavi builds, the previous use of the navigation binding is stubbed out in libqtappfw, so it will not receive location and route information from ondemandnavi. - Nothing has been added yet to start tbtnavi in the AGL user session, the plan is to do so with a systemd user unit once a new mechanism for controlling it from ondemandnavi has been implemented. - The telematics-recorder application has not yet been updated to replace its signal-composer, gps, and network binding use. The intent is to address these issues in the 13.0.x point releases. Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I520c23775b21504cb7dd92538319cc5bf826ff64
2022-02-07Update inclusion in agl-demo-platform-crosssdk for openssh changemarlin_12.92.0marlin/12.92.012.92.0Jan-Simon Moeller2-4/+4
The sdk build did not catch the change to openssh as it used the wrong include file. Fix it by icluding the right file. Bug-AGL: SPEC-4243 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ief802f0212f2a464157f9dfc962686a479170715
2022-01-26Restore openssh as default in the IVI demoJan-Simon Möller2-2/+2
To support user sessions we need to use ssh-server-openssh. Bug-AGL: SPEC-4195 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I14dca131d5c3f6c64a9623f9a1755c05e3f6dd27
2021-11-04agl-image-ivi: define SYSTEMD_DEFAULT_TARGETScott Murray1-1/+5
Add SYSTEMD_DEFAULT_TARGET definition to agl-image-ivi to result in agl-compositor starting automatically in it and derivative images. This is required with the new weston-init behavior until we upgrade past 3.3/Hardknott, when "weston" in IMAGE_FEATURES can be used instead. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I282953edce89220bca6b2a1b217dada9b685f023
2021-11-03Prepare master for new framework integrationJan-Simon Möller32-333/+139
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
2021-08-20Convert to new override syntaxScott Murray15-28/+28
This is the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
2021-03-15agl-image-ivi: depend on packagegroup-pipewire instead of pipewire directlyGeorge Kiagiadakis1-1/+1
It looks wrong to depend on pipewire, as that does not guarantee that all the modules, tools, etc are present in the image Bug-AGL: SPEC-3844 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: Id361ec1eb8e1c715f97c05b21e52db394f14384b
2021-02-05Update cluster demo weston configurationScott Murray1-0/+1
Tweak the cluster demo to move the weston-ini-conf-landscape dependency to the image recipe, where the use of the regular or inverted configuration is now based on whether the "agl-demo-preload" feature is set. This means the cluster demo images will now by default have no rotation, but still allows building images for the AGL demo setup with its inverted cluster display. Bug-AGL: SPEC-3791 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4f82cc84d27687f228ed3b9587103edef9c150c0
2021-01-13Remove separate agl-{cluster,telematics}-demo featuresScott Murray3-3/+8
Changes: - Remove feature templates and associated include files for the agl-cluster-demo and agl-telematics-demo features. All of the demo images can now be built by just configuring with the agl-demo feature. - Remove feature template for agl-cluster-demo-preload, the cluster demo configuration it was pulling into the cluster image is now driven by the agl-demo-preload feature instead. - Moved speech framework and Alexa voiceagent feature inclusion to agl-demo-platform.inc to avoid them accidentally being pulled into the cluster or telematics demo images. Part of this change is moving agl-voiceagent-alexa from using IMAGE_FEATURES to AGL_FEATURES, which needs a corresponding change to meta-agl-devel. - Remove leftover use of agl-core-image-profile DISTRO_FEATURE, which no longer exists. - Remove unneeded explicit dependency on the PREFERRED_RPROVIDER_virtual/voice-high-config, things seem to be working fine with the dependency from agl-service-voice-high, so it is not required. Bug-AGL: SPEC-3749 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibcfbce28231a91aa56269db9196c471458d0e928
2021-01-07SPEC-3723: add appfw dependencies back to SDK imageJan-Simon Moeller1-0/+14
This is required in the SDK for some apps. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I5169e3e15fe8221583b3510ff3b94aa4a27c597a
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller21-1/+202
All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8
2020-12-04Add waltham-dev dependency to agl-demo-platform-crosssdkJan-Simon Moeller1-0/+1
This fixes: Missing or unbuildable dependency chain was: ['agl-image-minimal-crosssdk', 'waltham-dev'] Bug-AGL: SPEC-3605, SPEC-3604 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I89bfe1e7b044ec471c7688459ca9cf7a4ce4977d
2020-10-14Adapt packages of agl-image-ivi-crosssdkJan-Simon Moeller3-7/+22
The agl-image-ivi-crosssdk image was missing multiple services required for CI use. Bug-AGL: SPEC-3598 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ide6a367955b9a019863d7b29e04157c94dd33f60
2020-08-19agl-image-ivi: remove agl-desktop-configScott Murray1-4/+0
The agl-desktop-config recipe has been removed from meta-agl, remove usage. Bug-AGL: SPEC-3539 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1497082cf42edd51635831036ddeef2734914e51
2020-07-23Add aws-iot-device-embedded-c support to crosssdkAndrey Shamanin1-2/+12
AWS SDK is included to AGL cross SDK, it allows users to use AWS SDK during appropriate (working with cloud) AGL application development. v2: resubmit Library mbedTLS has been added to AGL SDK, because it is required for AWS SDK. Bug-AGL: SPEC-3480 Signed-off-by: Andrey Shamanin <andrei.shamanin@orioninc.com> Change-Id: I015ecad01970bebad8f25b8c5024cbe74c7fd78c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-21Declare rpi3 incompatible with the agl-demo-platformJan-Simon Moeller1-0/+4
to avoid issues due to the limited graphics memory on the pi3, exclude the agl-demo-platform from the build. Bug-AGL: SPEC-390 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ie32940a841d2bb5ed5c7b8590b27cadb0ac26d5f
2020-07-10Revert "Add aws-iot-device-embedded-c support to crosssdk"Jan-Simon Moeller1-9/+2
This reverts commit 3f5c8fe94111312e3186cbf0d5c8c06d4e344ecd. Reason for revert: Requested package itself is not merged, yet. Change-Id: Iba64dcf588b469f497df49b906a7eec423f95ac3
2020-07-09Add aws-iot-device-embedded-c support to crosssdkAndrey Shamanin1-2/+9
AWS SDK is included to AGL cross SDK, it allows users to use AWS SDK during appropriate (working with cloud) AGL application development. Bug-AGL: SPEC-3480 Signed-off-by: Andrey Shamanin <andrei.shamanin@orioninc.com> Change-Id: I2494396bec28156ba2e732515f9ab2b61a8f71f7
2020-06-26Add distro-build-manifest per image instead of packagegroupjellyfish_9.99.1jellyfish/9.99.19.99.1Jan-Simon Möller1-0/+1
Adding distro-build-manifest in the packagegroup-agl-core-boot does trigger rebuilds of the packagegroup if the manifest changes. Avoid this by adding the manifest directly in the images only (e.g. agl-demo-platform). This prevents multiple tasks from being triggered and saves time. Also this recipe is *not* reproducible by design (timestamps, layer hashes). Bug-AGL: SPEC-3456 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I6845772da1b4ae88506270e6105182f73e00feb2
2020-05-21Add umock-c to crosssdkmaratsabitov1-1/+1
Add azure-iot-sdk-c and umock-c to support building agl-service-cloudproxy Bug-AGL: SPEC-3376 Signed-off-by: Marat Sabitov <marat.sabitov@mera.com> Change-Id: Idd26e32a0cd4fe1d50b888c49fdba425b2e12ddd
2020-05-18Update test/devel feature and crosssdk definitionsScott Murray2-12/+2
To match the update in meta-agl, rework to drop the agl-test-wgt and agl-devel-wgt feature package additions and now unnecessary test/devel packagegroups. They'll now be pulled in by the COMPLEMENTARY_GLOBS definitions for those image features. As well, to ensure that agl-demo-platform-crosssdk contains required extra additions, use new .inc file from meta-agl-profile-graphical-qt5 in the SDK definition. Bug-AGL: SPEC-3300, SPEC-3375 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6b54af5f7c76965171282ed81dc8160c69a9441f
2020-05-13Add azure-iot-sdk-c-dev to crosssdkmaratsabitov1-0/+4
Add azure-iot-sdk-c to support building agl-service-cloudproxy Bug-AGL: SPEC-3376 Signed-off-by: maratsabitov <marat.sabitov@mera.com> Change-Id: I895fc149243d90c58d81d318eecbf030bfbafc53
2020-05-08Widget packaging reworkScott Murray1-2/+2
Changes include: - Add "agl-test-wgt" to IMAGE_FEATURES in the agl-demo template definition to yield the desired default behavior of the test widgets always being added to the agl-demo-platform image. - Created new devel and test packagegroup variants for several of the existing packagegroups to contain the associated widgets. - Added several services to the RDEPENDS in the definition of packagegroup-agl-ive-services that have been getting picked up by application RDEPENDS. This simplifies the test/devel packagegroup definitions. - Extend the agl-devel-wgt and agl-test-wgt FEATURE_PACKAGES variables as necessary to add the required corresponding widget packagegroups. - Shifted some non-applications and the use of packagegroup-hmi-framework around a bit in the definition of packagegroup-agl-demo-platform to improve clarity. - The alexa-viewer app and virtual/alexa-voiceagent-config package are now pulled in by extending the agl-voiceagent-alexa FEATURE_PACKAGES definition. This is a cleaner use of the image feature than the previous checking of IMAGE_FEATURES that was being done in the packagegroup-agl-demo-platform definition. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0ace2d140fdceb1e0d778a0fe71d7f856a953ae4
2020-04-21agl-demo-platform-crosssdk: remove Chromium specific bits from SDKScott Murray1-31/+0
The gn tool recipe is not usable on dunfell due to python2 dependencies, and the current AGL solution for web applications does not require building Chromium with the SDK, so remove the recipe and the packages explicitly added for Chromium to cut down on the SDK size and build time. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7e99f2c7711d2fad9d7608a734a2d96f2cb52e48