aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework
AgeCommit message (Collapse)AuthorFilesLines
2019-04-04Upgrade to thudScott Murray4-3/+8
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-03-25af-binder: Ensure validy of event loopJosé Bollo1-1/+1
In rare circumstances during intialization threads should wait instead of using a null event loop. This is because no one has needed event loop at this stage of initialization. Change-Id: Ie5c1f86f80d7b90234cedabb07186058e6b2d45f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-25af-main: Add ability to manage all widgetJosé Bollo1-1/+1
For system uses -like automatic testing-, it is needed to include tha ability to list ALL installed widgets and ALL running instance of installed widgets. This change adds the option -a or --all to the commands 'list' and 'runners' for the purpose of listing any installed widgets, even those requiring to be hidden. Example: afm-util ps -a Bug-AGL: SPEC-2272 Bug-AGL: SPEC-1850 Change-Id: I7a6896e79fa624dee7ee1f18d1e75c14f61bed0c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-15af-binder: Fix lock issueJosé Bollo1-1/+1
This includes: * ff2b8be Upgrade dependency to libmicrohttpd version 0.9.60 * c829f91 Fix build dep on OBS * 5425e05 afb-stub-ws: Allow unordered process of messages Bug-AGL: SPEC-2219 Change-Id: I037a158a32d8673ba8df00658d30e745516944a9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-18af-main: Update version and datesJosé Bollo1-1/+1
Includes: * bc39aec Set version to 8.0.0 * 2a319cf Update date in copyrights Change-Id: I1ff52c2eade4d1089098756b9311954444f64a81 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-18af-binder: Fix concurrent issue SPEC-2163José Bollo1-1/+1
Include the changes: * 44248c6 Set next version of binder * 043c27c Update copyright date * 6415858 afb-stub-ws: Fix concurrent memory issues * f47f9d8 stress: Improve the stress test scripts Bug-AGL: SPEC-2163 Change-Id: I6ae7948de56aa698c3aa9e82617abc504477d326 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-06af-binder: bump to latest revision (fix SPEC-2161)Stephane Desneux1-1/+1
Includes changes: * fcd68bb jobs: Ensure releasing event loop Bug-AGL: SPEC-2161 Change-Id: Ief7a439a857c42435c2b9c93e218fcf5533eb1e4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-02-06af-main: bump to latest revisionStephane Desneux1-1/+1
Includes changes: * 46e35ce Revert "afm-unit: Restore removal of capabilities" * 765d080 wgtpkg-unit: Fix Segmentation fault * d0cb2a7 wgtpkg-pack: Ensure packing relative files * 48e894b wgtpkg-zip: Ensure zip will not complain * 9f24684 afm-user-setup service: disable start rate limit * da0ec3a Revert "afm-unit: add autoapi in required-api feature" * adc590a Fixed book.yml file * 2b6e13b afm-unit: add autoapi in required-api feature * f2a2f13 afm-unit: Restore removal of capabilities Bug-AGL: SPEC-1988, SPEC-2006, SPEC-2144 Change-Id: I5d425f95d31b46991c952d8be976f8c843e7714d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-02-05af-binder: Fix multithreadingJose Bollo1-1/+1
Ensure activation of multithreaded handling of requests. Includes: * bb5dd7a afb-proto-ws: Serialize incoming message * e9c6530 jobs: Refactor event loop handling * 48df1b4 jobs: Separate internal threads from others * 2ff91c0 jobs: Remove conditionnal REMOVE_SYSTEMD_EVENT * 0c68d46 afb-hsrv: Avoid call to getnameinfo * 194031d hello3: Fix warning unused variable Bug-AGL: SPEC-2133 Bug-AGL: SPEC-2089 Change-Id: I7a9f8ede2309b0eb58c0b83abd03023f5a01eb30 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-01-18systemd-agl-sync: raise priority of the fragment that reloads systemdStephane Desneux1-1/+1
Some scriptlets installed in /etc/agl-postinsts/ have a priority greater than 90 This patch raises the priority of the fragment that restarts systemd to be sure that it's executed last. Change-Id: If1b261b7e75223eed65ce3e2937f525f2fe5d8d7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-05af-binder: bump revisionStephane Desneux1-1/+1
This following changes are included: * 1bce833 afb-api-v3: Fix potential buffer overflow * 3bb9874 afb-binding-v3: Fix issues in includes * eb9be95 packaging: Remove hard dependency to samples * 7508331 hello3: Add verb 'after' * 7916ea9 bindings/samples: Cleanup and tiny comment Change-Id: Ifa0f941e22096b46278951f6e8fa939d3215803d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-02af-main: Upgrade app-framework-mainJose Bollo1-1/+1
This allows to install more than one target in a same widget. Includes: * 0eb4c25 book doc: add book yaml file * a8ffd52 wrap-json: Upgrade to latest version * f8b0495 afm-unit: Fix http port multi allocation Bug-AGL: SPEC-2068 Change-Id: If018c063ab11724721c4b06861ee515a9be7641b Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-12-31af-binder: Fix lock of sync/async callsJose Bollo1-1/+1
Bump to the version that fix the lock of call in multi-threaded case. Bug-AGL: SPEC-2089 Change-Id: I21baf120398f89cda3dfba06c44fa4773cda04c4 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-12-14systemd: Refactor build using smack-system-setupJosé Bollo2-20/+1
This changes introduces the new recipe meta-security/recipes-core/smack-system-setup/smack-system-setup_1.bb The purpose is to split the recipe of systemd in two parts: - A part specific to systemd and only systemd It actually includes Smack patches for systemd and a renaming of udev-rules. - A part more oriented on putting the system in order to run with Smack activated. At the end, it will probably save many rebuilds as systemd recipe will evolve less in relation with the setup of the system. As example, the udev rule file "55-udev-smack-default.rules" that setup udev rules specific to smack is no more brought by systemd but by smack-system-setup. Also at the same time, some cleanup and refactoring is done. Note that the ".bbappend" file for systemd is now fixed in version and is including a common file file that records the several known versions. No cleanup was made on the versioned patch for the sake of memory. The cleanup of the history is to be achieved later... Bug-AGL: SPEC-2045 Change-Id: Iacf772142a381729dfdbe98d133a3effc4d6cf68 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-12-13af-binder: UpgradeJosé Bollo1-1/+1
This upgrade includes 4 commits: * bc247d4 globset: Introduce globset for event handling * 13a5afe Fix deprecation warnings for older GCC versions * 3f2e3d9 afb-hook: Improve reentrancy of hooking * 9295a52 afb-proto-ws: Add error report Change-Id: I91a493f1a2288a27f311171dc8b9ebe29c8a24a2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-12-10af-main: UpgradeJose Bollo1-1/+1
This upgrade includes 3 commits: * 1b1399e Improve port allocation * 61b0cc7 Landing page for all APIs * 7ecf0c1 Fix: retrieve the 'appid' correctly Change-Id: Ib59b46faf1ed69431e46b7ed5ef3b85cb38f2876 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-11-22app-framework: Update versionsJosé Bollo2-2/+2
af-binder changes: * 153a7c9 AFB.js: Tiny improvement and space fix * eca8f3d afb-socket: Fix address reuse * 42099d3 afb-export: Fix error in event handling * 83c9e99 main-afb-daemon: Export variables to connect to binder af-main changes: * bceaf2c afm-system-daemon: Improve error message report * 44c70fd Treat correctly running/not running status * 94176d9 afm-unit: Export new variables Change-Id: Ifdb631d8155032f72b4497400fdbd935547c7782 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-22Change default aglwgt build procedureRomain Forlot1-7/+22
Warn about obsolete way of of build an agl app but keep them as fallback methods. Bug-AGL: SPEC-495 Change-Id: I225c811382e218ea90ce66287f4987a33f9ab5c5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-09nss-localuser: Add the NSS plugin for localuserJosé Bollo2-0/+38
`nss-localuser` is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (`glibc`) providing host name resolution for *"localuser"* family of virtual hostnames. The delivered NSS service defines one virtual host of name `localuser` that resolves to an IP address of the localhost loopback that integrates user ID. Bug-AGL: SPEC-1833 Change-Id: I8ce87297a220e8c691cdbea00262d873b68ffd75 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-06af-binder: Bump versionJosé Bollo1-1/+1
Includes * 875007d afb-socket: Relax requirement of tcp ending slash * 8754e33 afb-socket: Handle listening on all interfaces * f3048dc samples: Fix compiling error * 68fb4de afb-hsrv: Adapt to next version of libmicrohttpd * dfe85ca Added an option to color out the ouput * 61a0151 afb-session: Add language to session * c1c4973 monitoring: Fix naming of apis * 6b0b904 Make profile.d file consistent between rpm and debian * 5ee4995 afb-apiset: Reorder priority of messages * db0e684 AFB.html: Allow to call any verb of any API * 6c9e231 afb-hsrv: Lower the "no handler" message * deaf209 APIv3: Allow to write application binding * 86e4c17 afb-api-so-v3: Keep root API in all cases * fd57dbf genskel: Fix issues for C++ bindings v3 * 40fa7ea packaging/deb: install all headers * 9ce66be Fix native deb pkg install dependency * 195a03d afb-export: Emit a warning on bad 'afb_require_api' call * efd6d20 afb-socket: API name cares of abstract UDS * c19ce12 afb-session: Fix an issue in managing sessions * 80c96d7 CMakeLists: Use AGLVERSION if set Change-Id: Ie6a5efa651f5e9b9fab207f216514552993edfa5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-02af-main: Bump versionJosé Bollo1-1/+1
This includes the following changes: * b2329b7 CMakeLists: Use AGLVERSION if set * 2a0ac96 wgtpkg-install: Force uninstall * 91baca1 doc: Changed doc to new format * f031387 afm-unit.conf: force symbolic link on update * 43bc2e5 docs: Improve documentating 'required-binding' * 9e1d25b Merge "docs: Improve documentating 'required-binding'" * 0e0ae55 afm-unit.conf: Restrict service for APIs * 24f0c20 Add the ability to access binding through tcp * 375f481 afm-unit.conf: Enforce starting after network * 19e745e Merge "afm-unit.conf: Restrict service for APIs" * 73f3570 Merge "afm-unit.conf: Enforce starting after network" * d40fc40 afm-urun: Force scan of systemd units * dc0836f Install afm-user-daemon with correct rights * 5f7901d afm-util: Fix report of error It fixes: Bug-AGL: SPEC-1863 Bug-AGL: SPEC-1846 Bug-AGL: SPEC-1836 Bug-AGL: SPEC-1650 Bug-AGL: SPEC-1800 Bug-AGL: SPEC-1230 Change-Id: Ifd1775448db4ebffa4bb656b5bcefaf891c4efa5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-31meta-app-framework/base-files: fix /usr/local symlink target pathStephane Desneux1-1/+1
/usr/local should point to ../var/local (and not ../../var/local) Thanks to Vasyl Vavrychuk <vvavrychuk@gmail.com> Bug-AGL: SPEC-1844 Change-Id: I700065290deff979db2e74cb68eae78ef55cda9c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-29Add CMake Apps module recipeRomain Forlot1-0/+3
Adds the cmake-apps-module in the SDK and the normal Yocto builds. Bug-AGL: SPEC-1682 Change-Id: Ib8b83dd9664a1566318eb0a140e043c5d82510ce Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-28Move security manager database under /var/localAnton Gerasimov2-5/+5
It is critical for agl-sota feature Bug-AGL: SPEC-1717 Change-Id: Ia4060721e3a092d13934d3af575199e67e356e71 Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
2018-09-14af-main & af-binder: Set version from AGLVERSIONJose Bollo7-0/+8
Change-Id: Ie1ff83f007d9d8d819829540d51e576f088c97eb Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-09-09af-binder & af-main: Update to version 5.99.FFRC6José Bollo2-2/+2
This includes the following binder changes (from newer to older): * 29f544b afb-apiset: fixed the error message upon api open. * 8647a34 afb-session: Use ad-hoc pseudo-random uuid * d3edd5f VERSION 5.99.FFRC6 * 72385ab main-afb-daemon: Export API after initialization * 408acbd app-framework-binder doc: Changed doc to fit new format. * a02a162 Allow choice to trap or not program faults * 5dd7df3 main-afb-daemon: Set AFB_ROOTDIR and AFB_WORKDIR in environment * 8706522 afb-hook-flags: Fix a compilation warning Bug-AGL: SPEC-1655 Bug-AGL: SPEC-1724 Bug-AGL: SPEC-1694 Change-Id: I3d7b191322e6fbea94ea7345979f3b80da988d8c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-08-24Add the afb-test binding in the devel AGL imageRomain Forlot1-0/+10
This will build afb-test binding and tests it using PTest. Bug-AGL: SPEC-1439 Change-Id: I75d1bbb0a780ca036ab0d653fdcbacda883122f9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-24af-binder & af-main: Bump to version FF-rc4José Bollo2-2/+2
It include for the binder 3 important fixes: SPEC-1668, SPEC-1669 and SPEC-1681. Changes of app-framework-binder: * jobs: Abort when systemd's event loop lost * afb-stub-ws: Add reconnection of ws-clients on need * afb-stub-ws: Safe handling of deconnections * afb-stub-ws: Process error on call to remote * Send error replies on disconnection * afb-wsj1: Split 'wsj1_on_text' in 2 * afb-stub-ws: Clean up * afb-api-ws: Use afb-socket features * afb-socket: Improvement * afb-stub-ws: Improve naming * hello3: Add mutebug * Set version to 5.99.FFRC4 * Provide functions afb_service_call[_sync]_legacy Changes of app-framework-main: * Set version to 5.99.FFRC4 Bug-AGL: SPEC-1668 Bug-AGL: SPEC-1669 Bug-AGL: SPEC-1681 Change-Id: I99b129a1722f1d3182205bc07de449b6ed034002 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-08-20af-binder & af-main: Add external binding featureJose Bollo2-2/+2
This feature is needed for testing. Change-Id: I5c9cd33c57bfd6c939bb56d4ddb0c153ffc69dc7 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-08-03af-binder: UpgradeJosé Bollo1-1/+1
This upgrade include bug fixes and the ability to set variables for bindings. The included changes, from newest to oldest, are: * 3aa0f4d Fix warnings and false errors * de0527f afb-export: Manage path of libraries * 5ef271e Add ability to provide binding settings * e39610f Improve parsing of json string * 10aa15a afb-socket: Separate socket creation * df67c02 tic-tac-toe: improve event handling * b4455a7 afb-msg-json: remove obsolete function * f70e19a afs-supervisor: Improve comments * 4772c56 coverage: Improve coverage test * 4bbad5b afb-export: Set API context as validated * 61b54dd main-afb-client-demo: Exit with a significant code * 635772b Tune dependency to fdev-epoll * 9cbff28 afb-api-v3: Simplify the code * 8d4e6df fdev: Simplify the code * 1bc9713 coverage: Add inet's API test case * 9c2e6e4 Fix some more memory leaks * f96bbb4 afb-config: Rewrite the config as JSON object * fe9601c Fix tiny documentation bug * 8d95d38 main-afb-daemon: Reorder instantiation of API * 77ca8b4 json-c: Remove escaping of slashs * e17ae41 coverage and test: Add tests * 4c0f6ce afb-api: Define the function afb_api_is_public * f44a28a Tiny documentation fixes * a4fd4bd afb-export: Fix event handler of API Change-Id: I8f29701be8f9add9506fc6038bac968bfb63d2b8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-08-01Remove porter reference from meta-aglRonan Le Martret1-4/+0
* Remove, from recipes, reference to porter, gen2, krogoth. * cleanup mardown from reference to porter. * cleanup markdown (markdownlint score 0). Change-Id: I70b9880fc52ef3c848da588d3a256fa8eee48606 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-25af-main: set relax handling for apps signatures even when agl-devel is not setStephane Desneux1-1/+21
Allow widgets to be unsigned even in non-development mode. This is a temporary workaround to let some time to setup the apps signing workflow. This workaround can be disabled for smoother transition to the world where all apps must be signed. For this, define AGL_FORBID_UNSIGNED_APPS="1" in local.conf. **IMPORTANT: THIS PATCH MUST BE REVERTED IN THE FUTURE AND ALL APPS MUST BE SIGNED** This patch alters the correct behaviour that was introduced here: https://gerrit.automotivelinux.org/gerrit/#/c/15527/1/meta-app-framework/recipes-core/af-main/af-main_1.0.bb Bug-AGL: SPEC-1614 Change-Id: I6bf50b70905a00445598f42ef5f6d9326c6d4cfe Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-07-20af-main: Bug fixesJosé Bollo2-2/+2
- Fix issue in handling signature of widgets. - Fix access to system API afm-main. This change include the commits: * 8c7132a Creates systemd service for APIs * d8d819b wgtpkg-digsig: Add flag to accept/refuse a WGT without signature * f97f8d2 wgtpkg-digsig: Fix digital signature check Bug-AGL: SPEC-1592 Bug-AGL: SPEC-1590 Change-Id: I0ecc19466180799e23b7863eb85755d9e4c2894f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-07-20af-binder: Bug fixesJosé Bollo1-1/+1
This upgrade include this following commits * 59d2f19 afb-config: Simplify version print * 1634f34 afb-trace: Fix bug on uuid of session's events * e9eac35 afb-trace: Fix bug in session handling * b798adf Fix errors in migration to V3 Bug-AGL: SPEC-1595 Change-Id: I6c195b2a7c48d12bfc175f8d6206727637ff16ec Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-07-11af-binder: Remove call to niceJosé Bollo1-1/+1
Bug-AGL: SPEC-1578 Bug-AGL: SPEC-1544 Change-Id: Ib9c73f05c6b5d945e27529c857a73eae33c12f40 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-07-10Application Framework: Fix bugsJosé Bollo2-2/+2
Bump to latest bug fixes: * Fix crash when no icon is set in the config.xml * Fix tiny memory leaks in the binder af-main: * 259d262 wgtpkg-install: Fix SEGV when no icon in config file af-binder: * c98c0d9 coverage: Improve testing * 42b655f hello2: Add a binding v2 example * 298f697 hello3: Fix a bug * 10ac210 afb-api-v3: Fix a bug introduced by 8ca7b69 * 7491c74 afb-cred: Fix memory leak * 44b2477 coverage: Add valgrind diagnostics Bug-AGL: SPEC-1573 Change-Id: I8843b406502b66ff78c4dabb3fca72d41323bb45 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-07-06meta-app-framework/af-binder: bump to latest master revision for (version ↵Stephane Desneux1-1/+1
5.99.FFRC2) This patch bumps app-framework-binder to latest revision. This includes the following changes on the binder: * 171e010 Update version to 5.99.FFRC2 * 95ad001 Simplify build by introducing queuing function * 12ec841 Remove uses of deprecated macros * 75526aa supervision: Exclude conditionaly the supervision * 0d05349 Simplify build process * 65bbbd7 locale-root: fixed uninitialized variable * 425458b afb-trace: Fix bug in tracing of afb_req_get_client_info * 26286eb afb-client-demo: Fix bug that forbids interactive behaviour * eb0abe2 afb-req: Fix a bug in afb_req_verbose * c8dcf6b saha -> salam: To continue using hello * ddbabdd doc: Tiny improvement * 4f7f5ae Improve readdirs to follow symbolic links * f645c76 coverage: Add the missing files * 57e0934 coverage: Add coverage test * 1f9e60c main-afb-client-demo: Allow scripting * b474ee6 afb-autoset: Automatic prefix with unix: * 8ca7b69 afb-api-v3: Refactor verb description * b28c89d afb-api-so: accept symbolic links for bindings * 176d14b hello3: Add verbs * cd6d449 api-v3: Add monitoring of faults in preinit functions * 211343c afb-client-demo: Add option to keep running Change-Id: If74f48e2820615cc8618145eac4042a432d39ec1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-22af-binder: Upgrade to binding v3José Bollo2-2/+2
And also upgrade af-main to use new feature. This new version brings the the following features: * Dynamic api * Event handler * Automatic bounding to unknown api * Improvement of subcalls * Improvement of supervision Bindings v2 are still supported but are deprecated and will be removed in some future. CAUTION: Bindings v1 and vdyn are removed. Bug-AGL: SPEC-1511 Bug-AGL: SPEC-1020 Bug-AGL: SPEC-1485 Bug-AGL: SPEC-1400 Bug-AGL: SPEC-1126 Change-Id: I0ecc513601cfc7f571f2a3ff90095496b32491d3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller12-141/+3
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-06af-main: Refactor of user session managementJosé Bollo2-3/+5
This changes how user session are started and handled within systemd. This evolution add a tiny program to start and handle user sessions: afm-user-session. This is the first step of a serie because, actually, due to platform restrictions, the common users if started this way will not be able to run correctly (issues with wayland/weston and with handling of CGROUP2 with Smack LSM) Also fixes memory leaks and improves build process. Bug-AGL: SPEC-545 Bug-AGL: SPEC-1016 Change-Id: Icaf7c575633fc663a3df0ffee683b22cc087bb16 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-04-05Merge "dbus-cynara: Avoid dependency loop"Jan-Simon Moeller2-39/+1
2018-04-05Merge "Fix License collect for this recipe"Jan-Simon Moeller1-0/+1
2018-04-04dbus-cynara: Avoid dependency loopJosé Bollo2-39/+1
The dependency loop appeared when compiling with DISTRO_FEATURE ptest. To avoid it, I restore the logic implemented before in meta-intel-iot-security. I also remove unless files. Bug-AGL: SPEC-1334 Change-Id: Ibe8b9359a65fec034df2534c5fceb4769e63aa99 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-04-04Adapt repository priorities in preparation of the profilesJan-Simon Möller1-1/+1
The profiles need a clear priorization of the layers. Especially the core layers need a high prio in this context. Apply a prio of 70 to core/essential layers and of 60 to BSP, netboot and smack. Change-Id: I24a59daadab4c98ffbcb799cc784e84e87ac7d23 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-03Fix License collect for this recipeRonan Le Martret1-0/+1
* without LIC_FILES_CHKSUM, it seems the license of the recipes is not in the licenses collected. Bug-AGL: SPEC-781 Change-Id: Icd5520d87c90a3eb8df5d0b89b769a6cf7055d04 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-03-27Rename CAN low level serviceRomain Forlot1-0/+0
Bug-AGL: SPEC-1276 Change-Id: If5363c8e17d4a77d3547e53db727b5d268a17738 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-03-16af-binder: Bug fixJosé Bollo1-1/+1
This fix bug in connection of websockets. It appears that the bug is herre since months but was not detected before 14th March 2018. Also, include a fix for future version of libmicrohttpd (newer than 0.9.59). Bug-AGL: SPEC-1345 Change-Id: I6f13c437255fc2079361a61dd274163e39822522 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-27af-binder: UpgradeJosé Bollo2-3/+18
Improvements: - addition of supervisor (in devel mode) - handling of mimetype - integration of systemd watchdog - refactor of code handling sessions - hooking of sessions - started: isolation of systemd event loop - started: test of the code Fixes: - exclude directories starting with dot (.) from search to avoid issues with debugging libraries - memory leaks - session leaks - segmentation fault on disconnections - robustness against time adjust Bug-AGL: SPEC-1293 Bug-AGL: SPEC-1296 Bug-AGL: SPEC-1303 Change-Id: Idb7908b8a4148a052c72aa662e1d453356d8e40d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-16Merge "linux-yocto: remove redundant patches from recipe"Jan-Simon Moeller5-207/+0
2018-02-16Move xmlsec1 folder in meta-app-frameworkJan-Simon Möller2-4/+4
The upstream location of xmlsec1 changed from recipes-support/xmlsec1 to recipes-security/xmlsec1 Also we need to add 2 more dependencies added. Bug-AGL: SPEC-1297 Change-Id: Iba96bbb8a63ea9c9b8240f1a72e6e3423178e05c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>