aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
AgeCommit message (Collapse)AuthorFilesLines
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>