summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2016-11-10Merge "meta-app-framework: fix unpackaged files in nativesdk-af-main"Jan-Simon Moeller1-0/+5
2016-11-10agl-demo: Add iotivity-resource-samples from meta-oicPhilippe Coval2-0/+4
As currently a single package is added, agl-demo feature is used, Later, an upcoming "ocf-automotive" feature might be used. GNU/screen is also helpful to switch between demo client and server. For more details check: https://wiki.iotivity.org/yocto#automotive_grade_linux_agl Note: meta-oic 1.1.1 as date of today is not supporting aarch64, so reciepe needs to be patched elsewhere. Bug-AGL: SPEC-158 Change-Id: I0d88258354d8f2c4d3c83bcf761e8f2500000000 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-10Merge "Revert "agl-demo: Add iotivity-resource-samples from meta-oic""Jan-Simon Moeller2-4/+0
2016-11-10Revert "agl-demo: Add iotivity-resource-samples from meta-oic"Jan-Simon Moeller2-4/+0
This reverts commit 18389a3ea67c0844c0c76c14d4891baaf25c7a9e. The build breaks on dragonboard-410c/aarch64 as reported on the ML. Revert from the feature until recipes are fixed or amended. Change-Id: I8aad0e492c19ed03606e8d63739fc518e224cb55 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-10meta-app-framework: fix unpackaged files in nativesdk-af-mainStephane Desneux1-0/+5
Recent changes in af-main now generate .pc (pkgconfig) files. These files shouldn't be packaged for nativesdk-af-main: they are just removed at the end of the install task to avoid the 'unpackaged files' error. Change-Id: I61364c430c0272e8e8a398e1e5640c856c668c1b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-11-09Merge "af-main: update"Jan-Simon Moeller1-1/+1
2016-11-09Merge "Smack: add audit when smack is active"Jan-Simon Moeller2-0/+5
2016-11-09agl-demo: Add iotivity-resource-samples from meta-oicPhilippe Coval2-0/+4
As currently a single package is added, agl-demo feature is used, Later, an upcoming "ocf-automotive" feature might be used. GNU/screen is also helpful to switch between demo client and server. For more details check: https://wiki.iotivity.org/yocto#automotive_grade_linux_agl Bug-AGL: SPEC-158 Change-Id: I0d88258354d8f2c4d3c83bcf761e8f2566c54e26 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-09Smack: add audit when smack is activeJosé Bollo2-0/+5
It is important for developement process and for monitoring hacking to track violations and to monitor wrong uses or problems. By activating audit with Smack we ensure that detection and reporting of hazardous or malicious violations will be possible. Change-Id: I7808ff17b5b8ba1fb09742fd273f46f06917d26b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-09web-runtime: provide IVI tuning for porterJosé Bollo2-1/+2
Added to the environment: export QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" This allows HTML5 applications to run on top of the IVI-shell. Note to AGL integrators: this is a temporary patch that can be removed at the end. Change-Id: Ic2b5f75327af6cbd1af4c7bd1eeb5cc3a2b743fd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-09af-main: updateJosé Bollo1-1/+1
Include features for HomeScreen: - returns pids - renamed verbs: stop -> pause & continue -> resume - dbus manifests Change-Id: I24ea59f376f57182c7060aca1c96539866cdcaba Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-08Merge "add feature dependency for agl-demo"Jan-Simon Moeller1-0/+1
2016-11-08Merge "A tool for uploading OSTree objects to a server together with ↵Jan-Simon Moeller3-0/+150
integration code"
2016-11-08A tool for uploading OSTree objects to a server together withAnton Gerasimov3-0/+150
integration code Bug-AGL: SPEC-194 Change-Id: I650e190bbda67ad48233bc5aedc0c10ff14aa58f Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-08Added SOTA_VERSION that is displayed when user runs 'sota-client -v' onAnton Gerasimov1-1/+2
the target machine Change-Id: Ifa04f2fb5f6cd5e0ecd2a14af07128e030a44a8b Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-08Merge "Upgrade to the latest rvi_sota_client"Jan-Simon Moeller1-33/+44
2016-11-07Upgrade to the latest rvi_sota_clientPhil Wise1-33/+44
* Backwards compatibilty for sota.toml files * Run 'sync' after installing a package (prevents RPM database corruption) * Stability fixes Change-Id: Ie3d3e436b754c1950d8ca6e63e2e214f300cf7d5 Signed-off-by: Phil Wise <phil@advancedtelematic.com>
2016-11-07add feature dependency for agl-demoRonan1-0/+1
Change-Id: Ib92ceda385e5e4d9771b4bb999bff983e18d68a6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-04Merge "Smack: fixup of bluetooth socket labelling"Jan-Simon Moeller10-0/+413
2016-11-04Merge "OTA-enabled live image for Porter board"Jan-Simon Moeller2-1/+76
2016-11-04Smack: fixup of bluetooth socket labellingJosé Bollo10-0/+413
The sockets created by kernel thread will now be tagged @ instead of _. This problem was occuring during creation of AF_BLUETOOTH (but is also latent AF_ALG, AF_IUCV, AF_SCTP, AF_TIPC as they don't go through the normal socket creation process within linux). Having the tag @ allows read/write to sockets without special rules and tus solve the problem. This solution from upstream linux patches backported and from a patch made by Samsung for Tizen and that is currently discussed within kernel lists. Also add some improvements of the LSM Smack (valid caching and signal 0). These improvements are backports of patches already available for linux 4.9-rc3. AGL-bug: SPEC-293 (https://jira.automotivelinux.org/browse/SPEC-293) Change-Id: I5999a951a4bbeba7947ebfe5df091de07d59e57e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-03Merge "Allow build without meta-agl-demo"Jan-Simon Moeller2-1/+3
2016-11-03Merge "Update rvi-sota-client"Jan-Simon Moeller9-203/+220