summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>
2016-12-20Authorize the requested permissionsJosé Bollo1-1/+1
Normally, the permissions of installed applications are subject to authorization and filtering. This patch removes that control and allows to set the requested permissions. It will allow to write correct config.xml and start using permissions and cynara. Related to SPEC-367. Change-Id: I92b366eaeaf0d452062752296848c04833bc87b1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-12-16Don't override SYSTEMD_SERVICE of original recipe.Anton Gerasimov1-3/+6
Latest change for compatibility with OSTree introduced this bug, fix. Change-Id: Ib9c7fe624fbbd722abe07ca08ff56f4334dbf13e Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-12-14Merge "Move all writable data used by security-manager and appfw to /var"Jan-Simon Moeller9-9/+270
2016-12-14af-main: remove --roothttp option from afm-launch.confStephane Desneux1-1/+1
For all application types except HTML5 (application/vnd.agl.html.hybrid), there's no need to specify a root http directory. Moreover, If such directory is not present in the packaging, launching the application will fail. Change-Id: Ib0b25f3d8bb9f63dde8610d96126639b846e245d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-14Move all writable data used by security-manager and appfw to /varAnton Gerasimov9-9/+270
The purpose of these changes is to make OSTree and AppFw update domains compatible with each other. Some intergation code is also needed to deploy initial data to writable area (see SPEC-359 in Jira). Bug-AGL: SPEC-359 Change-Id: Iccba1e9916c569167df2922ad5e2d90cc33f06fe Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-12-14af-main: fix exec flag and case sensitive idsJosé Bollo2-14/+1
The execute flags is now set for widgets of type application/vnd.agl.native. The ids of the applications are now enforced to lowercase for their storing and their smack label. Conversely, the id is no more case sensitive for launching or uninstalling widgets. Change-Id: I8857b10860acf464cc56939b4acc026319d65736 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-12-12update README markdownRonan1-30/+46
Change-Id: I8df2f8cdf75eff6daed1f8e64c748d989f2da887 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-12-07add native build for af-mainRonan1-0/+11
Change-Id: If9765fa5dbb5229a511b36cda83505cab75e7785 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-12-05Update rvi-sota-clientAnton Gerasimov1-2/+2
A bug causing deploying the same tree twice was fixed in this version. [v2] Another fixed bug, should be clean now Change-Id: I0afef39a0734405e3b7318ccec1103594d2316b4 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-12-05agl-appfw-smack: remove dependency on meta-agl-securityStephane Desneux1-1/+0
After removal of meta-agl/meta-agl-security, there's no more dependency to this layer. Change-Id: Ib8ed6eb1f5fdd098feb9590586ecdaea5b9308dd Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-11-29Add dependency on curl.Anton Gerasimov1-2/+2
Without explicitly stated dependency the recipe will fail sometimes depending on the order bitbake executes its jobs. Updating sota-tools to make it crash during configuration phase as well. Change-Id: I265f9d1f11c42c6e203d04f2b23a55f18de0fc1b Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-25Merge "Improves places for QT_WAYLAND_SHELL_INTEGRATION"Jan-Simon Moeller3-3/+29
2016-11-23Bump versions of meta-sota utilitiesAnton Gerasimov6-33/+23
Authenticated OSTree pull and push is added to sota_tools, ostree and sota-client. Change-Id: I36a4d3d24826ab8776bc980b50aef8606af9e7a8 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-21Improves places for QT_WAYLAND_SHELL_INTEGRATIONJosé Bollo3-3/+29
This define is currently needed by all applications launched by the framework. This commits allows that. Change-Id: Ia56268c1bca58f2da7c0152fa735751603d799bc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-17smack: removed already applied patchJosé Bollo1-1/+0
This patch is already applied to linux-yocto_4.4.26 Change-Id: Icc58ac2f2d14589c5318286b487f0e13e5ff93f2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-16appfwk: improvementsJosé Bollo1-1/+1
This commit adds the following improvements to the application framework: - "once" method to launch applications at most one time - minor warning fixes when compiling - allowing % substitution in environment variables - export of the variable AFM_APP_INSTALL_DIR - set the execute flag on installed binaries Change-Id: I729d3b882089473c627e166c35bd0d96e70c9c53 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-12Add ota draft for ota imageJan-Simon Möller1-0/+72
Change-Id: I42debe5e710d9b1fc90f68a5d49e7fbb3e709cf4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-11Merge "agl-demo: Add iotivity-resource-samples from meta-oic"Jan-Simon Moeller2-0/+4