summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core
AgeCommit message (Collapse)AuthorFilesLines
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-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-13dbus-cynara: Upgrade to 1.10.20José Bollo1-1/+0
The main patches from dbus to make it cynara aware are cherry-picked on top of the dbus 1.10.20 that is the upstream version for rocko. Change-Id: Ib7b07f335543cb56c4c96ef8f55305e61bc69b5c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13Remove smack recipeJosé Bollo3-6/+6
smack user space library is provided by meta-security Change-Id: Ifb5e88e5f5a1aab3e695ab91a56d8c55c33fd004 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13Rename smack OVERRIDE to with-lsm-smackJosé Bollo3-9/+9
Using the OVERRIDE "smack" came with the use of the layer meta-intel-iot-security. When switching to meta-security, it conflicts with the package name 'smack' that provide the smack user library. Yocto was reporting the following error: ERROR: .../meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: Recipe .../meta-security/recipes-security/smack/smack_1.3.0.bb has PN of "smack" which is in OVERRIDES, this can result in unexpected behaviour. [pn-overrides] Change-Id: Id71b283bf1ce5682bd94bf96595eb32506acb1d5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13security-manager: Fix build error that causes gcc v7.0Changhyeok Bae2-0/+52
gcc v7 requires include <functional> for std::function. Bug-AGL: SPEC-1181 Change-Id: Id5deb6f5ea5c2c82ae4a26889f209e1d7619000e Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-01-10af-binder: Add C++ feature to genskelJosé Bollo1-1/+1
Two evolutions: - the development tool afb-genskel accept now the options --cpp or -x to produce an output for C++ bindings - improved termination on exception (SIGINT, ...) that coulded drive to infinite loop when error was reached (SIGSEGV). Bug-AGL: SPEC-1217 Change-Id: Iec22ffc7d9f99ccfdd20c2f9005968ab98d20a9b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-01-03Disable window decoration and ensure fullscreenRomain Forlot2-2/+3
Change-Id: I2c9aad08d58b0da1fb6f362b95472f4a653fd9a3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-13Removing qtwebkit to be replaced by qtwebengineRomain Forlot2-2/+1
Bug-AGL: SPEC-1159 Change-Id: Ieecc7cc51015dd0b7ce689e90f43fcd17b3eb62d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12289 Reviewed-by: José Bollo <jose.bollo@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-12-13af-main: Fix a meaningless linkJosé Bollo1-1/+0
The removed line remained from some previous abandonned work. Change-Id: Ic4a56ed5aeae43a516f78711eb1aa684cbbe97e1 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12429 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-07af-binder: Make weak ws-client by default (to be fixed)José Bollo1-1/+1
The case of unicens service that can be here or not creates problem to the binding 4a when the service is not here. This commits makes the requirement of ws-client socket optional. This unblocks the situation but need to be fixed later, for example, by introducing an explicit weak requirement. Bug-AGL: SPEC-1151 Change-Id: If935974eb5eeef1238e835ab4b0a46011bfb51b4 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12323 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-01af-binder: Fix hangup on long messagesJosé Bollo1-2/+1
Fixes: - Handle correctly the sending of very long messages. Improvements: - Better handling of sd_event loop - Allows settings of afb-daemon options by environment: AFB_TRACEREQ, AFB_TRACEDITF, AFB_TRACESVC, AFB_TRACEEVT, AFB_LDPATHS Bug-AGL: SPEC-1091 Change-Id: I1bf8d52bf3ab8f1c73a524c0030b388570d08da8 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12193 Reviewed-by: José Bollo <jobol@nonadev.net> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-30af-main: Handle users from the system scopeJosé Bollo4-91/+30
To simplify the management of users while keeping systemd as launcher, this evolution anchors the framework in the system level. This also introduce a new version of afm-system-daemon that is 100% a binding of the binder and that consequently offers natively a websocket API. Change-Id: I1bbb48d0c01d0f6fd3c8dfca90febbe8147cf204 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12139 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-30agl-users: Use UID for HOME directories and loginsJosé Bollo1-0/+1
While dealing with systemd as a launcher, it appeared a limitation. If the template argument of units is used to designate the user it can not be different that the UID as a number because systemd enforce XDG_RUNTIME_DIR to be /run/user/<UID>. Thus using UID is the way to go to use template mechanic of systemd and use systemd as launcher. This is of importance because we don't expect systemd user to have full capabilities. Instead the framework will continue to leverage systemd launching mechanism but at a system level, with full capabilities but wil only allow user applications to deal with systemd --user. This impose to use UID as template parameters. The problem is then to set the user directory to the correct value knowing only the UID and using only possibilities of units. The only way is to have user home directories of the form /SOMETHING/<UID> (where SOMETHING is merely "home"). This can be achieved either by setting a symbolic link (hard link tto directories are forbidden) or by simply using the scheme /home/UID in all cases. At the end, users within AGL will not receive nick names but will receive allocated UID. So, at the end, it is not a problem to use the regular naming scheme /home/UID, a scheme that will probably never be seen except by tools or experts. This patch implement this choice. Change-Id: I225958fa627894cb966f52a06ebd8a914058d429 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12137 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22Remove obsolete examplesJosé Bollo1-2/+0
At this time, many demo examples are available to demonstrate use of AGL framework. Keeping these obsoletes examples introduces confusion. Maintaining these examples is possible but not done from what I see. In conclusion, removing it is much cleaner. Change-Id: I29a68eabf48a72d4a681de9b641da72f647ffbac Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12017 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22afm-main: use AGL_BRANCH for naming packageJosé Bollo1-1/+1
Change-Id: I7ac64017cf21a0a29d6fa60ab12ab260589a1d50 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12089 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22af-binder-devtools: Align to use app-framework-binder repoJosé Bollo5-39/+41
The development tools of af-binder are better provided by af-binder itself in the repository app-framework-binder. This is better for support and evolution. Bug-AGL: SPEC-941 Change-Id: Ib283c36bc6194f793fd61c7844191e3187fe3bed Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12059 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-20Move genskel to af-binder-tools recipesJan-Simon Möller2-1/+20
This change fixes SPEC-941 and the HAL build by providing the needed afb-genskel for build by recipe and as part of the SDK. v2: move to af-binder folder and align naming to af-binder-devtools add nativesdk-af-binder-devtools to packagegroup nativesdk-packagegroup-sdk-host add af-binder-devtools-native to packagegroup packagegroup-agl-app-framework v3: move af-binder-devtools-native to aglwgt as DEPENDS as there is no -native package to add to the packagegroup-agl-app-framework Bug-AGL: SPEC-941 Change-Id: Iae3c8d958000623b1c84db896307032f5033477d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12033 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-11-17af-binder: Fix autolock in protocolJosé Bollo1-1/+1
A lock happened when a binding made a synchronous call in an event callback. Bug-AGL: SPEC-1091 Change-Id: I33793ff6755c339308a418fbd93b43227ca1cec2 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12041 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-14Remove unused and/or obsolete default binding from imageJosé Bollo1-2/+0
Remove the systematic bindings: * af-binder-binding-afb-dbus-binding because not used * af-binder-binding-authlogin because obsolete and not used Change-Id: I351128c44a4f375cff22ff0a1f631d0a5dfa58b1 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11903 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-14af-binder: Improve monitoring of eventsJosé Bollo1-1/+1
Fix an issue when monitoring events created by local bindings. Change-Id: If8c4513cacf2c33eccdcd4a9a58178d91095cc41 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11901 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-12af-binder: Bug fixes and improvementsJosé Bollo1-1/+1
- fix lock error - fix default token - improved management of sessions Change-Id: I9e7518f091da7ceeb1c66a90873a24f82de2dabf Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11873 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-07Revert "Fix FTBS on newer pyro versions due to duplicate userids"eel_4.99.2eel/4.99.24.99.2Jan-Simon Moeller1-3/+2
This reverts commit 14a6db75ed0fad7fd55ad3ee239a4b92abfb8754. Change-Id: I130bcb057ab8e59f7e5dd14256cb6623aee24798 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11729 Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-11-06Fix FTBS on newer pyro versions due to duplicate useridsJan-Simon Möller1-2/+3
This change removes the agl-users package from the packagegroup-agl-core-security.bbappend . The reason is that for SOTA we have to use predefined userids to stay consistent across builds. Newer pyro releases are more picky about duplicate userids from static files and those being created on-the-fly. For now we remove the dynamic variant by removing agl-users from the packagegroup. Change-Id: I54034361eec344b8130754fadf8c48207321797a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11715 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-11-05Allow SRCREV handling through poky-agl.confJan-Simon Möller2-2/+2
This change simplifies the SRCREV handling by using - AGL_APP_REVISION and AGL_DEFAULT_REVISION in recipes. Also the AGL_BRANCH can be used to switch to release branches. Bug-AGL: SPEC-864 Change-Id: I9384c85d4f7434416d87359f88c482887ac2ead8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11685 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-11-03af-binder: Bug fixesJosé Bollo1-1/+1
* fix a bug in handling of event loop that consummed 100% CPU and reached assertion failures * fix a file descriptor leak in handling API sockets on server side * ensure non interleaved log messages * fix lack of 'noconcurrency' flag in creation of dynamic apis Also allows javascript client to set their "callId" explicitely. Change-Id: I28b4f9c2543e3d184b55fc63e0a1c46752450be3 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11677 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-24af-binder: Extend maxlength of websocket messagesJosé Bollo1-1/+1
The default maxlength of 65000 bytes is too limited. This commit extends the maxlength to 1048500 bytes. Also includes minor improvements and fixes. Bug-AGL: SPEC-981 Change-Id: Ic891ae90bbdd5ec94310bfc3aea1fb30f6e80077 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11491 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14af-binder: upgrade to 4.99-EERC1José Bollo1-1/+1
This includes: - Correcting license reference to align with code - Internal refactorings - Dynamic bindings API and pure dynamic bindings (still to document) - new request functions: afb_req_get_application_id, afb_req_get_uid - C++ interface - libafbwsc featuring direct ws API - Bugs and typo fixes Change-Id: I75a387524f0745ed23311fe43a43000240bb6f09 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11299 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-15App-FW: Update namings and bug fixesJosé Bollo2-2/+2
af-main: ======== - set the version to 4.1 - make names of binder revelant for ps and journal: afbd-APPID - reduce the default verbosity to WARNING - when AGL_DEVEL - set default token to HELLO - include --monitoring - set the verbosity to NOTICE - fix subpath of libraries to 'lib' always - fix --no-httpd option af-binder: ========== - set the version to 4.1 - verbosity distinguishes WARNING and NOTICE - enforce use of AFB_ prefixed verbose macros - report verbose message in monitoring - check that API of --ws-server exists - atomically dump the stack on signals - fix starve bug (MAJOR) - fix @t bug on random token (CRITICAL: SPEC-854) - fix subcall bugs (MAJOR) - fix possible SIGSEGV in dlopen (MAJOR: SPEC-662) - fix memory leak when upgrading protocol Bug-AGL: SPEC-854 Bug-AGL: SPEC-662 Change-Id: Ifb7aee5e72c5f9d738c11b9b24e7e07b128e80fc Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10763 Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-15Fix post install script dependencyRonan Le Martret3-2/+6
* Since yocto pyro we need to declare PACKAGE_WRITE_DEPS, dependency for post install script http://www.yoctoproject.org/docs/2.3/mega-manual/mega-manual.html#var-PACKAGE_WRITE_DEPS * we alsa need to explicit exit 1 if post script failed Bug-AGL: SPEC-646 Bug-AGL: SPEC-825 Change-Id: Ic15f8af884895fecacceb9886de5bebe591a2be0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10883 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-08Upgrade to pyroChanghyeok Bae1-1/+1
u-boot: v2017.01 dlt-daemon: Remove gzipnative inheritance - gzipnative.bbclass is removed in pyro branch. - See ab0f46400c113c0d893be872727a67739d5e794d in poky. gpm: Remove bbappend file - upstream(meta-openembedded) is using git(v1.99.7) and this is not required anymore. gnutls: Remove bbappend file - The patch is already applied in upstream. agl-image-minimal: Remove ROOTFS_PKGMANAGE_BOOTSTRAP - ROOTFS_PKGMANAGE_BOOTSTRAP is removed in upstream. - Please see 529244ee212fe14019e35a5f163fab705ddbf141 in poky. freetype: Change hash value for v2.7.1 binary shadow: Remove shadow_%.bbappend - It's already applied upstream poky. Remove nativesdk-packagegroup-sdk-host.bbappend - It's already applied in upstream poky. faac: Remove bbappend file - It's already applied meta-openembedded upstream. pulseaudio: Change bbappend naming - Upstream yocto provides pulseaudio v10.0. weston: re-create patch to apply new version (v2.0.0) - Remove 0001-compositor-drm.c-Launch-without-input-devices.patch because it's already applied in new version. mesa: Remove 12.0.3 recipe and fix build error for qemux86-64 - Yocto upstream supports 17.0.2 and v12.0.3 is not required anymore in raspberrypi - Error: | configure: error: --enable-gallium-llvm selected but llvm-config is not found wayland-ivi-extension: Upgrade to latest master version - Due to weston upgrade, wayland-ivi-extension should be upgraded. packagegroup-ivi-common-core-multimedia: Remove alsa-lib - alsa-lib has empty package and it's not required anymore. Add agl-driver and agl-passenger in group and passwd - Parsing Error: agl-users: groupname agl-passenger does not have a static ID defined. poky-agl.conf: Change gstreamer default version to v1.10.x - Yocto upstream moves gstreamer to v1.10.4. af-main: Fix build error - Error: file /usr/local conflicts between attempted installs of af-main-1.0-r0.corei7_64 and base-files-3.0.14-r89.qemux86_64 intel-corei7-64: Change gstreamer-vaapi-1.0 name - gstreamer-vaapi-1.0 is moved to oe-core and its name is changed to gstreamer1.0-vaapi. linux-raspberrypi: Drop 4.4 bbappend - The upstream meta-raspberrypi doesn't support v4.4 anymore. - CVE patches are not required anymore. glibc: Remove bbappend - The bug-20116 is already applied in 2.25 cynara,security-manager: Fix build error - cynara: Replace bb.data to d - security-manager: Temporarily use 'no' in APPLY variable u-boot-ota: Add SRC_URI - In pyro, SRC_URI and S is moved from .inc to .bb linux-yocto: Remove 4.8 and 4.4 bbappend - Yocto 2.3 (Pyro) doesn't support v4.8 kernel anymore. - CVE patches in meta-agl-bsp are already applied in Yocto 2.3. tcf-agent: Remove bbappend file - This change is merged to upstream poky (pyro) bluez5: Remove recipe and add .bbappend - Yocto 2.3 (Pyro) already has same version. - bluetooth.conf file is added in .bbappend python-pycrypto: Remove recipe - meta-openembedded (Pyro) already has same version. meta-agl-bsp/classes/image.bbclass: Arrange for pyro - image.bbclass is taken from poky/meta/classes/image.bbclass and only changed IMAGE_TYPE_vm variable. libsoup: Fix native build error temporarily v2 (jsmoeller): meta-agl-bsp/meta-ti: - workaround patches in meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - fix old python code in meta-ti/recipes-arago/ipumm-fw/ipumm-fw_3.00.13.00.bb - workaround patches in meta-ti/recipes-arago/weston/weston_%.bbappend - make specific to dra7xx-evm: -- meta-ti/recipes-bsp/alsa-state/alsa-state.bbappend -- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio/dra7xx-evm-set-default-sink-source.patch -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend TODO/FIXME's in: - meta-agl-bsp/meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - meta-agl-bsp/meta-ti/recipes-arago/weston/weston_%.bbappend - meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend - meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend Bug-AGL: SPEC-646 Change-Id: I4162ae887d3334e9102575e3724483aa25f4bd9c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10457
2017-08-30meta-app-framework: bump binder to 170aef2Stephane Desneux1-3/+4
Major changes: * monitoring: add option --monitoring and enable UI * afb-config: rework on option --random-token * afb-config: Add short -p option for --port * Add option --no-ldpaths to avoid default ldpaths * Add option --weak-ldpaths (for weak loading path) * Bug fixes Change-Id: Ieb02ff71ad0157b3bc754e7a163c860caedf72b5 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10709 Reviewed-by: José Bollo <jobol@nonadev.net> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-21af-binder: bug fix and feature improvementsJosé Bollo1-1/+1
fixes: - webkit connection on websockets (SPEC-821) - over allocation of sessions - send error reply for unreplied requests - unprefix event name - infinite loop when events overrun counter - better handling of NULL improvements: - added trace facility of monitor builtin API - dump of stack on SIGABRT - facility afb_req_subcall_req - reduced verbosity - debugging enhanced: allow break after wait and call to 'personality' - documentation Bug-AGL: SPEC-821 Change-Id: I90f16aca97613616e7f2fb4bb85c052ae16c0cde Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10609 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-21af-main: Fix 2 bugsJosé Bollo1-1/+1
Allow packaging of companion programs ------------------------------------- Allow to set executable permission on files of the widget. Then the files can be run by using their relative path within the widget. Bug-AGL: SPEC-384 Bug-AGL: SPEC-785 Allows content in subdirectory "htdocs" --------------------------------------- Fix the bug SPEC-808. The content of pure or hybrid HTML widget had to be in the subdirectory "htdocs" but the attribute "src" of the tag <content> shouldn't include the prefix "htdocs/". It caused installation to fail because it was checking that the file existed but in the root directory. This commit fixes the paradox by also trying to search the content in the subdirectory "htdocs". This is a temporary fix. Bug-AGL: SPEC-808 Change-Id: I512e47d35c135329ef99e3617909ba6fe78eaca7 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10603 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-25af-main: Install debugging features when agl-develJosé Bollo3-1/+4
When agl-devel is required, installs the debugging feature needed by XDS. Also, improves AGL_DEVEL setting of af-binder. Bug-AGL: SPEC-659 Change-Id: I90a1ecbaf78b860ded4f3a70d81ab6312d40772e Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10333 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-18af-main: add RDEPENDS on bashMartin Kelly1-1/+1
Currently, we get a file-rdeps QA warning because afm-install has a /bin/bash shebang line but does not RDEPENDS on bash. We could also use /bin/sh instead, but I'm not sure if we have some bashisms built-in to the script. For now, add RDEPENDS to fix the warning. Change-Id: I368da5e9e5c2d57d7bc2a1b674eb84c1147be5c1 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10217 Reviewed-by: José Bollo <jobol@nonadev.net> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17systemd-udev: ensure convention for naming udev rulesJosé Bollo1-0/+20
The udev rules files installed in /etc/udev/rules.d should follow systemd naming convention. This patch ensures it by renaming known wrong files before to install it. This patch is temporary. This is a solution to the Bug-AGL SPEC-539. It renames the file udev-smack-default.rules as the file 55-smack-default.rules before installation in do_install. This comes from https://github.com/01org/meta-intel-iot-security.git (meta-security-smack/recipes-core/systemd/) It should be removed when the security layer will be refited to meta-security See git clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-security It also renames the file touchscreen.rules as the file 55-touchscreen.rules This comes with the recipe systemd_230 of poky (meta/recipes-core/systemd) It should be removed when poky changes. Bug-AGL: SPEC-539 Change-Id: Ib65e75e67ddcd814d83771777d14b5d7754bd7d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10169 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17af-binder: Fix const issue in afb-auth.hJosé Bollo1-1/+1
The fields type and loa were declared as const. This worked well for C compilers that are allowing to initialize constant fixed structures. But when compiling with C++, it is no more easy to create initialized structure explicitely. In C++, the solution is to use C++14 constexpr functions. But for using these function, const must be removed. Bug-AGL: SPEC-741 Change-Id: Ia1b156b174166821a0246e603171193757e67ebe Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10195 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-07-11Upgrade framework and binderJosé Bollo2-2/+2
This includes: - improvement of debugging (indication files) - not listing terminated processes - allow widget to not define icon (service) Bug-AGL: SPEC-702 Bug-AGL: SPEC-728 Bug-AGL: SPEC-729 Change-Id: Iee1f0df036a5708dfae169ac08ce281187f51f6f Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10147 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-07af-main: Allow service to run by defaultJosé Bollo1-1/+1
The previous settings assumed that services were started by socket activation. This is not always the case. Change-Id: I9e8d6c7bdf961141964bb316e603018721a72054 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10101 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-07framework: update DAB for RC3José Bollo2-2/+2
This change includes - bug fixes - Fix bad error reporting (and of the not funny "Inappropriate ioctl for device") - Fix libmicrohttp version dependency - Fix start actions order - binding v2 improvements (SPEC-717) - reintroduce the field <info> when describing fields - enforce V2 binding writers to use AFB_ prefixed logging macros - make error status uniform even for call & subcall - debugging features (SPEC-729) - allow to export the http port in afm-unit.conf - enable setting of breakpoints/waitpoints when compiled with AGL_DEVEL Bug-AGL: SPEC-717 Bug-AGL: SPEC-729 Change-Id: If66e5524e6621107c7417f26439f90e7d47db89d Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10089 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-07af-main: make sockets.target accessible by groupJosé Bollo1-2/+2
Bug-AGL: SPEC-726 Change-Id: I8cb62fb6353e3985d1f7c9efc141bc35f4fa6d4b Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10087 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-07Framework: Leverage agl-devel and set PVJosé Bollo2-0/+7
It is time for the framework to include development specific features intended to be used when developing applications. This commit prepares such use. See: AGL-Bug: SPEC-594 It also changes the version PV to point the correct AGL distribution/branch and git commit. Change-Id: Ib6abbc3d83ee3eecb79b574f988b430221c45b33 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10085 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-07Add systemd synchronization scriptRonan Le Martret2-1/+40
* reload daemon at the first boot Bug-AGL: SPEC-731 Change-Id: Ia23f4eca116add1abc061eaa1708fe3185e26080 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10057 Reviewed-by: José Bollo <jobol@nonadev.net> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-06Executing /bin/bash explicitlyTadao Tanikawa1-1/+1
To resolve issue of SPEC-699, afm-install began to use PIPESTATUS[] to catch error from dbus-send. But the /bin/sh is still specified even though it is an unique function of Bash. Note: Because current AGL has Bash and /bin/sh is symbolic link to /bin/bash, it works with no error before this fix applied. Bug-AGL: SPEC-699 Change-Id: I730de85d593f6371210cf1424e7bc39ca9365f2f Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10053 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-29afw: Fix error reportJosé Bollo2-2/+2
Also adds minor improvement in logging for the binder Change-Id: I34a56ed72fdedca3645c179e73978ff919860ecc Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9921 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-28af-main: moves reload of serviceJosé Bollo2-2/+2
Make the reload of services in the daemon and add an option to avoid the reload within system Change-Id: Iedd23ad1b3235a39e2a9b84771d0a9c78fbe4f2e Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9841 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-28af-main: report error status in afm-installJosé Bollo2-1/+2
The script afm-install wasn't able to report errors. This patch suggested by Tadao Tanikawa ensure that the status returned by dbus-send is reported to the caller and solves the issue. Bug-AGL: SPEC-699 Change-Id: Id9147794e534eeb9780ddfd4f4702becc87b2163 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9799 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-24af-main: ensure socket activationJosé Bollo1-1/+1
When installing a widget, the sockets.target has to be restarted. This commit does it. AGL-Bug: SPEC-670 Change-Id: I7200749716c57778d165971a5abea27493ce0628 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9793 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>