summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core
AgeCommit message (Collapse)AuthorFilesLines
2019-01-15Signalize run-agl-postinsts error appropriately to systemdAndre Goddard Rosa1-0/+2
If any of the post-install scripts fail during first boot, they should be retried on subsequent boots. That was not happening because run-agl-postinsts.service would be disabled even if a post-install script failed as it always returned success on its execution. Now signalize properly when it sees any error while executing some post-install script. Change-Id: I4402ee69c80814b06e3cc25cb400a66de3b5652d Signed-off-by: Andre Goddard Rosa <andre.goddard@gmail.com>
2019-01-08neardal: lib: fix random memory corruptionraquel medina2-2/+61
This commit includes a neardal patch to fix the random segfault seen on agl-service-nfc. The problem (random memory corruption) was due to invalid access to freed memory on neardal library. The proposed fix has been submitted upstream and this commit is only a temporary measure while the solution is not provided directly from neardal repo. Bug-AGL: SPEC-1976 Change-Id: I21984cb8135537ff1232a4387a31688e1a140642 Signed-off-by: raquel medina <raquel.medina@konsulko.com> (cherry picked from commit 9a66246d00e88cf44456efae734a7a12c63f4689)
2018-12-18connman: Ignore MOST ethernet interfacesScott Murray2-1/+2
On systems like the CES demo units with MOST adapters, the virtual ethernet interface created by MOST interferes with connman's management of the shared connection of the Wi-fi and main ethernet interface, eg. the MOST ethernet being present results in the Wi-fi not auto-connecting at boot. To avoid this, ignore the "meth" interfaces by adding them to the blacklist. This seems reasonable, as they are unlikely to be used for internet connectivity. Change-Id: I9b56333df4b4d7e128a765855065efce58abb734 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-10connman: Tweak main.conf for cluster demo supportScott Murray1-0/+5
When running the cluster demo, we do not want the second ethernet interface managed by connman, as it will be used for a separate connection to the cluster board, and should not be considered part of the shared connection pool. To do this, NetworkInterfaceBlacklist is tweaked if agl-cluster-demo-support is enabled. Change-Id: Iab8c17662bb7f5b06b5eda6c97dd32a6c5ef3f5a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-11-29udisk: automount: remove 'flush' from MOUNT_OPTIONSMatt Ranostay1-1/+1
Not all filesystems support 'flush' mount option and this was preventing automounting. Change-Id: I98d25ab58cc6683272cdd45783aa854bc54f53ba Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-28agl-service-nfc: remove libnfc dependencyraquel medina1-1/+1
Bug-AGL: SPEC-1921 - remove build-time dependency on libnfc Change-Id: Id13d0f447ebcb47590466c6d9e9f34a58cf65bad Signed-off-by: raquel medina <raquel.medina@konsulko.com> (cherry picked from commit 901cf29fafb4c9a86198cf40dc6ac7645051a213)
2018-11-23Provide fallback time servers to connmanHenrique Ferreiro2-1/+12
connman NTP client needs some fallback time servers in case it cannot get one from the DHCP server. Bug-AGL: SPEC-1925 Change-Id: I904f49f7d9428a2cc4e90ccea387bf4892f4d38e Signed-off-by: Henrique Ferreiro <hferreiro@igalia.com>
2018-11-22profile-core: agl-service-telephony: remove useless RDEPENDS depMatt Ranostay1-1/+1
Telephony service doesn't actual use the PBAP service so remove from the RDEPENDS. Change-Id: I026a00e34ffef6da8f15f7912c8f82cce70f497b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-20recipes-connectivity: bluez5: add dbus-org.bluez.obex.service symlinkMatt Ranostay1-0/+5
To allow OBEX service to be requested by a user on demand there needs to be a symlink /etc/systemd/user/dbus-org.bluez.obex.service to the obex.service Change-Id: If4b8a94790403cf7f8f2a53ce3365c5f8c9f3b2c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-07agl-service-telephony: Set depend of glib-2.0Vitaly Wool1-1/+1
Change-Id: I493d2836677cd105279d784f030f2d5fef36b5c3 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2018-11-07agl-service: telephony: add telephony service recipeVitaly Wool1-0/+18
Bug-AGL: SPEC-1757 Change-Id: I0dd0c80fc089ce18fce0325fbbe0f17d257418a6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2018-10-19Bump afb-test revisionRomain Forlot1-5/+7
Fix afm-test script installation e82fde7 Shellcheck: protect variable against whitespace 9ec26c0 Improve exit output message 5cbc238 Test the LockWait feature a525f24 Unify test launch between target and native a1369a9 Update documentation 9754027 get rid of afb-definitions 5e36513 Avoid to kill anything when no config file found c3aae9c Separation between CB and classic test functions c541040 Rename test service api to be more discriminant. 79bb6f3 Assert that an event hasn't been received c227156 Script for both native and target launch Change-Id: Ic2b3d68cdb2b57613a0a24e42e43f307b2cae399 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-30Use iperf3 instead of iperf2Changhyeok Bae5-97/+1
iperf3 recipe is in meta-openembedded layer. Change-Id: I1c4f7345615f4ab99b1405a9ed53569ced1bdabe Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-09-24recipes-multimedia: lightmediascanner: save database to ↵Matt Ranostay1-1/+1
/tmp/$UID/lightmediascannerd.db To prevent using a corrupted SQLite3 database that is possible with cheap USB media it is better to generate on every bootup. Bug-AGL: SPEC-1744 Change-Id: I2da9f71697ecf04f37f6f0141a46c57c059169b6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-09agl-services: Add missing dependencies to glib2José Bollo3-3/+3
The dependecy to glib-2.0 was missing in the services - agl-service-geofence - agl-service-iiodevices - agl-service-mediascanner Change-Id: I303a2968ecbc3c497fa34545eaf768cfd5e7b0bd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-09-09agl-profile-core/packagegroup-agl-core-boot: add rng-toolsStephane Desneux1-0/+1
On some boards (typically Minnowboard Max), the kernel's random number entropy pool may fill too slowly. As a consequence, if many processes ask for random data at the same time, the reads on /dev/random are blocked until the entropy pool has been filled. This patch adds rng-tools in the core images: the rngd daemon will start at boot and fill the entropy pool. Bug-AGL: SPEC-1655 Change-Id: Icbcf6a9ea685774dd13e33597689a3fd05aaadf4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-09-09Update low-can, signal-composer version labelRomain Forlot2-2/+2
Change-Id: I6639128b0942ee2218a897a3128bbb1e3218a9f3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-07Update afb-test revision for FF.RC6Romain Forlot1-2/+2
This includes the following changes: * bba4bef Use controller new behavior that add objects * a826da1 Silence all outputs of kill command * 2f768ef Reset context functions between test files Change-Id: I0329bdd9f5e04423558057ce0a55adbf086dd366 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-31Update afb-test revisionRomain Forlot1-2/+2
3c1dab4 - Update gitignore 39f65fa - Lower CMake version requirement 82c8c5f - Make afTest test itself correctly e681815 - Don't crash if lua test files aren't found d54d2b7 - afb-test doc: Updated doc. a7fecc2 - Native test script launcher improvments fd49db6 - afb-test doc: Changed doc to new format Change-Id: I3877322929824f489c288feb51d71ee732abb6b4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-24Signaling bindings: Bump for version FF.RC4Romain Forlot4-6/+12
Changes of agl-service-can-low-level: * 0171561 Cleaning, set up binding version in config.cmake * efa12f0 Use TEST app-templates labels * e17d3ee Specify the API name to be tested * ac574c3 Use dedicated API name for the test Changes of agl-service-signal-composer: * 8264bd8 - Missing API_NAME for the test widget * fbdf29b - Fix: segfault at object addition * 3d09d0c - Bump submodules * 7697648 - Setup the project for afb-test framework Depends-On: I9b4da627485ad16bc4ed925e97b3a8a320dd7238 Change-Id: Ic399f97ccfdaeec392f829f406222e8c955c19f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-24Add the afb-test binding in the devel AGL imageRomain Forlot3-0/+29
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-23Add lua-dev and lua-staticdev to minimal crosssdk imageJan-Simon Möller1-0/+13
Change-Id: I28d58ec2096531e6db008f8417c47fde23768994 Bug-AGL: SPEC-1678 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-23Make it possible to use systemd-coredump for developmentTadao Tanikawa3-0/+5
For development, systemd-coredump should be enabled especially for meta-agl/meta-agl-demo because all applications which compatible with agl appfw are running on systemd. This patch make systemd-coredump available when agl-devel is set on (run aglsetup.sh with 'agl-devel'). The core dump files are stored in /var/lib/systemd/coredump/ and 'coredumpctl' is helpful to use dump files. Change-Id: Ic8a011e96fe36be0266389c03d761d1b8e78bf68 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-23Port the latest version of valgrindRonan Le Martret25-0/+1651
Some issues appear with the current version of valgrind on aarch64. (valgrind exits due to an unhandled instruction) An update of valgrind solves this problem. I guess other platform need a update on valgrind too, so this port is not gen3 exclusive. This port uses the yocto recipes(poky:7e7ee662f5dea4d090293045f7498093322802cc): * with some fix on the patch. * remove patch already merged in valgrind git. Bug-AGL: SPEC-1677 Change-Id: Ibf467bee03487252f24ef046b9fe4e4ff6d389da Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-08-14Remove deprecated WiFi binding from core servicesMatt Porter2-16/+0
The WiFi binding has been deprecated by the network binding. Remove the recipe and remove it from core services. Bug-AGL: SPEC-1543 Change-Id: Ifb86faafa0e6d8550c735be5e54c18d0af1b3775 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-08-14Fix do_patch[depends] statementJan-Simon Möller1-1/+1
We were overwriting the previous values. Thus quilt was not deployed for patching and thus failing. Change-Id: I031a09059dd5ae163baa37d7bf8866528cde3fce Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-03packagegroup: core: devel: add agl-service-network-tools packageMatt Ranostay1-0/+1
Include the agl-service-network-tools package into the core devel packagegroup Change-Id: I839951c06532608334254fd8f974deb5bea04ffd Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-03profile-core: agl-service-network: add agl-service-network-tools packageMatt Ranostay1-0/+8
Add debug utilities package to allow testing of agl-network-service functionality Change-Id: I0adaf40a5888a34df9dd6780ddd0ea693d730c93 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-02pulseaudio: remove 10-unload-modules.paGeorge Kiagiadakis2-16/+0
This interferes with the default.pa that is shipped in meta-audio-4a-framework (unload modules fails because the modules are not loaded). Change-Id: I0d82fd0e3696ba3b1615b45599bce8e69c3e464d Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2018-08-01Make pulseaudio conditional for packagegroup-agl-core-multimediaRonan Le Martret1-3/+2
Bug-AGL: SPEC-1234 Bug-AGL: SPEC-1601 Change-Id: I6bcf01d15d47d5224faf36a2ee28fa5d79cf77bd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-08-01pulseaudio: remove unused .patch files from the repositoryGeorge Kiagiadakis11-8749/+0
No recipe uses those. Change-Id: Iec368fcf6e6340866c6d346a438e21c8cb7960ef Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2018-07-26Update Signal Composer revisionRomain Forlot1-2/+2
- New way to store value - Added metadata attribute - Improved performance Change-Id: I788e733015c7ec205418e62d907a38dc831ee1a9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-25packagegroup-agl-core-devel: add jq and libxslt-bin to parse result filesflounder_5.99.2flounder/5.99.25.99.2Stephane Desneux1-0/+2
For QA, test and diagnostics, some files or results need to be parsed. jq and xsltproc are useful tools to process respectively JSON and XML files. Change-Id: I76810fbdbac2a5d1e243d2e87e63dd41530cdd99 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-07-25agl-service-can-low-level: bump revision.Romain Forlot1-2/+2
Fix build error due to wrong apidef header file generated. Bugs-AGL: SPEC-1613 Change-Id: Ibf563c1b4ca872c746f673494d627099aa8c5b42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-24most: apply conditional backport patch for kernels older than 4.13Jan-Simon Möller1-1/+17
This patch makes the recipe apply a backport patch on systems running a kernel older than 4.13. It is needed to avoid build errors due to API changes. v2 (jsmoeller): rewrite as KERNEL_VERSION is not available at parsing stage This requires quite some plumbing and the maxkver (and minkver) should probably go upstream. For now we draft this up here as a bbappend. Change-Id: I48f75f6e98c7b6b4e92b6e43bc3743a5ec3fbbf7 Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-18agl-service-radio: added dependency to libusb-compatThierry Bultel1-1/+1
Change-Id: Ifdfac6a6ae6ef4e28fe636cbe07db08265892349 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-07-17agl-service-can-low-level: Remove low-can-service from homescreenJosé Bollo1-1/+1
Without this commit, the service CAN is displayed by the home screen. But it shouldn't. Change-Id: I3b3d854edcda2b337b8b55c7e3a5eba930e43c2d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-07-11neard: systemd: changes to allow enablement of neard.service on bootMatt Ranostay2-0/+29
Bug-AGL: SPEC-1554 Change-Id: Iec2bb77e3f4a5a729298b57a50fb40fb49dba400 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-11profile: core: platform: add nfc connectivity RDEPENDSMatt Ranostay1-0/+2
Add neard, and neardal package to the connectivity packagegroup Bug-AGL: SPEC-1554 Change-Id: I2fffaaa91517088a0f2ed51c742dff7f9004a737 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-11agl-service-nfc: nfc: add neardal dependencyMatt Ranostay1-1/+1
Include libneardal dependency to allow easy of use to neard package Bug-AGL: SPEC-1554 Change-Id: Ibc28b24ad28b612ca189871635e3130fb3b96add Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-11recipes-connectivity: neardal: add recipeOleg Zhurakivskyy4-0/+84
Bug-AGL: SPEC-1554 Link: https://patchwork.openembedded.org/patch/88673/ Change-Id: Id0287d8cd6bc75b03ec06d0445938a7c27304620 Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-11Bump low-can versionRomain Forlot1-2/+2
- Typo and comments - Correctly destroy context avoiding waiting for nothing when no CAN bus activity. - New CAN sample to be used for the agl-vcar configuration example - Detecting that engine is off and use it during diagnostic messages subscription - Run by default as a service - Add tests Change-Id: I69ffb7c7f493abdb07793547f5934742bceb8b24 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-11Fix cmake build with sdk inside a scriptRonan Le Martret3-0/+56
For the sdk build the cmake config file is source: sysroots/x86_64-aglsdk-linux/environment-setup.d/cmake.sh But use "alias" : alias cmake="cmake ..." Unfortunatly alias is not expand inside a script. using an environnement variable for "CMAKE_TOOLCHAIN_FILE" solve the issue. This Fix is a port of the yocto FIX 139551: https://patchwork.openembedded.org/patch/139551/ Unfortunatly this patch is not include in yocto upstream Bug-AGL: SPEC-1530 Change-Id: Ica80f66cbe976a6ccb1acb7d96b4c4ce4252d4f3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-10Add network binding to core packagegroupMatt Porter1-0/+1
Adds network binding to the core service binding packagegroup. Bug-AGL: SPEC-1540 Change-Id: Ic46ac041e5c6122d812483910867aacbeb657d4e Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-10Add network binding recipeMatt Porter1-0/+17
Add the network binding recipe to the core profile. Bug-AGL: SPEC-1540 Change-Id: I0fd169951e11eebd4448d7519f2cac9e016ed044 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-07-04libdbus-c++: Remove unnecessary bbappendChanghyeok Bae1-2/+0
Change-Id: Id2d911a8c9393feb5d15ebe92e8897a11d8d80db Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-06-29agl-service-iiodevices: add RDEPENDS on libiioClément Bénier1-0/+2
Runtime dependency is missing. agl-service-iiodevices now pulls the appropriate deps. Change-Id: I32b2e6d3d35d4fdc9a2e45fc8a0fe0183e1204ae Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-28[GEN3 KF] Configure GPS deviceRonan Le Martret2-0/+3
* For the Renesas Gen3 extention board Kingfisher, we must specify the GPS device for gpsd service. * Create a new machine type kingfisher. Bug-AGL: SPEC-1538 Change-Id: If6b7e49f6a006218e57c58e15855e0d65eb849cd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-06-27agl-service-iiodevices: add recipe for iiodevicescle©mentbeénier2-0/+18
add agl-service-iiodevices to packagegroup-agl-core-services Change-Id: Ifa61ddd9904cf5e7d166e515bc36e0f647fd7c1f Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-19Add bluez5-obex to connectivity packagegroupMatt Porter1-0/+1
Adds bluez5-obex to connectivity packagegroup for SDK builds. Bug-AGL: SPEC-1517 Change-Id: Idab6802d6d675d21100d1233c4c77bfd78234382 Signed-off-by: Matt Porter <mporter@konsulko.com>