summaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc/recipes-demo
AgeCommit message (Collapse)AuthorFilesLines
2022-08-09Rename Instrument Cluster Container layerneedlefish_14.0.0needlefish/14.0.014.0.0Jan-Simon Moeller15-385/+0
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
2022-07-25agl-lxc: Enable network bridge via lxc-netHiroyuki Ishii1-2/+2
On lxc-host-image-demo, network (physical ethernet) is statically assigned to the ivi-guest space currently. This may be a bit problematic since the other guests and also host can't use network for some future usecases, for example we can't login to host by ssh. This change enables network bridge settings via lxc-net to solve this problem. Bug-AGL: SPEC-4475 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: Ic1a39b64de932f67b7be833d469ef1a80e0c52c9
2022-06-09Fix wayland socket nameNaoto Yamaguchi6-1/+13
The default socket name was changed to wayland-1 in weston 10.0. Each wayland client is using wayland-0 that is previous default name. This patch change wayland socket name using environment variable. Bug-AGL : SPEC-4394 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ia6c8dff50e7979c0f3b809e6df76a57be6dca7df
2022-06-09Fix a recipe issue cased by yocto updateNaoto Yamaguchi3-6/+6
After the yocto update to kirkstone, meta-agl-lxc caused some recipe issue. Some r-car bsp modification recipe has mismatch to new version. Container config recipe has md5 hash mismatch with common license. Fix path from /lib/systemd/ to ${D}/${systemd_unitdir}/. This patch fix these issue. Bug-AGL : SPEC-4394 Change-Id: Ibf40f74f028b59dcd59431916eeaeac4f4c56e16 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-05-13Replace "/etc" with "${sysconfidir}"duerpei1-5/+5
make them more standardized v2: also update ${D}/lib -> ${D}${libdir} v3: updated FILES sections as well Bug-AGL: SPEC-4374 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Ia2809d849ba9424aa54bab5b651c07b24d3a5cee
2022-04-11Fix remaining use of old override syntaxScott Murray2-5/+5
Some usage of the old override syntax crept back in with recent commits, fix those so that building with kirkstone is feasible. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2293a2ad463c52022e2f3f052719dca59b404d6b
2022-03-24Update to SPDX license namesScott Murray2-2/+2
Apply updates from running the new convert-spdx-licenses script from upstream. This is not currently a hard requirement from upstream, but futureproofs for when the license name mapping is finally removed. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iad7f9d353d3111287e2b39ee98cd872e2b7fec32
2021-11-17Change map style in momnaviNaoto Yamaguchi1-2/+2
Existing mominavi use light map style. On the other hand, other app coloring is dark. This patch adjust mominavi map style with other apps. Bug-AGL: SPEC-4095 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I5b3b4013bfd7b0a69b1fa4680cf098e29f3019be
2021-11-17Add momiscreen into ivi guestNaoto Yamaguchi4-21/+93
The momiscreen is example home screen for IVI guest demo. This patch add momiscreen. Bug-AGL: SPEC-4101 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: If3e926dc01cab7dfb9062f001a765a0fcab26a2a
2021-11-16Fix recipe style error at momiplay recipeNaoto Yamaguchi1-12/+24
The bitbake recipe has style guide at https://www.openembedded.org/wiki/Styleguide Existing momiplay recipe does not fit this style guide. This patch fix this issue. Bug-AGL: SPEC-4094 Change-Id: Icb28faa991c8dd66807fcaadac77318c66dd77aa Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2021-11-16Fix recipe style error at mominavi recipeNaoto Yamaguchi1-20/+31
The bitbake recipe has style guide at https://www.openembedded.org/wiki/Styleguide Existing mominavi recipe does not fit this style guide. This patch fix this issue. Bug-AGL: SPEC-4095 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I150ab671248be800c1d955c5e47a1792510ea4c7
2021-11-16Add automatically App Key setting methodNaoto Yamaguchi1-0/+9
When we want to use mapbox map drawing that use in mominavi, we have to set App Key. This App Key need to get oneself from mapbox developer site. This patch add automatically App Key setting method. How to do. at local.conf/site.conf MOMIMAP_MAPBOX_ACCESS_TOKEN = "mapbox App Key" Bug-AGL: SPEC-4095 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Iaa87798b8794dd5bf409df2f3bf3a585fec506d8
2021-11-16Fix boot up issue for guest appsNaoto Yamaguchi4-4/+6
The mominavi and momiplay have boot up issue such as service dependency and environment variable. This patch fix this issue. Bug-AGL: SPEC-4099 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ia276c40e47a010bc2f93482aa0be5ce7416642d8
2021-11-16Importing the mediaplayer demo appNaoto Yamaguchi3-0/+54
The momiplay is a mediaplayer example based on AGL sample app at CC release. Existing agl-appfw is difficult to integrate into linux container guest, because agl-appfw strongly depend SMACK label in host. The mominavi is not require agl-appfw. It's temporally solution for MM release. This patch import momiplay to create ivi guest for demo. Bug-AGL: SPEC-4094 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ic0213f50ba570db56282d07b3f4f775664f05f78
2021-11-16Importing the navigation demo appNaoto Yamaguchi3-0/+54
The mominavi is a navigation example based on mapbox. It's based on aglqtnavigation, that initial version of existing AGL demo navigation app. Existing agl-appfw is difficult to integrate into linux container guest, because agl-appfw strongly depend SMACK label in host. The mominavi is not require agl-appfw. It's temporally solution for MM release. This patch import mominavi to create ivi guest for demo. Bug-AGL: SPEC-4095 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ia84a291b6f9f50075a3dfe5e5dc2c6ff5bca4672
2021-11-13Create simple layout manager recipeNaoto Yamaguchi3-0/+103
The ivi guest for demo use wayland-ivi-extension. That need to window manager. This patch add tiny window manager for demo. Bug-AGL: SPEC-4097 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I8392db39a7e2de5d8c61d511421afea9586d7922
2021-11-10Fix: weston is not running after BSP 5.5 merged in cluster-demoNaoto Yamaguchi1-2/+2
weston is not running after BSP 5.5 merged. This patch create new weston-init for gest usage. Bug-AGL: SPEC-4131 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I9b6edc1c45aad0f985a307f3ffb0fe6a47195dd5
2021-10-26Fix some issue for the cluster-refgui recipeNaoto Yamaguchi2-5/+5
Cluster refgui upstreamd at SPEC-3942. But recipe was not changed. Current refgui recipe has some issue. * Referring to github repository now. * Not changed recipe name from refgui to cluster-refgui. * License description is old, that is already changed from MIT to Apach-2.0. This patch fix these issue. Bug-AGL: SPEC-4090 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I2742caf36ed50a2dbf41274d172a11be33708841
2021-08-20Convert to new override syntaxScott Murray1-4/+4
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. 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: I0bbae97331abee1367b368ce54ab39e3162a12ec
2021-06-07Add meta-agl-lxcScott Murray2-0/+56
Add meta-agl-lxc layer with LXC container integration recipes, and "agl-lxc" feature to enable its use. The changes are based on the previous prototypes by Tadao Tanikawa and the updates done for the trial integration layers on the agl-ic-eg github by Naoto Yamaguchi, Hiroyuki Ishii, and Jan-Simon Moeller. The layer can be used by running aglsetup.sh with just the "agl-lxc" feature, then building lxc-host-image-demo with bitbake. Notes: - The agl-lxc feature enables a "agl-container-guest" multiconfig configuration for building the guest image(s). This suffices for demonstrating integrated builds with multiconfig, but may change in the future with extension of aglsetup.sh to add more flexibility. - There are guest-image-minimal and guest-image-cluster-demo recipes that are intended as a base container template and a demo of its use. The cluster-demo image contains the demo cluster reference UI application, and is roughly equivalent to what is named cluster-guest in the agl-ic-eg trial integration configuration. - There are likewise lxc-host-image-minimal and lxc-host-image-demo images. The host demo is configured to pull in the cluster-demo guest image, and configuration has been added such that it will automatically boot and start the cluster reference UI application. - Unlike previous work where the guest container image is added to the host image via a recipe that packages up the guest image's contents, a more direct scheme is used where the guest image is unpacked inside the host image rootfs via the use of the ROOTFS_POSTPROCESS_COMMAND mechanism. This avoids some hassles around potentially mismatched user and group id lists in the host and guest images, with the additional benefit of being faster. However, using this scheme is to some degree only necessary due to the use of LXC with unpacked guest image hierarchies. With other container tooling that uses e.g. OCI images, a revert to using packages may be preferable. - The reusable logic in the lxc-host-image-minimal recipe makes some assumptions wrt naming. They are: - guest image names have the format guest-image-<name> - guest images have a corresponding LXC configuration file recipe with the name lxc-config-<name> The intent is to simplify reuse of the base minimal recipes, but this can be reworked if deemed too restrictive. - packagegroups for e.g. pipewire and weston have purposefully not been defined at this time. It seems better to wait until it is more obvious how useful they would be. Limitations: - The host image is currently rebuilt every time to work around an issue with multiconfig dependencies that is being investigated upstream. This can hopefully be removed in the near future. - The demo images are currently in meta-agl-lxc for convenience. It may make more sense for them to reside in another location to ease shifting some things into meta-agl. - At the moment, only qemux86-64 has been tested. The changes to enable host and guest configuration tweaks for the rcar3 BSP need further investigation and discussion on where they should be maintained. Bug-AGL: SPEC-3953, SPEC-3955 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I69d41f1d1c736f05cf3b4997dbda147879e2e25d