AGL/meta-agl.git
7 years agoLLVM3.3 build fix on qemux86-64 63/9063/2
Jan-Simon Möller [Sat, 8 Apr 2017 22:57:35 +0000 (00:57 +0200)]
LLVM3.3 build fix on qemux86-64

The build for qemux86-64 will fail on llvm3.3 b/c of the SECURITY_CFLAGS and SECURITY_LDFLAGS
(due to -fstack-protector-strong).

Fix it by blacklisting the flags for llvm3.3 .

Change-Id: I506c398521b59877d78e56d698571e272b52e94a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoSet UBOOT_MACHINE to minnowmax for intel-corei7-64 and SOTA 65/9065/1
Anton Gerasimov [Sun, 9 Apr 2017 10:31:52 +0000 (12:31 +0200)]
Set UBOOT_MACHINE to minnowmax for intel-corei7-64 and SOTA

UBOOT_MACHINE is required when u-boot is used, but no generic
intel-corei7-64 config exists for u-boot, choose Minnowboard

Change-Id: If8bf05caaef98535aedef9d4ecd98cd2ab0c2e16
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoAdd porter-bootfiles to dependencies when agl-sota is enabled 55/9055/1
Anton Gerasimov [Thu, 6 Apr 2017 16:21:19 +0000 (18:21 +0200)]
Add porter-bootfiles to dependencies when agl-sota is enabled

Previously it was a dependency to the image class, but for WIC
we have to define such dependencies in local.conf

Change-Id: I30f898553cd1cd8971d8768a9181d6e45857bf5d
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoHandle systemd's "inactive" state as transient 47/9047/2
José Bollo [Mon, 3 Apr 2017 10:21:30 +0000 (12:21 +0200)]
Handle systemd's "inactive" state as transient

Inactive is returned sometimes but it means that
the service is not started yet not that it failed
to start.

AGL-Issue: SPEC-520

Change-Id: I35bb6cf8e2c50fa46b23ce5d5817c4d139a42bf4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoAdd grub2 support in SOTA 25/9025/2
Anton Gerasimov [Thu, 30 Mar 2017 11:37:56 +0000 (13:37 +0200)]
Add grub2 support in SOTA

Change-Id: Ia37920f6190e9dfe68c4d63a01f204ff6fc66423
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agodra7xx: Enable GStreamer on the morty branch 13/9013/2
Karthik Ramanan [Thu, 30 Mar 2017 08:14:16 +0000 (13:44 +0530)]
dra7xx: Enable GStreamer on the morty branch

Change-Id: Ida4de1eab50d7d83f6134ea0e7c27fd469517c5a
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: cleanup of gstreamer files 15/9015/2
Karthik Ramanan [Thu, 30 Mar 2017 08:11:02 +0000 (13:41 +0530)]
dra7xx: cleanup of gstreamer files

Change-Id: If77f088450ea9473523fdc35cb72fbc83bff285a
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: gstreamer1.0-plugins-bad: Upgrade to 1.8.2 11/9011/2
Karthik Ramanan [Thu, 30 Mar 2017 08:12:50 +0000 (13:42 +0530)]
dra7xx: gstreamer1.0-plugins-bad: Upgrade to 1.8.2

Apart from upgrading to 1.8.2 as the base, it also contains
several TI specific patches that are required to enable
functionality for kmssink and waylandsink.

A few bug fixes have also been included in this patch set.

This recipe is rehosted from meta-arago

Change-Id: I2a5b95db1b0e6b2b907f3e82ff738fd8124c0998
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: gst-plugins-ti: Update VPE plugins to latest 09/9009/2
Karthik Ramanan [Thu, 30 Mar 2017 08:11:53 +0000 (13:41 +0530)]
dra7xx: gst-plugins-ti: Update VPE plugins to latest

Change-Id: I080e800929f9b25428a604a23ac4d15df4ae3cad
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agolightmediascanner: add dbus configuration 43/9043/2
Matt Ranostay [Sun, 2 Apr 2017 21:33:09 +0000 (21:33 +0000)]
lightmediascanner: add dbus configuration

MediaPlayer application needs Dbus access to org.lightmediascanner
and its signals.

Bug-AGL: SPEC-484
Change-Id: I8b2006e1c6405e52d8fc310a841eb26176c00ea8
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agolightmediascanner: add udev scan rule 43/8943/4
Matt Ranostay [Mon, 27 Mar 2017 21:50:29 +0000 (00:50 +0300)]
lightmediascanner: add udev scan rule

Initialize a scan on media insertion, and trigger an
dbus event on media removal.

AGL-Issue: SPEC-483
Change-Id: I7cd79401938f7671dc642647848381259cf87915
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoAdd media automounting support 39/8939/4
Matt Ranostay [Mon, 27 Mar 2017 18:24:12 +0000 (21:24 +0300)]
Add media automounting support

Use the automount.rules from udev-extraconf for mounting and
unmounting removable media

AGL-Issue: SPEC-483
Change-Id: I8c0353a76d5080ec2e4eff9dc4a48ba771e7a393
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agodra7xx: gst-plugins-ti: Update ducati plugins to latest 07/9007/2
Karthik Ramanan [Thu, 30 Mar 2017 08:11:31 +0000 (13:41 +0530)]
dra7xx: gst-plugins-ti: Update ducati plugins to latest

Change-Id: Idb53f6c42802d0ab4b4d995451c3dc76063ca498
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agolightmediascanner: change service scan path 41/8941/4
Matt Ranostay [Mon, 27 Mar 2017 21:44:20 +0000 (00:44 +0300)]
lightmediascanner: change service scan path

Change from scan path from /usr/share/media to /run/media
for removable media.

AGL-Issue: SPEC-483
Change-Id: I5829007249f8006aa3d85e2426bcfcf6223f8a2b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoqemux86-64: add Virtio GPU DRM driver 33/9033/1
Matt Porter [Sat, 1 Apr 2017 03:03:41 +0000 (06:03 +0300)]
qemux86-64: add Virtio GPU DRM driver

Add virtio gpu driver to support host GPU accelerated graphics within
a QEMU guest image.

Change-Id: I0ecf4fdfdb1d036cd48515d9efcf84381c3d5a6f
Bug-AGL: SPEC-516
Signed-off-by: Matt Porter <mporter@konsulko.com>
7 years agofaac: fix typo of SRC_URI directive 91/8991/2
Matt Ranostay [Wed, 29 Mar 2017 23:41:17 +0000 (23:41 +0000)]
faac: fix typo of SRC_URI directive

AGL-Spec: SPEC-504
Change-Id: I87bc02fd4a4ddb0e85fc06dfcd45212fa93bab79
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agodlt-daemon: remove spaces before += 63/8963/3
Martin Kelly [Tue, 28 Mar 2017 20:58:10 +0000 (13:58 -0700)]
dlt-daemon: remove spaces before +=

They're not needed (my bad).

Change-Id: Ie45f13c6274bae9d87b4b4df11410a6356b49dd7
Signed-off-by: Martin Kelly <mkelly@xevo.com>
7 years agoGenerate weston.ini dynamically 95/8895/9
Ronan Le Martret [Fri, 24 Mar 2017 10:16:21 +0000 (11:16 +0100)]
Generate weston.ini dynamically

 * remove weston-intel.ini
 * add new package weston-ini-conf
 * the list of the sections of weston.ini is described in variable flags WESTONSECTION
 * each section is described in variable flags WESTONSECTION
 * each output screen is described in agl_screen variable

Bug-AGL: SPEC-477

Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agolibuiomux: fix format security issues 65/8965/3
Matt Ranostay [Wed, 29 Mar 2017 05:35:12 +0000 (08:35 +0300)]
libuiomux: fix format security issues

Compiler option -Wformat-security found an issue with an
printf in named-open test.

Change-Id: If81ce4b1ced6d5e0d591301c9059f0dfbb799438
AGL-Issue: SPEC-504
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoFix parallel build issue in wayland-ivi-extension 83/8983/2
Jan-Simon Möller [Wed, 29 Mar 2017 21:05:53 +0000 (23:05 +0200)]
Fix parallel build issue in wayland-ivi-extension

The build might fail on a linker issue.

Change-Id: If0e0895f5a4ee9f64c20c3367df021225f1510bf
Bug-AGL: SPEC-508
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agodra7xx: linux: Update smack patches for Kernel 4.9 73/8973/2
Karthik Ramanan [Wed, 29 Mar 2017 08:17:33 +0000 (13:47 +0530)]
dra7xx: linux: Update smack patches for Kernel 4.9

Change-Id: Ie6e56fbbf877be62d69daa0d06141009cb99422a
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: Remove SRC_URI update 71/8971/2
Karthik Ramanan [Wed, 29 Mar 2017 08:16:00 +0000 (13:46 +0530)]
dra7xx: Remove SRC_URI update

Change-Id: I9ce4a9d1019269e4955544e341b5d1d0bd7a3e15
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: linux: rename kernel recipe to make version agnostic 69/8969/2
Karthik Ramanan [Wed, 29 Mar 2017 08:14:05 +0000 (13:44 +0530)]
dra7xx: linux: rename kernel recipe to make version agnostic

Change-Id: Id33c8f4c1d75aa6adf1b276995fc7991603c41cb
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agofaac: fix format security issue 67/8967/3
Matt Ranostay [Wed, 29 Mar 2017 06:05:49 +0000 (06:05 +0000)]
faac: fix format security issue

Port patchsets from Khem Raj's tree to fix -Wformat-security
issue that was exposed with security options to the compiler.

Change-Id: I3c746f71484bc3cb4b210f956465147918856340
AGL-Spec: SPEC-504
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agodra7xx: weston: cleanup patches 85/8885/3
Karthik Ramanan [Thu, 23 Mar 2017 10:23:05 +0000 (15:53 +0530)]
dra7xx: weston: cleanup patches

Change-Id: Ia2f246daae241a4b91721b7c17ae608145cd30a3
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: preferred kernel is 4.9 67/8867/5
Karthik Ramanan [Tue, 21 Mar 2017 12:55:44 +0000 (18:25 +0530)]
dra7xx: preferred kernel is 4.9

Change-Id: Iecdc8dcd745dfb1c375bf631ccf7953299ca4e92
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: minor cleanup of config file 65/8865/4
Karthik Ramanan [Tue, 21 Mar 2017 12:54:41 +0000 (18:24 +0530)]
dra7xx: minor cleanup of config file

Change-Id: I5c54d695c48c97f0dda82445ee66d04c0425d391
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: u-boot: Remove patch for compilation fix 61/8861/4
Karthik Ramanan [Tue, 21 Mar 2017 09:10:35 +0000 (14:40 +0530)]
dra7xx: u-boot: Remove patch for compilation fix

The patch has been integrated into u-boot git repo

Change-Id: I540db7bd3658300a3dffc218d228d43e7e87a2b8
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agoFix version of gst-omx 77/8977/2
Tadao Tanikawa [Wed, 29 Mar 2017 11:06:50 +0000 (20:06 +0900)]
Fix version of gst-omx

There is no 1.8.x of gst-omx. (next version of 1.2.0 is 1.9.x)

And "1.8%" for gstremaer and plugins is something ambiguous,
"1.8.%" would be better.

Change-Id: I71c7d5d7d6a406a03390231801a33eb6d60586cd
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoFix version mismatch of gstreamer for R-Car Gen3 75/8975/3
Tadao Tanikawa [Wed, 29 Mar 2017 10:19:27 +0000 (19:19 +0900)]
Fix version mismatch of gstreamer for R-Car Gen3

The version of gstreamer and its plugins would be 1.6.3 for
R-Car Gen3 BSP v2.16. Also for OMX would be 1.2.0.
(These are from the versions of poky:krogoth's gstreamer)

Because of missing PREFERRED_VERSION, the wrong version
of gstreamer(1.8) was built.

Bug-AGL: SPEC-471

Change-Id: Ie4bbffa16b549d6f5ea11bfe821eb7db0a9373a9
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoFix virtual provider for webruntime 81/8981/5
Jan-Simon Möller [Wed, 29 Mar 2017 14:53:45 +0000 (16:53 +0200)]
Fix virtual provider for webruntime

A recipe that is to be used as virtual provider needs to declare
this in a PROVIDES += 'virtual/foo' statement.

The selection then happens through a PREFERRED_PROVIDER.

Add the missing PROVIDES.

Additionally we found that in case of web-runtime,
_R_PROVIDES is not reflecting the PROVIDES as expected
and added the necessary override there, too.

Kudos to co-investigator Stéphane Desneux.

Change-Id: Ic9224ea122c21dab6ab2e7e515d6ac4d0417ef57
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFix af-main build 55/8955/3
Ronan Le Martret [Tue, 28 Mar 2017 12:15:23 +0000 (14:15 +0200)]
Fix af-main build

 * remove bashism
 * do not install service for native build

Change-Id: I53f9c06b3638f568058bfef3955230c63b935801
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoRe-enable security flags proposed in Poky 49/8949/3
Stephane Desneux [Tue, 28 Mar 2017 07:14:45 +0000 (07:14 +0000)]
Re-enable security flags proposed in Poky

This security feature was initially enabled by commit a1e6f20
but it has been disabled later by commit 85844f4.

Bug-AGL: SPEC-501

Change-Id: Ic30065a9b3d599adb97bcca78c5863e47fc11920
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoMerge "Merge: migrate appfw from meta-agl-extra"
Gerrit Code Review [Tue, 28 Mar 2017 13:52:42 +0000 (13:52 +0000)]
Merge "Merge: migrate appfw from meta-agl-extra"

7 years agodra7xx: uEnv: default dtb is renamed to identify version 81/8881/3
Karthik Ramanan [Thu, 23 Mar 2017 08:42:34 +0000 (14:12 +0530)]
dra7xx: uEnv: default dtb is renamed to identify version

Update with the new name

Change-Id: Icef7ed926821909691ff59a6253473ccbef4061d
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: ti-sgx-ddk-um: remove recipe from meta-agl 79/8879/3
Karthik Ramanan [Thu, 23 Mar 2017 08:25:56 +0000 (13:55 +0530)]
dra7xx: ti-sgx-ddk-um: remove recipe from meta-agl

Changes are already part of meta-ti

Change-Id: I8d063b8ca5037dbc9b1e16bc60931692c570e0a4
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx: weston: add patches for weston 1.11 83/8883/3
Karthik Ramanan [Thu, 23 Mar 2017 10:02:00 +0000 (15:32 +0530)]
dra7xx: weston: add patches for weston 1.11

These patches are rehosted from meta-arago
Reference: https://goo.gl/889cIi

Change-Id: I888303ddd99a431587ebb4f7ed5f0f90a6e6538d
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodlt-daemon: build with -fPIC 35/8935/1
Martin Kelly [Mon, 27 Mar 2017 22:06:28 +0000 (15:06 -0700)]
dlt-daemon: build with -fPIC

I tried turning on the Yocto security flags and hit a compilation
error due to dlt-daemon's copy of gtest not compiling. Adding -fPIC
fixes the issue.

Change-Id: I21f81949436e553426f7d1b7e17dd39717f0cf9d
Signed-off-by: Martin Kelly <mkelly@xevo.com>
7 years agoMerge: migrate appfw from meta-agl-extra 27/8927/1
Stephane Desneux [Mon, 27 Mar 2017 14:44:59 +0000 (16:44 +0200)]
Merge: migrate appfw from meta-agl-extra

Change-Id: Ic56b86228bb748a54352e79acadf0da1c947be76
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoMigrate meta-app-framework to meta-agl
Stephane Desneux [Mon, 27 Mar 2017 13:54:15 +0000 (15:54 +0200)]
Migrate meta-app-framework to meta-agl

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: I8c9dd3ec37099969d5a0984ba7e55710815663c8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoMove to AGL framework on top of systemd
José Bollo [Tue, 14 Mar 2017 12:07:12 +0000 (13:07 +0100)]
Move to AGL framework on top of systemd

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoRename webruntime DISTRO_FEATURES
Ronan Le Martret [Fri, 24 Mar 2017 15:15:04 +0000 (16:15 +0100)]
Rename webruntime DISTRO_FEATURES

 * use virtual/webruntime to anticipate multi provider of
   web-runtime

Change-Id: I6606a23248eb4ad91398f04fd943ec5242b244f1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoUpgrade application framework
José Bollo [Tue, 14 Mar 2017 11:50:03 +0000 (12:50 +0100)]
Upgrade application framework

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agobase-files for the framework
José Bollo [Wed, 8 Mar 2017 13:19:42 +0000 (14:19 +0100)]
base-files for the framework

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoEnsure that eXtended Attributes are managed
José Bollo [Mon, 6 Mar 2017 16:19:16 +0000 (17:19 +0100)]
Ensure that eXtended Attributes are managed

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoshadow: 'useradd' copies root's extended attributes
José Bollo [Tue, 7 Mar 2017 16:30:18 +0000 (17:30 +0100)]
shadow: 'useradd' copies root's extended attributes

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoRemoves systemd warnings
José Bollo [Wed, 8 Mar 2017 12:15:58 +0000 (13:15 +0100)]
Removes systemd warnings

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAdd service dependency on run-agl-postinsts
Ronan Le Martret [Mon, 6 Mar 2017 16:11:33 +0000 (17:11 +0100)]
Add service dependency on run-agl-postinsts

 * 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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoFix the error of homescreen for QEMU x86-64
Phong Tran [Thu, 23 Feb 2017 16:41:45 +0000 (23:41 +0700)]
Fix the error of homescreen for QEMU x86-64

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoUpdate af-main
Ronan Le Martret [Thu, 23 Feb 2017 10:03:08 +0000 (11:03 +0100)]
Update af-main

 * Fix wgtpkg-pack
 * Add json-c for native and nativesdk

Change-Id: I9f2f6b55b729099a70e00f53c631e181d19cf1c9
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoaglwgt.bbclass: fix bashism
Stephane Desneux [Fri, 17 Feb 2017 13:35:31 +0000 (14:35 +0100)]
aglwgt.bbclass: fix bashism

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>
7 years agoAdd dependency to images
Ronan Le Martret [Thu, 16 Feb 2017 17:03:32 +0000 (18:03 +0100)]
Add dependency to images

 * [SPEC-424]

Change-Id: I50704658bd7970b5638d7f4f7fe6167e342e9b4b
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAllowed wgt app to auto-install at the first boot
Ronan Le Martret [Wed, 15 Feb 2017 16:02:52 +0000 (17:02 +0100)]
Allowed wgt app to auto-install at the first boot

 * link to gerrit review 8467 (meta-agl)

Change-Id: I87832b52dde60134908d29261ca8f8049338e815
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAdd afm-install used to install wgt at first boot
Ronan Le Martret [Wed, 15 Feb 2017 15:54:11 +0000 (16:54 +0100)]
Add afm-install used to install wgt at first boot

 * 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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoMove feature code into the meta recipes
Ronan [Fri, 20 Jan 2017 15:30:39 +0000 (16:30 +0100)]
Move feature code into the meta recipes

 * 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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAdd missing DEPENDS to af-binder
Jan-Simon Möller [Mon, 16 Jan 2017 18:43:03 +0000 (19:43 +0100)]
Add missing DEPENDS to af-binder

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agofix for gcc6 build
Ronan [Tue, 25 Oct 2016 14:11:27 +0000 (16:11 +0200)]
fix for gcc6 build

Change-Id: Iea4f0ba83e1d93ea2e7cc5950dced714b65dd251
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agofix libcap patch
Ronan Le Martret [Fri, 14 Oct 2016 12:21:15 +0000 (14:21 +0200)]
fix libcap patch

Change-Id: I49d42748c6dcb1927d1370b0706a085a17aa8a2b
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoActivates threading and hook features
José Bollo [Tue, 3 Jan 2017 10:46:04 +0000 (11:46 +0100)]
Activates threading and hook features

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoadd fakeroot to aglwgt_deploy task
Ronan [Mon, 2 Jan 2017 16:10:24 +0000 (17:10 +0100)]
add fakeroot to aglwgt_deploy task

 * 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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoBe more precise in addtask
Jan-Simon Möller [Wed, 28 Dec 2016 19:45:11 +0000 (20:45 +0100)]
Be more precise in addtask

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoFix whitespace in aglwgt bbclass
Jan-Simon Möller [Wed, 28 Dec 2016 18:15:54 +0000 (19:15 +0100)]
Fix whitespace in aglwgt bbclass

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAdd aglwgt class
Jan-Simon Möller [Wed, 28 Dec 2016 13:54:42 +0000 (14:54 +0100)]
Add aglwgt class

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAuthorize the requested permissions
José Bollo [Tue, 20 Dec 2016 14:45:34 +0000 (15:45 +0100)]
Authorize the requested permissions

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoDon't override SYSTEMD_SERVICE of original recipe.
Anton Gerasimov [Fri, 16 Dec 2016 11:37:44 +0000 (12:37 +0100)]
Don't override SYSTEMD_SERVICE of original recipe.

Latest change for compatibility with OSTree introduced this bug, fix.

Change-Id: Ib9c7fe624fbbd722abe07ca08ff56f4334dbf13e
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoaf-main: remove --roothttp option from afm-launch.conf
Stephane Desneux [Wed, 14 Dec 2016 15:34:29 +0000 (16:34 +0100)]
af-main: remove --roothttp option from afm-launch.conf

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>
7 years agoMove all writable data used by security-manager and appfw to /var
Anton Gerasimov [Wed, 14 Dec 2016 13:08:16 +0000 (14:08 +0100)]
Move all writable data used by security-manager and appfw to /var

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoaf-main: fix exec flag and case sensitive ids
José Bollo [Wed, 14 Dec 2016 10:26:23 +0000 (11:26 +0100)]
af-main: fix exec flag and case sensitive ids

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoadd native build for af-main
Ronan [Wed, 7 Dec 2016 18:58:18 +0000 (19:58 +0100)]
add native build for af-main

Change-Id: If9765fa5dbb5229a511b36cda83505cab75e7785
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoagl-appfw-smack: remove dependency on meta-agl-security
Stephane Desneux [Mon, 5 Dec 2016 09:16:12 +0000 (10:16 +0100)]
agl-appfw-smack: remove dependency on meta-agl-security

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>
7 years agoImproves places for QT_WAYLAND_SHELL_INTEGRATION
José Bollo [Mon, 21 Nov 2016 14:37:32 +0000 (15:37 +0100)]
Improves places for QT_WAYLAND_SHELL_INTEGRATION

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agosmack: removed already applied patch
José Bollo [Thu, 17 Nov 2016 15:26:32 +0000 (16:26 +0100)]
smack: removed already applied patch

This patch is already applied to linux-yocto_4.4.26

Change-Id: Icc58ac2f2d14589c5318286b487f0e13e5ff93f2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoappfwk: improvements
José Bollo [Wed, 16 Nov 2016 12:27:36 +0000 (13:27 +0100)]
appfwk: improvements

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: fix unpackaged files in nativesdk-af-main
Stephane Desneux [Thu, 10 Nov 2016 11:46:59 +0000 (12:46 +0100)]
meta-app-framework: fix unpackaged files in nativesdk-af-main

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>
7 years agoSmack: add audit when smack is active
José Bollo [Thu, 3 Nov 2016 10:30:25 +0000 (11:30 +0100)]
Smack: add audit when smack is active

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoweb-runtime: provide IVI tuning for porter
José Bollo [Tue, 8 Nov 2016 10:38:51 +0000 (11:38 +0100)]
web-runtime: provide IVI tuning for porter

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoaf-main: update
José Bollo [Tue, 8 Nov 2016 16:27:51 +0000 (17:27 +0100)]
af-main: update

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoSmack: fixup of bluetooth socket labelling
José Bollo [Thu, 3 Nov 2016 10:26:17 +0000 (11:26 +0100)]
Smack: fixup of bluetooth socket labelling

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>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAllow build without meta-agl-demo
Ronan [Tue, 1 Nov 2016 14:52:09 +0000 (15:52 +0100)]
Allow build without meta-agl-demo

Change-Id: Ic78464d6e9c07e205b222b3f0f3d49ed1b928ed6
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoFWK: Adaptations for jethro
José Bollo [Fri, 14 Oct 2016 11:25:07 +0000 (13:25 +0200)]
FWK: Adaptations for jethro

Since introduction of ambient capabilities,
systemd deprecated the use of Capabilities.
With systemd 229 activated with krogoth,
the use of Capabilities does nothing.

This commits avoids to use SecureBits and Capabilities.
It now relies on the fact that post installations are
setting the capabilities to the file:

- setcap cap_mac_override,cap_dac_override=ep          afm-system-daemon
- setcap cap_mac_override,cap_mac_admin,cap_setgid=ep  afm-user-daemon

Using p (permitted) instead of i (inherited) that was
previously used.

It also includes evolutions of the security model to be synchronized
with the deletion of 'User'. The recommended version to use now
is the commit 20bbb97f6d5400b126ae96ef446c3e60c7e16285.

Change-Id: Id24ce7c7651e2fdf8d66b6e8286268e7d88508a0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoapp-framework: Improvements
José Bollo [Tue, 20 Sep 2016 12:40:51 +0000 (14:40 +0200)]
app-framework: Improvements

Within app-framework-binder:
 - fixes read and write lock (EAGAIN)
 - fixes SIGPIPE handling
 - improves the documentation

Within app-framework-main:
 - improves documentation (for config.xml)
 - fixes setting of permissions

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Change-Id: If860d00204f82ee85ed1fd4ca9ac9820b844085f
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoapp-framework: improvements
José Bollo [Mon, 5 Sep 2016 15:13:10 +0000 (17:13 +0200)]
app-framework: improvements

- Adds the handling of a root for HTTP files with the option --roothttp
- Improves API for openning localized data
- Adds the handling of language

Change-Id: Ia0c6e840265595b6e0415e8ea7a9e6585d8bb88d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoImproves the handling of upgrade for websockets
José Bollo [Mon, 29 Aug 2016 21:25:25 +0000 (23:25 +0200)]
Improves the handling of upgrade for websockets

The previous implmentation wasn't enough good to allow
the websocket handshake by any client. In particular,
the Qt client wasn't able to connect to binder's websockets.

Also upgrade to MHD 0.9.49 (compatible with krogoth)

Change-Id: Ib5800a4ff6c3d5e6bb11359266867fde52c06dce
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoapp-framework: fix minor bugs
José Bollo [Wed, 10 Aug 2016 16:44:15 +0000 (18:44 +0200)]
app-framework: fix minor bugs

- fix event propagation to services
- fix memory leaks

Change-Id: I73432fd9f4a144d2790a7a67d471045048b5e537
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: install missing libafbwsc library
Manuel Bachmann [Mon, 18 Jul 2016 15:48:59 +0000 (15:48 +0000)]
meta-app-framework: install missing libafbwsc library

libafbwsc is a C WebSockets helper library needed for most
native apffw clients, such as the default provided one,
"afb-client-demo".

Change-Id: I321f62cbd6a04bc3e4b91e4de544865c83397979
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: sync with latest af-main sources
Stephane Desneux [Fri, 15 Jul 2016 11:56:18 +0000 (11:56 +0000)]
meta-app-framework: sync with latest af-main sources

also add base bindings needed for most appfw clients:
* af-binder-binding-afb-dbus-binding
* af-binder-binding-authlogin

Change-Id: I19e5da9490ad9316ed172591f4ebd5755934143a
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: sync with latest af-binder sources
Stephane Desneux [Tue, 12 Jul 2016 14:17:37 +0000 (14:17 +0000)]
meta-app-framework: sync with latest af-binder sources

This solves a problem with libafbwsc (Websocket Client library)
when used from SDK to build clients (internal dependency fixed).

Change-Id: I137931c72d895679892523a6bd66cc4ecd4ea1a0
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: add missing dependency between af-binder-dev and libafbwsc-dev
Stephane Desneux [Mon, 11 Jul 2016 21:05:55 +0000 (21:05 +0000)]
meta-app-framework: add missing dependency between af-binder-dev and libafbwsc-dev

Change-Id: If0ce85a3a6ef1e715681c1011e12dad278735e04
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: af-binder must create ${libdir}/afb at postinst time
Stephane Desneux [Sun, 10 Jul 2016 17:53:06 +0000 (17:53 +0000)]
meta-app-framework: af-binder must create ${libdir}/afb at postinst time

Change-Id: I8d2c85d67eec3c697c6abb072955d5e2de8c5e5f
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: add af-main-tools and dependencies in nativesdk-packagegroup...
Stephane Desneux [Fri, 8 Jul 2016 15:08:25 +0000 (15:08 +0000)]
meta-app-framework: add af-main-tools and dependencies in nativesdk-packagegroup-sdk-host

This is required to install app framework sdk tools.

Change-Id: Iad407420fa734c063926d1883c288af387155668
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: af-binder source code update
Stephane Desneux [Fri, 8 Jul 2016 14:24:51 +0000 (14:24 +0000)]
meta-app-framework: af-binder source code update

Change-Id: Ia9c5d33defc23612fda34c01a1f1e7d789c961ad
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agometa-app-framework: build master branch
Stephane Desneux [Tue, 5 Jul 2016 16:04:51 +0000 (16:04 +0000)]
meta-app-framework: build master branch

Change-Id: I3ce83d0a5cd018d4b77492e4237fc4d297ee312f
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoadd features agl-demo, agl-appfw-smack and agl-localdev
Stephane Desneux [Tue, 28 Jun 2016 22:13:58 +0000 (22:13 +0000)]
add features agl-demo, agl-appfw-smack and agl-localdev

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: I0063db7ac2803d4ac9540b70be8024b40e97dab3
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoadd feature agl-appfw-smack
Stephane Desneux [Tue, 28 Jun 2016 21:34:29 +0000 (21:34 +0000)]
add feature agl-appfw-smack

Change-Id: Iea370d3b58aad61bad3304e923fc3e11639525e2
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoupgrade to new namings and bug fixes
José Bollo [Fri, 24 Jun 2016 09:01:25 +0000 (11:01 +0200)]
upgrade to new namings and bug fixes

Change-Id: If7481696d130859e87f3110af2d0c5dde25615d6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoadd layer meta-app-framework
Stephane Desneux [Thu, 23 Jun 2016 16:00:59 +0000 (16:00 +0000)]
add layer meta-app-framework

meta-app-framework is a layer containing the AGL App Framework recipes

4 new layers are added for application framework:
    * meta-intel-iot-security/meta-security-smack
    * meta-intel-iot-security/meta-security-framework
    * meta-agl/meta-agl-security
    * meta-agl/meta-app-framework

Configuration file changes to support AppFw:
    * activation of Smack and Cynara
    * modify the tar command to be used to support Smack extended attributes

Change-Id: Idc8abdc8869787feb4b534ee45bf7b5d3dde3632
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoUpdate rcar gen3 script, compliant driver update 99/8899/2
Ronan Le Martret [Fri, 24 Mar 2017 14:09:42 +0000 (15:09 +0100)]
Update rcar gen3 script, compliant driver update

Setup_mm_packages.sh must be compliant with driver update.
Test if EXTRACT_DIR do not exists block the update.

Change-Id: If5a8adfbf187e0894d04488eb40aa6ddbe48ad95
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoAdd kernel config for renesas porter to support ppp 03/8803/4
tte_zheng_wenlong [Wed, 15 Mar 2017 07:15:48 +0000 (16:15 +0900)]
Add kernel config for renesas porter to support ppp

Change-Id: Id387b5d6ea88dfe3c1e8a54afcb5f81f47522e9f
Signed-off-by: tte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>
7 years agoAdd OTA wks support to Porter and RCar-M3 boards 29/8529/3
Anton Gerasimov [Mon, 20 Feb 2017 10:00:49 +0000 (11:00 +0100)]
Add OTA wks support to Porter and RCar-M3 boards

Bug-AGL: SPEC-413

Change-Id: I4ef71fde4a013c1dac4917f66727ce4b6be4170c
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agodra7xx: u-boot: Switch to the 2017.01 u-boot from meta-ti 59/8859/4
Karthik Ramanan [Tue, 21 Mar 2017 06:44:23 +0000 (12:14 +0530)]
dra7xx: u-boot: Switch to the 2017.01 u-boot from meta-ti

Change-Id: Ia8d1df73bd3b8812a570a0059aeefc264472abf8
Signed-off-by: Karthik Ramanan <a0393906@ti.com>