aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
AgeCommit message (Collapse)AuthorFilesLines
2021-01-13Update aglsetup.sh feature/image helpScott Murray1-19/+9
Update aglsetup.sh configuration help for move of all demo images to meta-agl-demo and dropping of separate cluster and telematics demo features. Bug-AGL: SPEC-3749 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I22f4ef610f2562b58b7fc59f777576d6d3d4913c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25894 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-11Fix agl-appfw-smack and agl-netboot dependency issueJan-Simon Möller1-0/+10
Both layers need meta-python and meta-networking. But adding them to BBLAYERS twice will cause a duplicate inclusion error. Conditionals do not work out at this stage yet nicely, thus we use an empty variable as indirection to only include it once. (Kudos to Paul for the idea.) Adapt bblayers.conf.sample, agl-appfw-smack and agl-netboot features. This is the necessary follow-up to https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25844 and fixes the issue raised. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I74e27b8a6e1f1a68ed370e01c2f2d406841873c8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25881 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-12-17SPEC-3723: restructure meta-aglJan-Simon Moeller3-21/+4
Goal is to reach a minimal meta-agl-core as base for IVI and IC work at the same time. Trim dependencies and move most 'demo' related recipes to meta-agl-demo. v2: changed to bbapend + .inc , added description v3: testbuild of all images v4: restore -test packagegroup and -qa images, compare manifests and adapt packagegroups. v5: rebased v6: merged meta-agl-distro into meta-agl-core, due to dependency on meta-oe, moved -test packagegroup and -qa images to own layer meta-agl-core-test v7: Fixed comments from Paul Barker v8: Update the markdown files v9: restore wayland/weston/agl-compositor recipes/appends, reworked to move app f/w specific changes to bbappends in meta-app-framework and only demo specific weston-init changes to meta-agl-demo v10: fix s/agldemo/aglcore/ missed in weston-init.bbappend Description: This patch is part 1 out of 2 large patches that implement the layer rework discussed during the previous workshop. Essentially meta-agl-core is the small but versatile new core layer of AGL serving as basis for the work done by the IC and IVI EGs. All demo related work is moved to meta-agl-demo in the 2nd patchset. This should be applied together as atomic change. The resulting meta-agl/* follows these guidelines: - only bsp adaptations in meta-agl-bsp - remove the agl-profile-* layers for simplicity -- the packagegroup-agl(-profile)-graphical and so on have been kept in meta-agl-demo - meta-agl-profile-core is now meta-agl-core - meta-agl-core does pass yocto-check-layer -- therefore use the bbappend + conditional + .inc file construct found in meta-virtualization - meta-agl/meta-security has been merged into meta-agl/meta-app-framework - meta-netboot does pass yocto-check-layer - meta-pipewire does pass yocto-check-layer Migration: All packagegroups are preserved but they're now enabled by 'agl-demo'. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia6c6e5e6ce2b4ffa69ea94959cdc57c310ba7c53 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25769
2020-06-24Make the agl-compositor the default compositorJan-Simon Möller1-0/+14
This makes the agl-compositor the default starting with Jumping Jellyfish For development purposes, you have these variables at hand to influence the setup: AGL_DEFAULT_WESTONSTART AGL_DEFAULT_WM_SHELL Check your conf/local.conf for details. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Iceb35375e04f947009800b80511f6360026403fe
2020-06-17Adapt the local.conf.sampleJan-Simon Möller1-2/+77
Add PRSERV, Archiver and Parallelism options for reference. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I40edf03201b053006c67c55270da4ec31c60c054 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24774 Reviewed-by: Scott Murray <scott.murray@konsulko.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-06-17Update conf-notes.txt with current targetsJan-Simon Moeller1-24/+43
Adapt the conf-notes.txt with what is available in the tree. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I64b941915690289fa6a8d7b295bc4269533df18d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24773 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-01-27Update base local.conf.sampleScott Murray1-16/+47
Update local.conf.sample to the zeus version. This is required to pick up default qemu configuration changes that are needed to get qemu SDL support enabled. Bug-AGL: SPEC-2932 Change-Id: I7a10ea42931dbb9c7e2c0dc4f2a15666d829f65d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-04Move packages from agl-core to agl-iviRonan Le Martret1-9/+18
Bug-AGL: SPEC-2500 v2: moved packagegroup-agl-core-navigation as packagegroup-agl-ivi-navigation to meta-agl-demo Change-Id: I9ce852c80cc7c9789c087517aeee6ce38947a270 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-10Changes to support the repo clone reworkJan-Simon Möller1-13/+13
To be merged together with: https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/ v2: fix the aglsetup script v3: fix scripts to extract m3ulcb v4: use single folder for BSPs Bug-AGL: SPEC-2450 Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-22Fix the wrong comment of base template fileKazumasa Mitsunari1-1/+1
Change-Id: Ia0dc7fd78f713d9bd68e1e51a84403378e083777 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-02Fix image build with PR timestampRonan Le Martret1-2/+2
* If we using _append with PKGR the image creation failed. The _append action is done twice and so corrupt the PKGR value. Change-Id: Ia549e83a33ed667cd246a24f9a83a89d9c3f97a9 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-09-28Add an AGL revision to the RPM packageRonan Le Martret1-0/+68
* To update a rpm file (with dnf) we need to have a valid rpm revision. Let 2 packages pkg_1 and pkg_2 (built in yocto). If pkg_2 is newer than pkg_1, and one wants to be able to update it with dnf, it must respect some rpm naming rules. if ${pkg_2_name} > ${pkg_1_name} -> pkg_2 is newer than pkg_1 elif ${pkg_2_name} = ${pkg_1_name} and ${pkg_2_revision} > ${pkg_1_revision} -> pkg_2 is newer than pkg_1 else -> pkg_2 is equal or older than pkg_1 Currently, the Yocto build process (used by AGL, so whithout special service) doesn't change revisions for a build. So packages are not updatable from a repository with dnf. * This patch adds an option -r|--rpm-revision <schema> to aglsetup.sh so that RPMs produced by bitbake will have correct revisions suitable for binary publishing. <schema> can be: 'prservice[:<address>]' : Use a PR service daemon. if <address> is not specified, the default value 'localhost:0' is used (shortcut for a PR service started by bitbake) 'timestamp' : Use a generated time stamp (UTC). 'value:<revision>' : Use <revision> explicitly. 'none' : Do nothing. p16: change --rpm-revision options parsing, use UTC timestamps, refactor code p19: remove smart parsing of host:port for prservice option - back to dumb option Bug-AGL: SPEC-920 Change-Id: I1f4c9fd093fa350d19450a12ac1847885740596d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller1-8/+0
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-20Introduce meta-agl-profile-core and meta-agl-profile-graphicsJan-Simon Möller2-3/+24
Rework towards agl profiles. This change is part of a series of changes to create the AGL profiles. This set will mainly introduce the 'core' profile. It is setup to be a drop-in change, thus some files were kept in (dummy) locations for now. However, they'll be taken care of in the next changes in this series. The main target of the meta-agl-profile-core layer is to host: - a minimal, bootable image with network and package management enabled -- agl-image-boot - a minimal image with network and packagemanagement and the AGL APIs -- agl-image-minimal The layer meta-agl-profile-graphical is used as superset of these and includes support for egl+wayland+weston. All recipes concerning graphics were moved there. This is not a full profile as we still have to migrate some parts of meta-agl-demo in a follow-up changeset. The roadmap as discussed during the F2F session in Karlsruhe is: - week 16 : core profile and profiles w/o graphics - week 17 : graphical profiles - week 18 : final conversion of the demo image v2: moved agl-login-manager from -graphics to -core (see Jose's comment) v3: moved back after discussion - follow-up in separate changeset Change-Id: Idacb0d1274baac1f63f8d1b850d4b1104ac33918 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-13re-enable gobject-introspectionMartin Kelly1-3/+0
In commit f9a285987c5c956d445efeea6c60f258534fe57b, we disabled gobject-introspection due to a build error as part of the Rocko transition. However, the only build errors were on qemu, which were caused by not emulating SSE4.2 (see poky commit 5b2b343453e805be013e721d079bc24de946f28b for details). Emulate SSE4.2 in qemu and re-enable gobject-introspection. Change-Id: I073db2c37623bb8ba6b7809ca0c3bba5213001e2 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-2300_local.conf.agl.inc: Disable GObject Introspection DataChanghyeok Bae1-0/+3
Temporarily disable due to build error in gobject-introspection Bug-AGL: SPEC-1181 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-01-23bblayers.conf: Remove meta-ruby and meta-efl layerChanghyeok Bae1-1/+0
meta-ruby and meta-efl layers are removed in meta-openembedded. Bug-AGL: SPEC-1181 Change-Id: I6ac787e540b4d007e6e88d204338f17a2a29abb7 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-08-17Add template file holding index of variables available to the userJan-Simon Möller1-0/+19
This change add a template file which is appended at the very end so the user sees the available variables and can modify its settings in a guided way. Change-Id: I459e853300790e5fce050d6b58d0b07dfd761613 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10027 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-17backport open-vm-tools recipeMartin Kelly1-0/+1
Without open-vm-tools, VMWare guests are very slow. open-vm-tools was recently added to meta-openembedded, so we should get it when Rocko is released. Until then, this patch backports it. Note that open-vm-tools has an optional dependency on fuse, so we need to include the meta-filesystems layer too. Bug-AGL: SPEC-739 Change-Id: Icc5bf7f10b8e21778ab7043dea8d340eb41a527c Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10163 Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-06Enforce unified tunings across all target boards of AGLJan-Simon Möller1-2/+3
DEFAULTTUNE is a setting that should be defined in the DISTRO. So we do it here. Goal is to have just 3-4 SDKs in the end. We use these levels: - ARM 32bit high: armv7vethf-neon-vfpv4 (=default for ARM 32bit) - ARM 32bit medium: armv7athf-neon (enabled via DISTRO_FEATURE_append = " agl-medium-arm-compiler") - AARCH64: aarch64 (=aarch64, no other tunings) - x86-64: corei7-64 (=corei7-64 also for qemux86-64) v2: Fix qemu user-mode emulation on x86-64 and adapt qemux86-64 tune flags. See: https://goo.gl/DMaBJ9 Bug-AGL: SPEC-491 Change-Id: Iababbe38a531d546c03f695847651f2d83301b9a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9299 Reviewed-by: Martin Kelly <mkelly@xevo.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-03-08Splice out distro configuration in own layer for compatibilityJan-Simon Möller1-0/+1
Upstream is working on guidelines for DISTRO and BSP layers. One outcome is the yocto-compat-layer tool. A requirement for BSP and DISTRO layers is that they are single-purpose aka just defining the distro and only defining the BSP. To comply with this, move the distro out into meta-agl-distro and adapt the templates. Bug-AGL: SPEC-472 Change-Id: I921127edc78e677bd75d42a793f0b3708a54dd79 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-03Add dependency to imagesRonan1-3/+6
* [SPEC-424] * yocto image should use dependency to facilitate maintenance * yocto image should have its own LICENSE defined Change-Id: I47a6c35f5b80947c5ef8b4761dd98b4bc82a5507 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-28Fix remaining occurrence of meta-yoctoJan-Simon Möller1-1/+1
This changeset replaces the old meta-yocto with meta-poky. It avoids the warning message NOTE: Your conf/bblayers.conf has been automatically updated. Change-Id: I89fa0a2eb1ed794b01539fbeee87bae82cf272dc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-26Move feature code into the meta recipesRonan1-14/+2
* Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf Change-Id: I0bb0861f4c07a8b57cb59a03f6ffe9d2d693cbbe Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-17update local.conf.sample from mortyRonan1-20/+18
* come from poky 2.2 morty: - poky/meta-poky/conf/local.conf.sample * keep USER_CLASSES unchange into local.conf.sample. Redefined it into poky-agl distro instead. This will be easier to maintain and keep a trace of modification from upstream. Change-Id: Iaede1c6112a71e1585d1d8adfc6046fec9dd28cb Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-07Test - mitigation of tar-native issueJan-Simon Möller1-0/+2
This changeset removes tar-native from ASSUME_PROVIDED in an attempt to mitigate the tar-native extraction issue that we see on the jenkins slaves. Is I understand the race-window, tar-native is just being extracted and already in a preferred PATH while being extracted. The right fix would likely be to extract first, then change PATH after the file is in place. A way to do this is being researched. Change-Id: I0b138a1bd27406e719ab0d711cf542a812fb8460 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-24conf-notes.txt: Add image agl-demo-platform-html5Leon Anavi1-0/+1
Add agl-demo-platform-html5 to the list of AGL images. Bug-AGL: SPEC-331 Change-Id: I70f79bfa0b95e8e95f2a4023f91b185814123104 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-10-26Generalize EULA functions and apply to imx6qsabreliteJan-Simon Möller2-2/+12
This change generalizes the *_setup_EULA*.sh scripts to work with custom layouts. The 50_setup.sh of the machine template just needs to call find_and_ack_eula <layerfolder> [<EULA_FILENAME_relative_to_layerfolder>] The EULA_FILENAME is optional. Also an optional EULA_FLAG_NAME can be exported which will be used for the layer.conf. If no EULA_FLAG_NAME is set, we'll default to the current ACCEPT_EULA_$MACHINE. Change-Id: I03a4551e1cf088dce0b13aa5e38f606d67e0fb29 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-19Rename meta-yocto to meta-poky as done in upstreamJan-Simon Möller1-1/+1
Upstream renamed meta-yocto to meta-poky. Thus rename it in our bblayers.conf.sample file, too. Change-Id: I8d88592ef6e4ca8d673cef4592a21de0326d2807 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-08aglsetup script: fix interactive execution of the script generated from ↵Stephane Desneux1-3/+2
fragments This fixes the problem with Qualcomm boards where EULA approval is required. See: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-July/002279.html Change-Id: Ifad216bf559a246d6883e7c2828dacd7bd225075 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-05new configuration templates based on fragmentsStephane Desneux6-0/+418
This is the application of the process proposed here: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002232.html Bug-AGL: SPEC-180 Change-Id: I5a7015fa810547a9ecf4fb096367323af3cdc670 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>