summaryrefslogtreecommitdiffstats
path: root/meta-app-framework
AgeCommit message (Collapse)AuthorFilesLines
2020-02-19Adapt aglwgt receipe to build multiple widgetFrederic Marec1-34/+75
Change package task and deploy task to allow creation of test, debug and coverage widget. Add debug and coverage directory to store new widgets Bug-AGL: SPEC-2049 Change-Id: Ic3c1250d43de023e2e08398a098746ecd71592c5 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2020-02-14af-main: Fix setting of /run/userJosé Bollo1-1/+1
Includes: * ab26673 system setup: Fix settings on /run/user Bug-AGL: SPEC-3175 Change-Id: I41f7d3665ec161b7ae6bdbc19ad4ac3616b375c1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-01-28af-main: Improve Smack setupJosé Bollo1-1/+1
Improve setup for solving access issues While developping the binding afb-test, the export of the binding afm-test, using "provided-binding" feature revealed to be broken because of security setup. Bug-AGL: SPEC-2795 Change-Id: I0af4a46aaa191cad167a332ebb2d14ebbfe04c6a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-01-28af-main: Use xdg-shell-v6 for agl-compositorMarius Vlad1-1/+3
As we're using xdg-shell-v6 instead of ivi-shell for agl-compositor and applications, make the transition much easier (that is, having a fully bootable workable image) by making it default when the DISTRO_FEATURES specify it. Bug-AGL: SPEC-3128 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1bf1546d3cfab14b1b4b76199ba60207c984d69f
2020-01-10af-binder: UpgradeJose Bollo1-1/+1
This upgrade of the binder includes improvement in event handling (SPEC-3069) and minor fixes. Unscription should now be immediately effective as expected, no matter how many subscribe was done. Included commits: * 8828c6be main-afb-client-demo: Fix typo * f3d1f19a afb-apiset: Fix start of apis * 18d28239 AFB.js: pass event name * ca0f859d afb-proto-ws: Improve comment and names * f40979c7 afb-proto-ws: Add message for unexpected event * c6fcbec3 afb-evt: Improve name of listening functions * 36ed9d2e afb-evt: Ensure unsubscribe works * 164f1414 afb-ws-client: Improve direct URI * 65353dce Update copyright dates Bug-AGL: SPEC-3066 Bug-AGL: SPEC-3069 Bug-AGL: SPEC-3087 Bug-AGL: SPEC-3094 Change-Id: I499643564a1026f54b7cfd68f73352561e1d8649 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-20af-main: Fix allocation of idsJose Bollo1-1/+1
The allocation of ids and ports was broken because ids was not well scanned since commit 6008a3e Bug-AGL: SPEC-3068 Change-Id: Ia92a9c05e99ba1b62856d1610d2a91c9693c35e2 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-20af-binder: Fix a critical bugJose Bollo1-1/+1
This fix a critical bug of the binder that lead to memory crash and instabilities. Bug-AGL: SPEC-3066 Change-Id: Ied3756fb7cf0dea423cda1c8367510fc175ab447 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-19af-main: OAuth client credentials and localuser namesJosé Bollo3-36/+2
This includes: - the basic OAuth client credential server - the token logic for WAM apps - the use of localuser names WAM apps Bug-AGL: SPEC-2968 Bug-AGL: SPEC-3032 Bug-AGL: SPEC-3033 Bug-AGL: SPEC-3014 Change-Id: I37588d4a4f9b74bb0ab0da70c7fbae1f8979f25e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-12-19af-binder: Fix issue when no port definedJosé Bollo1-1/+1
Since introduction of interfaces, it is no more needed to define a port. But the binder was still complaining that no port were defined. Bug-AGL: SPEC-2968 Bug-AGL: SPEC-3014 Change-Id: Ia3d748615641db5f467c3313ff7b02c16608d0ac Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-12-16af-main: Ensure home and workdir to platform's appJose Bollo1-1/+1
The widget requesting the permission to run at platform scope: urn:AGL:permission::partner:scope-platform should be able to record data and state. This change provides a default place to achieve it. Bug-AGL: SPEC-2998 Change-Id: I1278375591716d18ce1346acc0f63fb073e4556a Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-06af-main & af-binder: Partial shift to token logicJose Bollo2-2/+2
This commit includes changes related to integration of token security logic and use of nss-localuser. Changes from af-main are: * 581f99c wgtpkg-install: Add default permissions * 50ab763 Remove tokens * 6008a3e Enforce numeric application IDs * 653562e Introduce localuser interface for applications Changes from af-binder are: * 5026e71 docs(func-service.md): typo * 2243df1 afb-api-dbus: Fix broken broadcast in dbus apis * ff5446e afb-proto-ws: Fix crash on event to disconnected * 1b240e6 afb-hreq: Handle HTTP header Authorization * 29ae81f Introduce object for tokens * 6f59158 coverage: Fix regression * 9a623c3 monitoring: Fix display on connection error * e6908a2 afb-hreq: Handle access_token query parameter * 0d3dc97 Remove refreshing token * 7c67e96 Remove returning token * e08d57c Don't return the uuid * b4da3b7 Move tokens from sessions to requests * e80c1a7 Use afb_token in contexts * d735ff8 afb-session: Expose a local id for sessions * 5ac7bb0 afb-session: remove initial token * 0fd887b u16id: Add maps for identifiers id of 16 bits * eaf5670 afb-evt: Use 16 bits for ids * b55f3cd afb-stub-ws: Enforce asynchronous describe * 7386e1c afb-proto-ws: Change the protocol WSAPI * 74a7ebb afb-error-text: Introduce standard error text * af003cd afb-auth: Increase and improve use of afb-auth * 98b214e afb-hswitch: Update websocket policy * b70caad afb-context: Move credentials to context * d8aff62 afb-context & afb-token: rework token validation * 36094f9 afb-supervision: Improve messages * 354dfe5 afb-perm: separate access to permission db * 93483c5 AFB.js: Enforce single code * c79b6ba Relax constraint on aliases * 7a28ebb afb-socket: Add ability to set a default scheme * 82a9d79 main-afb-daemon: manage listening interfaces Bug-AGL: SPEC-2968 Change-Id: If4751144595c38a69608a962c92b54ae1a976ac8 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-03nss-localuser: Add application to localuser familyJosé Bollo1-1/+1
This allows to use separate hostnames for separate applications and separate users. Bug-AGL: SPEC-2968 Change-Id: Iac139e3cda57c67796bbdacceceb39fe57c46591 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-12-03security-manager: Improve integrationJosé Bollo8-369/+3
This fixes some issues encountered by the current integration of the security-manager: - its recipes is spread in too much directories (see SPEC-2092) - its initialization should be checked (see SPEC-2091) - the location of the database has to be changed (see SPEC-1717 that provided a workaround) All in one, I decided to create that ticket that summarize the work that can be quickly achieved to answer all this issues that are tightly coupled. Bug-AGL: SPEC-2972 Bug-AGL: SPEC-2092 Bug-AGL: SPEC-2091 Bug-AGL: SPEC-1717 Change-Id: I7af941c25cfa1624d76c2e8f512f6535918912f0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-11-14af-binder: Fix callsync hangingJosé Bollo1-1/+1
This bump includes the following changes: * 6f42df1e Improve detection of the bindings * b612db21 sig-monitor: Fix exit in signal handler * 355db4b7 jobs: Fix callsync hanging Bug-AGL: SPEC-2937, SPEC-2907, SPEC-2841 Change-Id: If45bd10e66d3db32790acc4f1c3f57948325c859 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-11-07Cynagora: Replace cynara with cynagoraJosé Bollo2-2/+2
Shift from the permission database cynara to cynagora permission database with a compatibility library. The cache size required by dbus-cynara is updated because that size is now a count of bytes, not a count of entries. Bug-AGL: SPEC-2844 Change-Id: I9a81de6e3b8bcb94adc0bb05c63183c2eda3f310 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-10-11af-main: Starting of HTML, API discovery, fixJosé Bollo1-1/+1
This upgrade includes the 2 fixes and one evolution below: * conf/system: fix shebang not absolute * Add WAIT_FOR_HOST_SERVICE envvar to unit files for webapps * Add discovery of API Bug-AGL: SPEC-2793 Bug-AGL: SPEC-2863 Bug-AGL: SPEC-2871 Change-Id: I0b9fb30b580be04d2f22c0daf3b21f4c4c0a2087 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-09-16af-binder: Fix event sending regressionJosé Bollo1-1/+1
This fix a regression described by the jira ticket below: events wasn't sent as expected. Bug-AGL: SPEC-2809 Include the following changes: * 8744669 Fix binding example path & update afb-daemon options * 45a4e69 Make source files relative * 7129df4 jobs: Wake up an event loop if needed * 84d1859 Revert "Make source files relative" Change-Id: If93c26bba71350b4499d54feaebdebb71ad816f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-09-05af-platform-setup: fix installation modeJosé Bollo1-1/+1
The file systemd-udevd.service.d/udev-shared.conf was installed with default rigths meaning rwxr-xr-x. Systemd complains about it: Configuration file /lib/systemd/system/systemd-udevd.service.d/udev-shared.conf is marked executable. Please remove executable permission bits. Proceeding anyway. This commit fix that issue. Bug-AGL: SPEC-2798 Change-Id: I90a2b0f538416b5e8e6f8e1aaf552530150c8103 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-08-20af-binder: fixesJosé Bollo1-1/+1
This integrates the following fixes * 3343b4d Fix outdated documents * 6f13ad1 Avoid lock when child dies * ac2ab69 Replace obsolete argument "sessiondir" with "workdir" * 0ea0734 jobs: Add starting mode for jobs * 6599a89 Fix client disconnection close Bug-AGL: SPEC-2714 Bug-AGL: SPEC-2720 Bug-AGL: SPEC-2759 Change-Id: I962f310cf69e72d01c78c0620115cd2d66586e2c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-08-20afs-supervisor: Start the service on needJosé Bollo1-1/+1
afs-supervisor.service failed to start the supervisor due to a non available activation socket. This change start the api socket and will activate the service on need. Bug-AGL: SPEC-2753 Change-Id: I2fd3c2d2d29bce8d70becaba0792918d6f6c0769 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-08-16dbus-cynara: Simplifies build recipeJosé Bollo1-1/+1
Simplifies the way of building dbus-cynara by removing the specific recipes in favour of a recipe for dbus that handles the class-target build feature. It requires to remove fake dependencies of cynara. This is a suggestion of Tom Rini. Bug-AGL: SPEC-1839 Change-Id: Id7a736eb4b73cdb679fa9dde30e9ad8e56c2894e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-08-01af-binder: Fix error in synchronous callsJosé Bollo1-1/+1
There fixes a bug with an inversion between info and error in implementation of synchronous calls, leading to bad detection of errors. Includes: * 6bb714c afb-xreq: Remove field 'listener' * d325856 afb-binding.h: Ensure json-c/json.h is sourced * 056c53d AFB.js: Improve default token discovery * daecef1 supervisor: Setup services for local API use * 687d90d Fix detection of error in call synchronous Bug-AGL: SPEC-2697 Change-Id: I20cf2d5219e7cc962862b604e642610b0f8a75b1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-07-23af-binder: Fix circular broadcast of eventsJosé Bollo1-1/+1
Include changes: * 6fe59e2 uuid: Add module for UUID generation * 5b59688 afb-evt: Refactor processing of broadcasted events * 6dfeafe Tag broadcasted events with UUID and hop * 51ab7c2 Fix bad memory access at client disconnection Bug-AGL: SPEC-2625 Change-Id: Ifa81293a783d5119d7a3d4c33598e1eb865e703c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-07-13af-binder: Fix of subscribe issueJosé Bollo1-1/+1
Enforce serialization of messages, makes event really asynchronous, and enforce (un)subscribe in living request. Include the following changes: * 909893e afb-evt: Improve compatibility to guppy * 248ec5d afb-evt: send events in separate job * c8cc0d6 Revert "afb-stub-ws: Allow unordered process of messages" * bc38af3 afb-xreq: Forbids (un)subscribes after reply * 0342cd1 afb-client-demo: Allow pipe of messages Bug-AGL: SPEC-2215 Bug-AGL: SPEC-2219 Bug-AGL: SPEC-2542 Bug-AGL: SPEC-2599 Change-Id: I357aeb852e2041ac6056dd563dac42f29dadb52d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-07-09af-binder: Fix supervision socket nameJosé Bollo1-1/+1
A typo in the recipe of af-binder avoided to correctly define the supervision socket. Bug-AGL: SPEC-2621 Change-Id: I47dcd94e5454d85d9b5994d4f82a0f8abb400000 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Version bump for running as agl-driverJosé Bollo1-1/+1
Integrates the following changes: * 3284913 Introduce dbus config of services * 77bd420 Introduce platform services * 533d5a1 Fix synchronisation of user setup Bug-AGL: SPEC-1015 Bug-AGL: SPEC-1016 Change-Id: I3fd000a9fbdd73317b565d69ba2d8fbd49dc4e7f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-platform-setup: Add recipe for setting platformJosé Bollo3-0/+21
The Application Framework has implications on platform setup. This commit introduces a recipe that at the end would group all these required setup at on place. Bug-AGL: SPEC-1015 Change-Id: I45904ba269883329295bcbc3c70427edbfdd674f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19Enforce separation of users using UMASKJosé Bollo2-2/+10
Users should not be able to read other user content. Use Umask to enforce that. Bug-AGL: SPEC-1016 Change-Id: Ibb61b7a6a7617117a499650c5bd70bdd5af3c328 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Remove afm-user-daemon and bump versionJosé Bollo2-7/+1
The process afm-user-daemon is no more used within AGL. So it is better to remove its installation. Integrates the following changes: * d0d4dcd Allow setting of libexec location * 2db5d23 Fix outdated application path. * cc93752 Refactor of system and user setup * 316b19f Remove unused definitions * 401188a Use definition of afm_prefix * efabde7 afm-unit conf: Remove useless tests * 405ba31 afm-user-session: moves in libexec directory * 07a9590 afm-unit: Simplify the Makefile * 44b1bdc afm-unit.conf: cleanup of generation * 2f3486b gitignore: Add ignore of EXTERNALSRC's artifacts * 5b801a3 afm-unit.conf: Refactor its generation * ce5c20d afm-user-daemon: Remove it by default Bug-AGL: SPEC-2006 Bug-AGL: SPEC-2360 Bug-AGL: SPEC-2367 Bug-AGL: SPEC-2436 Bug-AGL: SPEC-2437 Change-Id: Ib77ecc2e9aabb8a3c5cef7266c3f5b19205939b9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Add dependency to m4 and sedJosé Bollo1-1/+1
The file /etc/afm-unit.conf was genrated from temporary files manually generated. This was inefficient and error prone. This was reworked to enable a straight forward process that directly calls m4 and sed in the CMAKE files. Current commit adapt the recipe to that new process by adding the new build dependencies. Bug-AGL: SPEC-2436 Change-Id: I662f7620beccc53b6abe58c14c82ac94ae818491 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Drop capabilities of applicationsJosé Bollo2-1/+2
This removes all capabilities of applications installed and launched by the framework. Bug-AGL: SPEC-2006 Includes the following changes: * 20bf077 afm-unit.conf: Add widget specific environment * a44e304 afm-util: Remove legacy commands stop/resume * f7a3a6e API Overview: Changes to the file that introduces APIs. * 26dd0f8 API Reference Overview: Removed old "kristi" file, updated book * b4ca569 afm-unit: Restore removal of capabilities Change-Id: I8c42d0b312aead668da03a987d0366b4ced73c70 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Improve readabilityJosé Bollo1-2/+2
While tuning the recipe, it appears that having long options helps to understand the recipe. Bug-AGL: SPEC-2437 Bug-AGL: SPEC-2006 Change-Id: Ie3d1b288db0d2db3159f1b3453a02db46e863c4f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-13af-binder: Add recent improvements and fixesBechir Mghirbi1-1/+1
Bump af-binder revision to include the following: * 5026438 Build af-binder-devtools-native using GCC-9.1.1 * d6f6df8 afb-daemon: Add /tmp has fallback for uploads * f9c7430 jobs: Fix infinite wait lock * 02fe255 Fix afb document typo. * 4da9c71 afb-export: Fix requirement on multiple apis * 5d57096 coverage: Add test of AFB_DEBUG_WAIT * 216666e coverage: Allow to run coverage everywhere * d00bfe9 Allow to tune installation directories * 5214323 doc: Improve comment on asynchronous calls * 6401efb binding-wrap: Rework of context handling * 13457f6 samples: wrong parameter for get_new_board() * 78fcce2 Merge changes Id24d9bb0,I6807ed25 * 92c9d33 change style initialization of struct afb_auth * b369498 missing full initialization for struct afb_verb_v3 * a1e6d2c Merge "afb-migration-to-binding-v3: fix broken links" * a4cf888 afb-migration-to-binding-v3: fix broken links * 036629f Fix small issues * 8f12ffa coverage: Update Makefile * 6b2b09d Reordering of sample and tutorial bindings * 9cf1fce Fix rpm packaging following review 20926 * c80873f Change agl-app-framework-binder.sh BUG-AGL: SPEC-2482 Change-Id: Ied029a20edffd1ac2b347c94819f230a38d3d0b4 Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
2019-04-30af-binder: New packagingJosé Bollo1-28/+53
Improve how the binder is packaged. Bug-AGL: SPEC-2165 The issue was that the debug symbols were not at the expected place. It came from the way bitbake packages debug meterials: the first package with -dbg extension receive all the debug items. Change-Id: I2f5470ded58bc782c9a9804373a5eb76b331f5ae Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-04-09af-binder: Add recent improvements and fixesJosé Bollo1-1/+1
Includes the following changes: * 51b8ff0 Prevent false positive during check source * 6b70202 coverage: Allow removal of valgrind * bf7fe72 jobs: Clean unneeded code * 418ba12 watchdog: Isolate the watchdog from jobs * d7e4fab Rename afb-systemd to systemd * c330ecf system & jobs: Reverse link and acquiring events * d9de3cd evmgr: Isolate the event loop from jobs * 5715fd5 afb-args: Use secure_getenv * 5011060 sig-monitor: Add compiling switches * a2cf84e hooks: Allow to remove hooking (and/or trace) * 84f4aec Rename afb-config to afb-args * 8214e88 evmgr: Fix a "maybe uninitialized" issue * 50deefa Workaround an exit issue * 901a38c jobs: Refactor exiting jobs * 2ba7c20 Improve setting of options * ec0564b Add conditionnal support of bindings version 2 * 16f014e Add conditionnal support of dynamic bindings * 60cd117 Fix false ***buffer overflow*** detection * ce53d8e afb-export: Fix heap corruption Bug-AGL: SPEC-2292 Change-Id: If4540a3dc58df208ecb3ee7de363d29317bfb903 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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>