summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-04Update SOTA-related softwareAnton Gerasimov7-63/+191
Support for grub2 has been added, rust's json parser temporarily replaced with python-canonicaljson because of compatibility issues. Change-Id: I6665ed3ad56afc90f0e82eb90993c8656be16d5f Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-03-27Migrate meta-app-framework to meta-aglStephane Desneux59-1901/+0
Application Framework is now part of core AGL components and has been moved from meta-agl-extra to meta-agl. Bug-AGL: SPEC-448 The commit history has been kept and the following commits have been moved from meta-agl-extra to meta-agl: e08fc10 2017-03-14 13:07:12 +0100 jose.bollo@iot.bzh Move to AGL framework on top of systemd 8bdc96f 2017-03-24 16:15:04 +0100 ronan.lemartret@iot.bzh Rename webruntime DISTRO_FEATURES 02faef6 2017-03-14 12:50:03 +0100 jose.bollo@iot.bzh Upgrade application framework 9731d66 2017-03-08 14:19:42 +0100 jose.bollo@iot.bzh base-files for the framework ed214a2 2017-03-06 17:19:16 +0100 jose.bollo@iot.bzh Ensure that eXtended Attributes are managed 2969a9f 2017-03-07 17:30:18 +0100 jose.bollo@iot.bzh shadow: 'useradd' copies root's extended attributes e159294 2017-03-08 13:15:58 +0100 jose.bollo@iot.bzh Removes systemd warnings d19db32 2017-03-06 17:11:33 +0100 ronan.lemartret@iot.bzh Add service dependency on run-agl-postinsts d3a02ef 2017-02-23 23:41:45 +0700 tranmanphong@gmail.com Fix the error of homescreen for QEMU x86-64 913a263 2017-02-23 11:03:08 +0100 ronan.lemartret@iot.bzh Update af-main d36e635 2017-02-17 14:35:31 +0100 stephane.desneux@iot.bzh aglwgt.bbclass: fix bashism 72265ee 2017-02-16 18:03:32 +0100 ronan.lemartret@iot.bzh Add dependency to images f3292e8 2017-02-15 17:02:52 +0100 ronan.lemartret@iot.bzh Allowed wgt app to auto-install at the first boot 347aa4d 2017-02-15 16:54:11 +0100 ronan.lemartret@iot.bzh Add afm-install used to install wgt at first boot 9153078 2017-01-20 16:30:39 +0100 ronan.lemartret@iot.bzh Move feature code into the meta recipes b5ce617 2017-01-16 19:43:03 +0100 jsmoeller@linuxfoundation.org Add missing DEPENDS to af-binder ba2ad47 2016-10-25 16:11:27 +0200 ronan.lemartret@iot.bzh fix for gcc6 build 8f15654 2016-10-14 14:21:15 +0200 ronan.lemartret@iot.bzh fix libcap patch 24b96c4 2017-01-03 11:46:04 +0100 jose.bollo@iot.bzh Activates threading and hook features f518d36 2017-01-02 17:10:24 +0100 ronan.lemartret@iot.bzh add fakeroot to aglwgt_deploy task 4c81238 2016-12-28 20:45:11 +0100 jsmoeller@linuxfoundation.org Be more precise in addtask a930811 2016-12-28 19:15:54 +0100 jsmoeller@linuxfoundation.org Fix whitespace in aglwgt bbclass de41ad3 2016-12-28 14:54:42 +0100 jsmoeller@linuxfoundation.org Add aglwgt class 5999238 2016-12-20 15:45:34 +0100 jose.bollo@iot.bzh Authorize the requested permissions a79a010 2016-12-16 12:37:44 +0100 anton@advancedtelematic.com Don't override SYSTEMD_SERVICE of original recipe. b6960b3 2016-12-14 16:34:29 +0100 stephane.desneux@iot.bzh af-main: remove --roothttp option from afm-launch.conf 524e557 2016-12-14 14:08:16 +0100 anton@advancedtelematic.com Move all writable data used by security-manager and appfw to /var d32c40a 2016-12-14 11:26:23 +0100 jose.bollo@iot.bzh af-main: fix exec flag and case sensitive ids 9e930f5 2016-12-07 19:58:18 +0100 ronan.lemartret@iot.bzh add native build for af-main 5b8d3a4 2016-12-05 10:16:12 +0100 stephane.desneux@iot.bzh agl-appfw-smack: remove dependency on meta-agl-security f45014a 2016-11-21 15:37:32 +0100 jose.bollo@iot.bzh Improves places for QT_WAYLAND_SHELL_INTEGRATION d1c5151 2016-11-17 16:26:32 +0100 jose.bollo@iot.bzh smack: removed already applied patch f0d8be8 2016-11-16 13:27:36 +0100 jose.bollo@iot.bzh appfwk: improvements 1d8243b 2016-11-10 12:46:59 +0100 stephane.desneux@iot.bzh meta-app-framework: fix unpackaged files in nativesdk-af-main 4da956c 2016-11-03 11:30:25 +0100 jose.bollo@iot.bzh Smack: add audit when smack is active c6b0317 2016-11-08 11:38:51 +0100 jose.bollo@iot.bzh web-runtime: provide IVI tuning for porter c294b3a 2016-11-08 17:27:51 +0100 jose.bollo@iot.bzh af-main: update c50805d 2016-11-03 11:26:17 +0100 jose.bollo@iot.bzh Smack: fixup of bluetooth socket labelling ce583cd 2016-11-01 15:52:09 +0100 ronan.lemartret@iot.bzh Allow build without meta-agl-demo eadecc1 2016-10-14 13:25:07 +0200 jose.bollo@iot.bzh FWK: Adaptations for jethro 111007a 2016-09-20 14:40:51 +0200 jose.bollo@iot.bzh app-framework: Improvements 53ae34d 2016-09-05 17:13:10 +0200 jose.bollo@iot.bzh app-framework: improvements 8303ea3 2016-08-29 23:25:25 +0200 jose.bollo@iot.bzh Improves the handling of upgrade for websockets 2b33f74 2016-08-10 18:44:15 +0200 jose.bollo@iot.bzh app-framework: fix minor bugs 73771f1 2016-07-18 15:48:59 +0000 mbc@iot.bzh meta-app-framework: install missing libafbwsc library edf0c91 2016-07-15 11:56:18 +0000 stephane.desneux@iot.bzh meta-app-framework: sync with latest af-main sources f848612 2016-07-12 14:17:37 +0000 stephane.desneux@iot.bzh meta-app-framework: sync with latest af-binder sources d277fb2 2016-07-11 21:05:55 +0000 stephane.desneux@iot.bzh meta-app-framework: add missing dependency between af-binder-dev and libafbwsc-dev 17fd881 2016-07-10 17:53:06 +0000 stephane.desneux@iot.bzh meta-app-framework: af-binder must create ${libdir}/afb at postinst time c664012 2016-07-08 15:08:25 +0000 stephane.desneux@iot.bzh meta-app-framework: add af-main-tools and dependencies in nativesdk-packagegroup-sdk-host d7a5a54 2016-07-08 14:24:51 +0000 stephane.desneux@iot.bzh meta-app-framework: af-binder source code update 68dde03 2016-07-05 16:04:51 +0000 stephane.desneux@iot.bzh meta-app-framework: build master branch f3b34f5 2016-06-28 22:13:58 +0000 stephane.desneux@iot.bzh add features agl-demo, agl-appfw-smack and agl-localdev f4b76be 2016-06-28 21:34:29 +0000 stephane.desneux@iot.bzh add feature agl-appfw-smack e80d00c 2016-06-24 11:01:25 +0200 jose.bollo@iot.bzh upgrade to new namings and bug fixes 7cd29bd 2016-06-23 16:00:59 +0000 stephane.desneux@iot.bzh add layer meta-app-framework Change-Id: I4ee34dfd8810ae6f10435308b1005e11e03bd05a Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Merge "Move to AGL framework on top of systemd"Jan-Simon Moeller6-60/+37
2017-03-24Move to AGL framework on top of systemdJosé Bollo6-60/+37
This new version of the framework leverages systemd features to launch its applications. Some of the advantages are: - possible use of systemd features (namespace, cgroups, autostart, dependency resolution, socket activation, ...) - more feature are let open to integrator's design Some of the drawbacks are: - not more possible to launch an other instance of an application already launched - pause/resume is no more available by the framework - the remote mode is to be redefined This commit integrates the first version of the framework on top of systemd. More work is to come. None of the current drawback is definitive. Bug-AGL: SPEC-138, SPEC-425, SPEC-426, SPEC-427 Change-Id: Idfb98761c0db23562bb783bed1b03aeb956fc587 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-24Rename webruntime DISTRO_FEATURESRonan Le Martret1-1/+1
* use virtual/webruntime to anticipate multi provider of web-runtime Change-Id: I6606a23248eb4ad91398f04fd943ec5242b244f1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Merge "remove PR from recipes"Jan-Simon Moeller1-2/+0
2017-03-17remove PR from recipesRonan Le Martret1-2/+0
Yocto uses meanwhile 'prserv' to generate the value for PR. Change-Id: Ifa2905f8bfada7564d68db2d00bc4f0d9e4a2757 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-17Upgrade application frameworkJosé Bollo2-2/+2
This is the last upgrade of the application framework before the switch to the systemd integrated application framework. Changes for AF-BINDER: ---------------------- - removal of legacy file include/afb/afb-plugin.h - removal of legacy call to readdir_r - allowing to repeat option --ldpaths - new options: --no-httpd, --exec, --random-token - reintegration of libmagic for content-types - fix crash on unhandled request - capable of socket activation by systemd Changes in AF-MAIN: ------------------- - handling of JSON-pointers in template unit - fix a bug in mustach evaluation - error message improvement - added afm-util commands: run-remote and start-remote - switch to cmake 3.4.3 - fix bug in file content helper - fix bug of labelling files that made issue when uninstalling Change-Id: Id18c5ff1edb2a7dee3813e996aed6300bcd97036 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-09base-files for the frameworkJosé Bollo3-56/+22
This setting is introduced primarily to allow the recipe agl-users to run in a correct environment. Change-Id: Ib0bd7c8e6520bd87dbb26d9c011f5cb4672f44c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-09Ensure that eXtended Attributes are managedJosé Bollo1-2/+6
Common tools like 'useradd' work better in a Smacked context when the extended attributes are correctly managed. This is achieved by enforcing extended attributes "xattr" to be in DISTRO_FEATURES. When the commit 1c3eae5e654b7942b3ffd0b53426ca77219cec03 of poky will be integrated in the upstream of AGL (pyro), it will be possible to removes the 3 last lines of meta-app-framework/conf/include/agl-appfw-smack.inc that explicitely activate the handling of extended attributes for the package "shadow". See SPEC-475. Change-Id: I299e68a34e7e49b33f1046aa99d255655fa2ffcc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-09shadow: 'useradd' copies root's extended attributesJosé Bollo3-0/+94
The copy of extended attributes is interesting for Smack systems because it allows to set the security template of the user's home directories without modifying the tools (useradd here). But the version of useradd that copies the extended attributes doesn't copy the extended attributes of the root. This can make use of homes impossible! This patch corrects the issue by copying the extended attributes of the root. This includes 2 patches to implement the behaviour: one for the target and one for the native. The patch for the target was submitted upstream (see below) The patch for the native couldn't be submitted upstream because it applies on a patch specific to open-embedded (that was refused upstream). Upstream-Status: Submitted (http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html) Change-Id: I7ced318a02206fd3f15a6995f59bb82b6c6453d5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-08Removes systemd warningsJosé Bollo2-2/+2
Systemd was complaining that the service files were executable. This patch removes that issue. Change-Id: I77183bb142956fec84b3ca727f7084e8f652c292 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-07Add service dependency on run-agl-postinstsRonan Le Martret1-0/+1
* if we add meta-app-framework you should add dependency on afm-system-daemon for run-agl-postinsts service [SPEC-431] Change-Id: I17ac918c0880aa46ba01e78257aacac390a50aba Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-03Merge "Add dependency to images"Jan-Simon Moeller1-0/+0
2017-02-27Use latest version of pseudo with buggy POSIX ACL fixed.Anton Gerasimov1-0/+5
There is no open Jira ticket for that, details can be found in comments to SPEC-254 starting with Jan-Simon's comment on 26th of October. Change-Id: I00c016005f0adfe289acab2b68a461d94f34b992 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-02-25Merge "Fix the error of homescreen for QEMU x86-64"Jan-Simon Moeller1-0/+4
2017-02-24Update OSTree to acquire Smack-related patchAnton Gerasimov1-3/+2
This version should have the issue with repo corruption after pull on Smack-enabled systems fixed. Bug-AGL: SPEC-386 Change-Id: I4485596ce9abf47e7fa8b8a90f94c212178df8f1 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-02-23Fix the error of homescreen for QEMU x86-64Phong Tran1-0/+4
libEGL.so is not availabe in QEMU x86-64 env. This make the afm-user-daemon service is loaded failure. This make the homescreen fail to load. Remove LD_PRELOAD of libEGL.so for QEMU x86-64. Change-Id: Iba9a904cc7e4000861ec0e0d6f5c22f48428b954 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2017-02-23Update af-mainRonan Le Martret3-3/+3
* Fix wgtpkg-pack * Add json-c for native and nativesdk Change-Id: I9f2f6b55b729099a70e00f53c631e181d19cf1c9 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-17aglwgt.bbclass: fix bashismStephane Desneux1-1/+1
Depending on the host shell, the class may fail due to specific bash syntax. Change-Id: I59938b009b27e8fbdc533e8b58c80a36864723bb Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-02-16Add dependency to imagesRonan Le Martret1-0/+0
* [SPEC-424] Change-Id: I50704658bd7970b5638d7f4f7fe6167e342e9b4b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-15Allowed wgt app to auto-install at the first bootRonan Le Martret1-3/+23
* link to gerrit review 8467 (meta-agl) Change-Id: I87832b52dde60134908d29261ca8f8049338e815 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-15Add afm-install used to install wgt at first bootRonan Le Martret2-0/+50
* afm-install can install wgt app like afm-util but use dbus "system" session instead of "user". #/usr/bin/afm-install install /usr/AGL/apps/$file.wgt Change-Id: Id7361350257347a8db32f539b3bdeb3f2d8f554c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-09Update sota softwareAnton Gerasimov5-81/+120
Update includes: - latest version of OSTree (2017.1) - latest versions of sota-client and sota-tools - fix for lshw recipe under morty Change-Id: Ic65fbf1cb0608143e49dc5d241b7d84940126e26 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-01-26Move feature code into the meta recipesRonan7-55/+31
* 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 * move feature/agl-demo to meta-agl-demo Change-Id: I6db3956da8091bf583b20fce7dc184bfe622a85a Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-26Fix u-boot patches from meta-raspberrypi for raspberrypiRonan1-0/+6
* The patch "0003-Include-lowlevel_init.o-for-rpi2.patch" is not complacente with u-boot 2016.11 from meta-sota. * The version of u-boot from yocto 2.2 Morty is 2016.03 Change-Id: I5bbc2683ca159a6c537c08a484e22fa8da260da3 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-18Merge "Add missing DEPENDS to af-binder"Jan-Simon Moeller1-1/+1
2017-01-18Merge "Changes to pseudo have been merged into poky, this recipe is no more ↵Jan-Simon Moeller4-63/+0
needed."
2017-01-17Image creation has changed a bit in morty, fix OSTree-related typesAnton Gerasimov5-4/+15
accordingly Bug-AGL: SPEC-413 Change-Id: If7dbf01eb277143e41b602a977b0ef6110a5664d Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-01-17Changes to pseudo have been merged into poky, this recipe is no moreAnton Gerasimov4-63/+0
needed. Bug-AGL: SPEC-406 Change-Id: I5db0db2a31497c59550b8bd2d28e9df7f4317cfc Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-01-16Add missing DEPENDS to af-binderJan-Simon Möller1-1/+1
To fix WARNING: af-binder-1.0-r0 do_package_qa: QA Issue: af-binder rdepends on libcrypto, but it isn't a build dependency, missing openssl in DEPENDS or PACKAGECONFIG? [build-deps] openssl is added to DEPENDS. Change-Id: Ib1d38f8041e053f7c706fcb2cc187aad765aa9c4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-13replace deprecated function base_containsRonan1-1/+1
* replace base_contains by bb.utils.contains * base_contains is deprecated use bb.utils.contains instead * yocto version: 2.2 Change-Id: Ie36940f57ec82028487de5c5b3326054cb250eee Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-11Fix build of u-boot with gcc6 on mortyJan-Simon Möller4-4/+179
Add header file for gcc6 to u-boot. Change-Id: Idc5b95f2b41a7c0468b5b07883bcf11d4b48b164 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10Fix ostree compilation with mortyJan-Simon Möller1-1/+2
Change-Id: I50af71c6a67a207e460254a6af9d0dd8e4ca68c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10Fix build of libgsystem on mortyJan-Simon Möller1-2/+3
Add the dependency gtk-doc-native and enforce autoreconf to run. Change-Id: Iff565cb8193f17d9ab9cfca7e5323440515ccb15 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10Remove old append file to pseudoJan-Simon Möller1-3/+0
This file is no longer needed as it was replaced with a backport. Change-Id: If29e17dcefa4fd471686f16637e0ca67936b079d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10Merge "fix for gcc6 build"Jan-Simon Moeller3-1/+82
2017-01-10Merge "fix libcap patch"Jan-Simon Moeller1-7/+15
2017-01-10fix for gcc6 buildRonan3-1/+82
Change-Id: Iea4f0ba83e1d93ea2e7cc5950dced714b65dd251 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-10fix libcap patchRonan Le Martret1-7/+15
Change-Id: I49d42748c6dcb1927d1370b0706a085a17aa8a2b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-01-09rvi-sota-client: Update and fix rust-opensslLeon Anavi1-41/+37
Update the version of RVI SOTA Client as well as all crates on which it depends. Furthermore the patch includes improvements for the deployment of the systemd service and removes the old work around for rust-openssl. Dbus has been moved from RDEPENDS to DEPENDS to ensure that RVI SOTA client will be built successfully. Bug-AGL: SPEC-385 Change-Id: If276aac45b582d7d1ddb5b702fb4f40937d38e75 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2017-01-09libgit2: Remove recipe from meta-agl-extraLeon Anavi3-25/+0
Remove the Yocto/OE recipe for libgit2 from meta-agl-extra and use the one from layer meta-rust. Recipe libgit2 is required only for building RVI SOTA client which anyway depends on meta-rust. Bug-AGL: SPEC-385 Change-Id: I2be01d8280687b77840f693ccddc0f10732245ab Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2017-01-05Merge "Activates threading and hook features"Jan-Simon Moeller1-3/+2
2017-01-04Add flags supporting CMA operation on RPIJan-Simon Möller2-2/+14
These flags are needed for proper CMA (graphics/video) on rpi3. Mitigates SPEC-390. Change-Id: I48c79a9d8cbb2017f8fff30dfa9a83be1da845e1 Bug-AGL: SPEC-390 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-03Activates threading and hook featuresJosé Bollo1-3/+2
Activation of threading was delayed until CES demo. Now that CES demo is on, threading can be activated and tested in real. This also enables new features: - Compiler fixes - Hooking of requests (for debugging) - Change in handling option --roothttp - Documentation improvements - Minor internal improvements and cleanup Change-Id: I4c7052697a83c3d49a283970c502c62a5d3ddd64 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-02add fakeroot to aglwgt_deploy taskRonan1-0/+4
* we need to have pseudo env when we deploy agl app, if not developer id is use instead of pseudo id (root), and a QA issue is rise "host contamination". BB-must-fix Change-Id: I65c61cf1f5318b9cb9afe942da662863389f28b9 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-12-28Be more precise in addtaskJan-Simon Möller1-2/+2
This changeset fixes a timing issue on parallel builds when using the aglwgt bbclass. It turns out that we need to make sure our steps finish before do_package is being called. Change-Id: Ib3bc0d39562c6a0d9ba4c55352c61ce1b57d5409 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-28Fix whitespace in aglwgt bbclassJan-Simon Möller1-1/+1
This change fixes an issue in the aglwgt bbclass use of FILES_${PN} that lead to a missing inclusion of the *.wgt file. Change-Id: I4ec8485e9f375f3e9278310381b270b0d3647f62 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-28Add aglwgt classJan-Simon Möller1-0/+37
This change adds a aglwgt.bbclass which does: - simplify the application (wrapper) recipes within AGL - enforces that 'make package' is present to guarantee the SDK workflow works - places the wgt in the standard location of the AGL reference distro /usr/AGL/apps/ Later the following features will be added to the class: - automatic generation of a wrapper for smoke-test of install/uninstall operations (ptest script) - build-time format checks Change-Id: Ie4f8281061febf3495d33bb1483f8c64b54ed8e9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-27Update default branch name in the documentationAnton Gerasimov1-6/+7
Bug-AGL: SPEC-381 Change-Id: I1244bbd1c80982f7486090fb4abab5fb2e88f560 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>