aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework
AgeCommit message (Collapse)AuthorFilesLines
2018-07-06meta-app-framework/af-binder: bump to latest master revision for (version ↵Stephane Desneux1-1/+1
5.99.FFRC2) This patch bumps app-framework-binder to latest revision. This includes the following changes on the binder: * 171e010 Update version to 5.99.FFRC2 * 95ad001 Simplify build by introducing queuing function * 12ec841 Remove uses of deprecated macros * 75526aa supervision: Exclude conditionaly the supervision * 0d05349 Simplify build process * 65bbbd7 locale-root: fixed uninitialized variable * 425458b afb-trace: Fix bug in tracing of afb_req_get_client_info * 26286eb afb-client-demo: Fix bug that forbids interactive behaviour * eb0abe2 afb-req: Fix a bug in afb_req_verbose * c8dcf6b saha -> salam: To continue using hello * ddbabdd doc: Tiny improvement * 4f7f5ae Improve readdirs to follow symbolic links * f645c76 coverage: Add the missing files * 57e0934 coverage: Add coverage test * 1f9e60c main-afb-client-demo: Allow scripting * b474ee6 afb-autoset: Automatic prefix with unix: * 8ca7b69 afb-api-v3: Refactor verb description * b28c89d afb-api-so: accept symbolic links for bindings * 176d14b hello3: Add verbs * cd6d449 api-v3: Add monitoring of faults in preinit functions * 211343c afb-client-demo: Add option to keep running Change-Id: If74f48e2820615cc8618145eac4042a432d39ec1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-22af-binder: Upgrade to binding v3José Bollo2-2/+2
And also upgrade af-main to use new feature. This new version brings the the following features: * Dynamic api * Event handler * Automatic bounding to unknown api * Improvement of subcalls * Improvement of supervision Bindings v2 are still supported but are deprecated and will be removed in some future. CAUTION: Bindings v1 and vdyn are removed. Bug-AGL: SPEC-1511 Bug-AGL: SPEC-1020 Bug-AGL: SPEC-1485 Bug-AGL: SPEC-1400 Bug-AGL: SPEC-1126 Change-Id: I0ecc513601cfc7f571f2a3ff90095496b32491d3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller12-141/+3
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-06af-main: Refactor of user session managementJosé Bollo2-3/+5
This changes how user session are started and handled within systemd. This evolution add a tiny program to start and handle user sessions: afm-user-session. This is the first step of a serie because, actually, due to platform restrictions, the common users if started this way will not be able to run correctly (issues with wayland/weston and with handling of CGROUP2 with Smack LSM) Also fixes memory leaks and improves build process. Bug-AGL: SPEC-545 Bug-AGL: SPEC-1016 Change-Id: Icaf7c575633fc663a3df0ffee683b22cc087bb16 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-04-05Merge "dbus-cynara: Avoid dependency loop"Jan-Simon Moeller2-39/+1
2018-04-05Merge "Fix License collect for this recipe"Jan-Simon Moeller1-0/+1
2018-04-04dbus-cynara: Avoid dependency loopJosé Bollo2-39/+1
The dependency loop appeared when compiling with DISTRO_FEATURE ptest. To avoid it, I restore the logic implemented before in meta-intel-iot-security. I also remove unless files. Bug-AGL: SPEC-1334 Change-Id: Ibe8b9359a65fec034df2534c5fceb4769e63aa99 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-04-04Adapt repository priorities in preparation of the profilesJan-Simon Möller1-1/+1
The profiles need a clear priorization of the layers. Especially the core layers need a high prio in this context. Apply a prio of 70 to core/essential layers and of 60 to BSP, netboot and smack. Change-Id: I24a59daadab4c98ffbcb799cc784e84e87ac7d23 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-03Fix License collect for this recipeRonan Le Martret1-0/+1
* without LIC_FILES_CHKSUM, it seems the license of the recipes is not in the licenses collected. Bug-AGL: SPEC-781 Change-Id: Icd5520d87c90a3eb8df5d0b89b769a6cf7055d04 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-03-27Rename CAN low level serviceRomain Forlot1-0/+0
Bug-AGL: SPEC-1276 Change-Id: If5363c8e17d4a77d3547e53db727b5d268a17738 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-03-16af-binder: Bug fixJosé Bollo1-1/+1
This fix bug in connection of websockets. It appears that the bug is herre since months but was not detected before 14th March 2018. Also, include a fix for future version of libmicrohttpd (newer than 0.9.59). Bug-AGL: SPEC-1345 Change-Id: I6f13c437255fc2079361a61dd274163e39822522 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-27af-binder: UpgradeJosé Bollo2-3/+18
Improvements: - addition of supervisor (in devel mode) - handling of mimetype - integration of systemd watchdog - refactor of code handling sessions - hooking of sessions - started: isolation of systemd event loop - started: test of the code Fixes: - exclude directories starting with dot (.) from search to avoid issues with debugging libraries - memory leaks - session leaks - segmentation fault on disconnections - robustness against time adjust Bug-AGL: SPEC-1293 Bug-AGL: SPEC-1296 Bug-AGL: SPEC-1303 Change-Id: Idb7908b8a4148a052c72aa662e1d453356d8e40d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-16Merge "linux-yocto: remove redundant patches from recipe"Jan-Simon Moeller5-207/+0
2018-02-16Move xmlsec1 folder in meta-app-frameworkJan-Simon Möller2-4/+4
The upstream location of xmlsec1 changed from recipes-support/xmlsec1 to recipes-security/xmlsec1 Also we need to add 2 more dependencies added. Bug-AGL: SPEC-1297 Change-Id: Iba96bbb8a63ea9c9b8240f1a72e6e3423178e05c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-15linux-yocto: remove redundant patches from recipeMatt Ranostay5-207/+0
Changes have been merged in the 4.12 kernel and are no longer needed to applied Change-Id: I5173a40d95a87a2bdba1666519d6ad09118a52eb Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-14Merge remote-tracking branch 'agl/sandbox/ronan/rocko' into HEADJan-Simon Möller10-176/+14
* agl/sandbox/ronan/rocko: (58 commits) Update ulcb conf file Remove unsed gstreamer backport [GEN3] add preferred version on omx package run-(agl-)postinst: Emit progress to console meta-security: Remove unused content Upgrade wayland-ivi-extension Revert "Fix kernel gcc7 issue" remove backport commit Revert "Fix CVE-2017-1000364 by backporting the patches for gen3" Remove fix for optee-os Remove gcc 6 fix Update rcar gen3 kernel bbappend version Update rcar gen3 driver Remove porter machine dbus-cynara: Upgrade to 1.10.20 xmlsec1: switch to meta-security version systemd: earlier smack label switch cynara: upgrade to 0.14.10 Remove smack recipe Integrate parts of meta-intel-iot-security ... Bug-AGL: SPEC-1181 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Conflicts: meta-app-framework/recipes-security/cynara/cynara_git.bbappend Change-Id: I9875fcb31e960038ce6c23165c99b52a3bd1a1c0
2018-02-14Merge remote-tracking branch 'agl/sandbox/locust2001/rocko' into HEADJan-Simon Möller17-235/+97
* agl/sandbox/locust2001/rocko: (33 commits) most: remove skb_put_data patch from SRC_URI linux-linaro-qcomlt: update to kernel 4.14 dragonboard-410c: update 96boards-tools recipe dragonboard-410c: remove ACCEPT_EULA setting 00_local.conf.agl.inc: Disable GObject Introspection Data linux-ti-staging: Remove linux-dtb.inc geoclue: Remove unnecessary dependency u-boot-ota: Fix build error with gcc7 linux-firmware: Remove duplicated lines Change image type to wic.vmdk glibc: Arrange patch file netboot.bbclass: Remove image_types_uboot inheritance meta-agl-bsp/classes: Remove bbclass files rygel: Arrange rocko security-manager: Fix build error that causes gcc v7.0 cynara: Fix build error that causes gcc v7.0 libcap: Fix warning mesa: Arrange the recipe libmicrohttpd: Remove the recipe connman: Arrange patch file ... Bug-AGL: SPEC-1181 Change-Id: I8fa84553664fd3d7495b42c7198744f05eebcce0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-13dbus-cynara: Upgrade to 1.10.20José Bollo2-2/+1
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-13xmlsec1: switch to meta-security versionJosé Bollo1-115/+0
Change-Id: Ic677e94468153fda3167c55150291861c88f5642 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13cynara: upgrade to 0.14.10José Bollo2-82/+0
Change-Id: I33caaa8a435e0b36afff43c4199428ae9336d612 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13Remove smack recipeJosé Bollo4-9/+7
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é Bollo6-12/+12
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-02-13cynara: Fix build error that causes gcc v7.0Changhyeok Bae2-0/+43
- gcc v7 requires include <functional> for std::function. - gcc v7 recognize implicit-fallthrough. Bug-AGL: SPEC-1181 Change-Id: I40b35ef54d3a1e567330102e9e7cbe6882728b95 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13libcap: Fix warningChanghyeok Bae1-3/+0
WARNING: libcap-native-2.25-r0 do_configure: QA Issue: libcap-native: invalid PACKAGECONFIG: attr [invalid-packageconfig] Bug-AGL: SPEC-1181 Change-Id: I675aaa404286a04fcd914aecbf570018d2069d2f Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13libmicrohttpd: Remove the recipeChanghyeok Bae1-25/+0
The recipe is already applied in upstream meta-oe. Bug-AGL: SPEC-1181, SPEC-632 Change-Id: I1f76504d191105dacd65f51de83cd6178807bab4 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13linux-yocto: Rename .bbappend to match new version from meta-openembeddedChanghyeok Bae10-206/+1
Bug-AGL: SPEC-1181 Change-Id: I87b72202bb728a33bd16e0b275c268946ce61aff Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13agl-appfw-smack.inc: remove IMAGE_DEPENDSChanghyeok Bae1-1/+1
IMAGE_DEPENDS is removed in oe-core. (Poky rev: f93d58378fb4095a18c1403de03ca0e13ce465cd) (OE-Core rev: c5f33d466122e53be910fa448af60ef3937eb828) Bug-AGL: SPEC-1181 Change-Id: Id2605ac13b80f8096261f186c3d28eb1d165e2c4 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-01-25Provides default dev-mapping.conf file in imagesRomain Forlot3-0/+26
Bug-AGL: SPEC-1121 Change-Id: Id31e34af1276682dbe39457a145889f0d0c7e7c3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-23security-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-23cynara: Fix build error that causes gcc v7.0Changhyeok Bae2-0/+43
- gcc v7 requires include <functional> for std::function. - gcc v7 recognize implicit-fallthrough. Bug-AGL: SPEC-1181 Change-Id: I40b35ef54d3a1e567330102e9e7cbe6882728b95 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-01-23libcap: Fix warningChanghyeok Bae1-3/+0
WARNING: libcap-native-2.25-r0 do_configure: QA Issue: libcap-native: invalid PACKAGECONFIG: attr [invalid-packageconfig] Bug-AGL: SPEC-1181 Change-Id: I675aaa404286a04fcd914aecbf570018d2069d2f Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-01-23libmicrohttpd: Remove the recipeChanghyeok Bae1-25/+0
The recipe is already applied in upstream meta-oe. Bug-AGL: SPEC-1181, SPEC-632 Change-Id: I1f76504d191105dacd65f51de83cd6178807bab4 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-01-23linux-yocto: Rename .bbappend to match new version from meta-openembeddedChanghyeok Bae10-206/+1
Bug-AGL: SPEC-1181 Change-Id: I87b72202bb728a33bd16e0b275c268946ce61aff Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-01-23agl-appfw-smack.inc: remove IMAGE_DEPENDSChanghyeok Bae1-1/+1
IMAGE_DEPENDS is removed in oe-core. (Poky rev: f93d58378fb4095a18c1403de03ca0e13ce465cd) (OE-Core rev: c5f33d466122e53be910fa448af60ef3937eb828) Bug-AGL: SPEC-1181 Change-Id: Id2605ac13b80f8096261f186c3d28eb1d165e2c4 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-28low-level-can-service: bump to new versionRomain Forlot1-2/+2
docs: bump version to 5.0-EE Code enhancements mem leaks and uninitialized byte Initialize struct to avoid unexpected behavior Change-Id: I9ef66fb18568e43478cb9c4f733c6ad81a38644f 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-07Fix wrong config.xml file used to build widgetRomain Forlot1-1/+1
Bug-AGL: SPEC-1162 Change-Id: I9e2bf8ba801f36ee0f5ef168346d98201b44633f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12317 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-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-12-01Fix permission label and write verbs callRomain Forlot1-1/+1
- Fails write request if CAN signal not writable - Fix permission label - Correctly reconstituting entire CAN frame - Deprecate cmake variables not useful Mechanism to build 3rdparty external libs isn't unique and should not be handled by app-templates - Handle space in project path Bug-AGL: SPEC-966 Change-Id: Icbd4a1b56c87d2b4f1a529c7436fc5ca4af12db3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12233 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é Bollo3-3/+13
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é Bollo6-96/+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öller3-1/+23
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>