summaryrefslogtreecommitdiffstats
path: root/meta-app-framework
AgeCommit message (Collapse)AuthorFilesLines
2019-08-23af-binder: Fix client disconnection closeJosé Bollo1-1/+1
This correctly close sockets. This integrates the following fixes * 248f6ea Fix client disconnection close Bug-AGL: SPEC-2759 Change-Id: Ia37ead39c31081bf99ed63b2e90ff0fe0226c999 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-07-30af-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: * 0aeb8de Fix detection of error in call synchronous Bug-AGL: SPEC-2697 Change-Id: I42f2e9872f363526a2378e07afa21664863fec3a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-07-19af-binder: Fix circular broadcast of eventsJosé Bollo1-1/+1
Include changes: * c53b1b3 uuid: Add module for UUID generation * a445694 afb-evt: Refactor processing of broadcasted events * 0371579 Tag broadcasted events with UUID and hop * ad66a46 Fix bad memory access at client disconnection Bug-AGL: SPEC-2625 Change-Id: I532c35b7eea15b6391bb68570601fa0d7477d89e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-07-12af-binder: Fix of subscribe issueguppy_7.0.3guppy/7.0.37.0.3José Bollo1-1/+1
Enforce serialization of messages, makes event really asynchronous, and enforce (un)subscribe in living request. Include the following changes: * 9194450 afb-evt: send events in separate job * 034b0ab Revert "afb-stub-ws: Allow unordered process of messages" * 328c4b5 (guppy-next) afb-xreq: Forbids (un)subscribes after reply Bug-AGL: SPEC-2215 Bug-AGL: SPEC-2219 Bug-AGL: SPEC-2542 Bug-AGL: SPEC-2599 Change-Id: I84b2d1c46c13c1f18c2eb466284d2b4fc8fedc0b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-07-04xmlsec1: add bbappend to fix SRC_URIScott Murray1-0/+3
The maintainer of the xmlsec1 package has moved the source .tar.gz for version 1.2.25 to a "old" directory, so add a bbappend to tweak the recipe SRC_URI. Bug-AGL: SPEC-2601 Change-Id: Ife33daad6d5a6e83567ef5e417a17bf35d82d79a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-04-11Application framework: bump and fixesJosé Bollo2-2/+2
For af-main: * 598f374 Add ability to manage all widget/applications For af-binder: * 4789efd jobs: Ensure validy of event loop * 75a6b9e Prevent false positive during check source * bc8929b Fix false ***buffer overflow*** detection * f878e80 afb-export: Fix heap corruption Bug-AGL: SPEC-1850 Bug-AGL: SPEC-2272 Bug-AGL: SPEC-2292 Change-Id: If64eb30677d880c68d504765ed7d3b2744d8ffe0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-14af-binder: Bump to cherry picked fixesJosé Bollo1-1/+1
This includes: * Fix build dep on OBS * afb-stub-ws: Allow unordered process of messages Bug-AGL: SPEC-2219 Bug-AGL: SPEC-2251 Change-Id: I1b5ce5263731de2f232945b0840e8b86edec2740 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-08af-binder: Fix concurrent memory issuesJosé Bollo1-1/+1
This changes takes care to increment the the count of reference before using it. Bug-AGL: SPEC-2163 Change-Id: I598b15bcd7c5cfde632f60bc63a4181e3e82307e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-07af-main: Bump version GUPPYJosé Bollo1-1/+1
Includes: * d07c7f7 Set default version 7.0.0 GRUMPY GUPPY * 61c6490 Revert "afm-unit: Restore removal of capabilities" * 8e5fc40 wgtpkg-unit: Fix Segmentation fault * 728c665 Add gitreview file for guppy branch * 9f24684 afm-user-setup service: disable start rate limit * 9e6f77a Merge "Revert "afm-unit: add autoapi in required-api feature"" * da0ec3a Revert "afm-unit: add autoapi in required-api feature" * d683362 Merge "Fixed book.yml file" * 80c2030 Merge "afm-unit: add autoapi in required-api feature" * adc590a Fixed book.yml file * f2a2f13 afm-unit: Restore removal of capabilities * 2b6e13b afm-unit: add autoapi in required-api feature Bug-AGL: SPEC-2144 Bug-AGL: SPEC-2006 Change-Id: Ie081e394414f15a7f025110619027e8883556397 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-07af-binder: bump revisionStephane Desneux1-1/+1
Included changes: * 8b58a16 jobs: Ensure releasing event loop * 4bb7ed6 Set default version to 7.0.0: GRUMPY GUPPY * 3facd51 Add gitreview file for guppy branch * 77bf8a3 Merge changes from topic 'spec-2089' * 194031d hello3: Fix warning unused variable * 0c68d46 afb-hsrv: Avoid call to getnameinfo * 2ff91c0 jobs: Remove conditionnal REMOVE_SYSTEMD_EVENT * 48df1b4 jobs: Separate internal threads from others * e9c6530 jobs: Refactor event loop handling * bb5dd7a afb-proto-ws: Serialize incoming message * a4bb03e packaging: update dependency on libmicrohttpd version * a785953 Merge "afb-api-v3: Fix potential buffer overflow" Bug-AGL: SPEC-2089, SPEC-2133 Change-Id: I9aa7fc1e33b57e4de629f6d1c4e241aed68b2888 Signed-off-by: Stephane Desneux <stephane.desneux@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