summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-devtools
AgeCommit message (Collapse)AuthorFilesLines
2020-09-25meta-agl-profile-core: Add support for running gcovr on targetScott Murray1-0/+3
Changes: - Add recipe for gcovr gcov-based coverage report generating tool. - Add bbappend to apply patch to gcovr to add a new command-line option that allows working with the coverage information from the AGL widgets on target. The goal is to get this change upstream, hence not having it in the recipe (which also will be sent for inclusion in meta-oe). - Add a recipe to install an included wrapper script for gcovr (unsurprisingly named "gcovr-wrapper") that enables running it against bindings on target. The script supports installing the coverage version of a binding and running pyagl tests, afm-test test widget, or a user-supplied command before running gcovr in a carefully crafted environment that will allow it to work without impacting the root filesystem of the target. - Add gcov-symlinks, gcovr, and gcovr-wrapper to the packagegroup-agl-core-devel package group so they will be available in agl-devel images. The gcov-symlinks package adds /usr/bin/gcov, which simplifies picking it up for gcovr. Bug-AGL: SPEC-3589 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia2fdc200e4e0683f93a6e2a863311cd2107c962b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25337 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>
2020-09-24meta-agl-profile-core: update cmake-apps-module SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 7c03348 Add source and coverage information to widgets Bug-AGL: SPEC-3589 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I735fd15d57316043b311e3f55b22a5cf9ad98898 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25341 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>
2020-09-11Add gcov to packagegroup-agl-core-develJan-Simon Möller1-0/+1
To enable handling coverage wgts in CI, we need gcov for postprocessing in the filesystem. Bug-AGL: SPEC-3484 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I9af415ce8da499637af4d2e9680bdc5d9c7fc9e4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25234 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>
2020-09-03meta-agl-profile-core: add pyagl to agl-devel imagesScott Murray4-0/+40
Changes: - Add recipe for pyagl, and add it as a dependency of packagegroup-agl-core-devel. - Add recipes for pyagl dependencies python3-asyncssh, python3-pytest-dependency, and python3-pytest-reverse. The intent is to get these into upstream meta-python so these local copies can be dropped when they're available from there. Bug-AGL: SPEC-3562 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I876ef2fffbe8724aadb23170e1ed196f05132f89 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25176 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-08-28meta-agl-profile-core: add pciutils to packagegroup-agl-core-develScott Murray1-0/+1
Add pciutils to packagegroup-agl-core-devel so tools like lspci are consistently available in devel builds for debugging. Bug-AGL: SPEC-3148 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5794c092a2f6d2eff123d19bb5a9658ef43a62fe Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25155 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>
2020-08-11cmake-apps-module: update SRCREVLi, Xiaoming1-1/+1
Pick up changes: a357a6a Remove kill of test binding from launcher script Bug-AGL: SPEC-3466 Change-Id: I55f7ee5d2e9d0df84337140c75c8e2983ac83863 Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25066 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: Scott Murray <scott.murray@konsulko.com>
2020-06-18cmake-apps-module: update SRCREVScott Murray1-1/+1
Pick up changes: dc06c9d Update autobuild script templates 811548a Fix generated install target 7f16573 Revert "project_targets_populate: source_permissions, test" cab6a70 project_targets_populate: source_permissions, test Bug-AGL: SPEC-3300, SPEC-3381 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I211e2acef3262cef9af510bded77e97e0fa216be Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24787 Tested-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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-12Widget packaging reworkScott Murray1-1/+0
aglwgt.bbclass changes: - Made the autobuild/agl/autobuild script a hard requirement, as all upstream widgets have it, and this is the first step to actually using it in the class to drive building the widgets after a subsequent round of autobuild script updates. - Reworked wgt packaging to simplify the logic and split the test, debug, and coverage widgets into separate packages to allow installing them separately. - The on target install directories for the widgets have been changed to release, test, debug, and coverage under /usr/AGL/apps, with the previous logic with respect to the AGLWGT_AUTOINSTALL variable being retained for the few widgets that need to go into the manualinstall directory. An "autoinstall" symlink has been added to point at the release directory to maintain previous behavior. This should allow a simple path to configuring installation of the debug or coverage widgets on first boot with future changes. - Added logic to only assume test widgets exist for recipes with names starting with "agl-service-". This can be over-ridden by defining AGLWGT_HAVE_TESTS as "true" in a recipe. - Added AGLWGT_EXTRA_BUILD_ARGS variable for passing extra arguments to widget builds. Currently its default value includes the previous VERBOSE=true that was passed to every autobuild invocation, and "${PARALLEL_MAKE}" which has been added to improve build speed. - Added AGLWGT_PACKAGE_WARN variable to control extra warnings around the existence of test/debug/coverage widgets when packaging. Once further build rework is done, the default for this will likely be changed to "true", currently the output is too verbose to do so. - Removed over-rides to force building of test widget when building with the agl-ptest feature set, as it is now unnecessary and will result in an undesired extra copy of the test widget in the release folder. Other changes: - Created new devel and test packagegroup variants for several of the existing packagegroups to contain the associated widgets. - Added agl-devel-wgt and agl-test-wgt IMAGE_FEATURES to control the addition of dbg/coverage and test widgets to images. Additions to the FEATURE_PACKAGES variables have been added in several places to add the corresponding widget packagegroups. - Added the agl-devel-wgt image feature to the agl-devel feature template definition to match current behavior. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3a28615db94bbc04e30e98ac3dce8cae942a499f
2020-02-27Bump cmake-apps-module app-afb-test can-high-levelFrederic Marec1-1/+1
Update cmake-apps-module SRCREV to pick up: 9e3724b Create directories in separate commands e708081 Change autobuild targets to avoid files remove d75b9e1 build-options: add SANITIZERS build type 3dbbb81 autobuild: fix generating all widget target 6d4e784 variable: Fix trailing - in widget version 2175446 Update autobuild script to create new targets 354e327 docs(using-cmake.md): Remove & refresh expired link 57ec338 build_options: Avoid warning at configuration time Update app-afb-test SRCREV to pick up: 205c820 Update autobuild script to create new targets 259aff7 Update .gitreview file Update can-high-level-viwi SRCREV to pick up: 980e925 Update autobuild script to create new targets 2a4facc Fix broken link to local image e3ecb64 Fixed book yml file (remove master reference) e8927dd Changed doc to fit new format. Bug-AGL: SPEC-2049 Change-Id: I29bcb72e0ceca02869c22114949d691110296820 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2020-01-29Bump libappcontrollerFrederic Marec1-1/+1
Update SRCREV to pick up: 1bef31c Remove use of prefix 2a588b7 Add function to get config default search path 3dd9b37 Improve plugin search path Bump app-afb-test version to pick up: 910326f Change functions following controller modification Bug-AGL: SPEC-2795 Change-Id: I432c5fca85d5476840bd662f4fd6a1882b3103a6 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2020-01-28Bump libafb-helpFrederic Marec1-1/+1
Update SRCREV to pick-up: 1d1c6ce timer: Fix stopping a running timer 6d828a1 Add 'GetRunningBindingDirPath' function 4480e19 Add 'GetAFBRootDirPath' function Bug-AGL: SPEC-2795 Change-Id: Ia788cb99c84dd2bc5e62134447a9b26ae53a885e Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2020-01-27Remove systemtap from AGLRonan Le Martret1-1/+0
- systemtap is not compatible with SOTA build. Change-Id: Ibdd7670b219b54f5c4243d0f67ce74e979f11db9 Bug-AGL: SPEC-3097 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-01-24packagegroup: agl-core-devel: add gcc-sanitizers packageMatt Ranostay1-0/+1
AddressSanitizers debugging requires shared libraries on runtime to function. Bug-AGL: SPEC-3040 Change-Id: Ibd7148f98f8ae9c9bd5989d4eeaef4256079955a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-12-11json-c: add --enable-threading to EXTRA_OECONFMatt Ranostay1-0/+1
Enable partial threading support to enable compiler atomic operations which in turn avoids refcount corruption issue that was causing aborts with moderate prolonged traffic. Bug-AGL: SPEC-3044 Change-Id: I0b9ab8c27f2c436910dbabf03be5bedaf1a28136 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-20low-level-can-generator: update to latest revisionScott Murray1-1/+1
Update SRCREV in low-level-can-generator recipe so that the toolchain will have a version that matches the low-can binding, changes: d9c40fd dd management of version and new decoder signature. 7869e2e Change enum type to flag and add iso tp protocol 93debbc Add generator for boolean fields afa9e97 Add some modifications (space, new line, coma, float). f61a6cb Add some options for J1939 support 0bb5744 Fix the default decoder using "states" da429cc Add gitreview Bug-AGL: SPEC-2951 Change-Id: I1dc3ece955548ced95ae24b9a382ce0ed3ad3b68 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-11-19Bump afb-test & libappcontrollerFrederic Marec1-1/+1
Bump afb-test & libappcontroller to fix missing event group during test Bug-AGL: SPEC-2795 Change-Id: Iaa87ac5512d5b54bf56922883c54cf38eaa6ce79 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-11-07Cynagora: Replace cynara with cynagoraJosé Bollo1-1/+1
Shift from the permission database cynara to cynagora permission database with a compatibility library. The cache size required by dbus-cynara is updated because that size is now a count of bytes, not a count of entries. Bug-AGL: SPEC-2844 Change-Id: I9a81de6e3b8bcb94adc0bb05c63183c2eda3f310 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-10-15libafb-helpers: bump to latest revisionStephane Desneux1-1/+1
The following commits are added: * 5b9cce9 Add function to add one json array to another one * 25bb451 Pkg config files: use CMAKE_INSTALL_LIBDIR var Bug-AGL: SPEC-2846,SPEC-2867 Change-Id: I1dfbfb841afb1313222360fbc646490946f34079 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-07-24Bump cmake-apps-module revisionFrederic Marec1-1/+1
Bump revision following gerrit review 21859 bd9e1c9 Fix new target test-tree d9af887 Add automatic test tree creation 5a26df7 02-variables.cmake: Fix wrong variable tested 7593f0f Recurse path when using fallback zip tool 4e1d47b CMake Nav Panel: Changed configuration title afba79c CMake project arch: Fixed title to match nav panel c26a064 CMake Configuring: Updated topic title. b99684d CMake Overview: Added TOC links and edits. 0c10393 Book manual updates for CMake Templates f46dcf2 02-variables.cmake: project options for 3.12.4 1e0f297 02-variables.cmake: project options for 3.12.4 3490ab7 02-variables.cmake: warns - unset project options 9ad5e65 02-variables.cmake: fix project cmake-commands 74fd1a5 Fix cmake-apps-module document typo. 2345e80 CMake: Complete re-write of the CMake topic. 9c07127 CMake Topic book: Updated for the new file names. 2710740 CMake Section: Complete re-write. 16829a3 cmake-apps-module: New file names. a6daa45 autobuild: fix warnings due to cp command exit code bcdefaf docs: add yaml book f3ce787 Avoid a target to link against itself Bug-AGL: SPEC-2040 Change-Id: I51d60cf572eb2a9a49ed25d3bb162c4f70b0b316 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-06-19libafb-helpers: Fix bug SPEC-2520José Bollo1-1/+1
This integrates the fix of the homescreen crashing after recent audiomixer change. Bug-AGL: SPEC-2520 Change-Id: Ia9899cbe23fc88179d26d8069c3e12463bdda5b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-05-31Fix the location of the qemu bbappendJan-Simon Möller1-0/+1
The previous commit had it in the wrong folder. Correct that. Change-Id: Iadced308d90f4bb0babb40cc7e37f4c20a93a860 Bug-AGL: SPEC-2450 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-06Bump libappcontrollerRomain Forlot1-1/+1
baaa511 - Inject binding v3 root api into controller plugins 3224600 - Fix: wrong string length size used c32fc14 - Fix .deb packaging following review 20926 9fab427 - controller: fix broken link cf08755 - devguides-book: needed for AGL documentation Bug-AGL: SPEC-2369 Change-Id: If2ea6d0d560b8ec78e31d402dec7a7482a3c7768 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-09Merge remote-tracking branch 'origin/sandbox/sdesneux/thud-upgrade'Jan-Simon Möller34-2002/+11
Update the core distro to YP 2.6 'thud'. Bug-AGL: SPEC-1837 Change-Id: I5a753503c4ca15bcb0d4f0f30c4a91e7d50ab024 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-05Bump afb-helpers versionRomain Forlot1-1/+1
* 5c05223 - Use C++11 standard by default * 1eb7fc7 - Set PROJECT_VERSION overwritable by cli * f5bb1d7 - Moved Qt's automoc and autorcc variables * a946245 - book.yml: needed for new doc workflow * 8876fa0 - Fix gitreview file * 9bcc943 - Set PROJECT_VERSION overwritable by cli * b7e6dbe - Add functions reference documentation * 2e36a74 - Call the freeCB function a manual timer stop call * aba89b5 - Little code cleaning. * a1976ff - Adding packaging files Change-Id: I94b41f5656cfe81f808c0de46d0553a0a6690d51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-05Add runtime dependency for the test launcherRomain Forlot1-1/+1
The "afm-test" script use the "jq" tool to be able to launch the test. Change-Id: I1aa874e3227b7a265a3c012a9a45b85a3c7cfe86 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-05Bump appcontroller versionRomain Forlot1-1/+1
* 340c0f1 - Use the action API rather than the source one * 66bd15b - Rework 'ActionExecOne' to prevent race issues * 0ed00b3 - Add fixed gitreview * 8c276ea - Add the header files in the dev package * d4bd750 - No bin package about now, only dev version * 2fd0e00 - Adds more details about the library migration * 8f76233 - Remove useless magic number check * 08a8d17 - New installation instructions * 680af25 - Adding packaging files * 565e5a7 - Set afb-helpers lib as an explicit dependency Change-Id: I3b7762023a5cc93704d2561f39a37e968c0fdbfc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-04Upgrade to thudScott Murray34-2002/+11
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-01-02Add afb-helpers & controller librariesRomain Forlot3-0/+41
Add the latest controller & afb-helpers libraries with a separated Qt library to avoid dependency problem on AGL image without Qt support Bug-AGL: SPEC-1689 Change-Id: I69d79b35a8dae0749f1947c641f28342c97d461b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-25Revert "Add afb-helpers & app-controller library recipes"Jan-Simon Moeller2-37/+0
This is due to the dependency on QT (cmake_qt5) which breaks the build of non-qt5 targets. This reverts commit 73351742e32772a19f62086cea5a5e7a38fe02f7. which is https://gerrit.automotivelinux.org/gerrit/#/c/19225/ . Change-Id: I81b0638ab34dad59d3fe5522c0abe8e9d4f3f6c1
2018-12-20Add afb-helpers & app-controller library recipesRomain Forlot2-0/+37
Migration for afb-helpers and app-controller from submodule to library. This adds the library in the AGL SDK. Bug-AGL: SPEC-1689 Change-Id: I95b1e66b2a363ce1bbea7cc8989992a7b592d264 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-20Bump low-level-can-generatorRomain Forlot1-2/+3
Change the version to stick to AGLVERSION value * 9a441da - Adds CAN FD flag on message object. * e2a6bd1 - Ability to use custom encoder for CAN signals * 6a3e853 - Migrate app-templates to CMake module * a422520 - Add boolean to set receive state of diagnostic message. * d844c48 - Fix: git repo url in documentation. * 92f9538 - Change default installation directory Change-Id: Ibdfb2f82d4211d4c9b1955c8524c424599bc07a4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-20Bump cmake-apps-moduleRomain Forlot1-2/+2
Change the version to stick to AGLVERSION value * f3ce787 - Avoid a target to link against itself * d07e9a1 - Add option to preserve links during copy * 3987620 - Tiny fix about packaging for openSUSE distribution * 918ec8e - Point to SDK sysroot files first instead of native * c631646 - Install docs and sample files in a separate dir * c815f74 - Link with defined project libraries dependencies * 95c2479 - Update installation abstract instructions * f7307e9 - Revert "doc: Improve formatting" * 60b0f45 - doc: Improve formatting * b895ea4 - Allow overwritting the installation directory * 742695d - Fix crosscompile installation Change-Id: Ia520aba9a401251d1a5d8ae3cd7b9ab28403f133 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-23Bump cmake-apps-module revision.Romain Forlot1-5/+3
This bump is mainly done to allow to select test verb to call from the test widget on a board by improving the widget launcher script and fix the installation in all build environment cross-compile as well as native. * 742695d - Fix crosscompile installation * 81bd8f3 - Use target name as output name by default * 8e59ed2 - Explain why add_subdirectory raise error * 87b8529 - Fix indentation * ff77dd1 - doc: Fix sample of SET_TARGET_PROPERTIES * 53db393 - Packaging: find version from command line argument * 5bc5dc9 - Fix: find the cmake project files. * c38e321 - Fix: version variable detection. * b418056 - Missing mandatory variable in the CMake sample file * cf912a4 - Update docs * 1156b45 - Reordering files inclusion by the module * 5f06de0 - Adding packaging files * dcdff18 - Merge "Fix: missing files in test widget" * 381098a - Fix: missing files in test widget * 35d5206 - Upgrade the autobuild script * 8c25030 - Install the module in the system cmake path * 28dc5cc - Select the test set to run Change-Id: Ie17d150a4756cc219e310a61590945128d7a0a90 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-29Add CMake Apps module recipeRomain Forlot2-1/+25
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-10Fix do_rootfs eats huge time on docker environmentTadao Tanikawa4-0/+304
RPM is causing a serious performance regression on Docker. Docker can set ulimit -n to 1048576 but it causes huge time consumption when thousands of packages are installed like bitbake agl-demo-platform. This issue is already resolved in upstream of RPM and yocto follows it at sumo, so backporting it into Flounder. (From OE-Core rev: 6ecb10e3952af4a77bc79160ecd81117e97d022a) Bug-AGL: SPEC-1622 Change-Id: Ia8d97daea663f9682928a14ab84199ed6fda6d61 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-24Add the afb-test binding in the devel AGL imageRomain Forlot1-0/+1
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-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-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-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-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-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller2-0/+1
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-20Introduce meta-agl-profile-core and meta-agl-profile-graphicsJan-Simon Möller8-0/+158
Rework towards agl profiles. This change is part of a series of changes to create the AGL profiles. This set will mainly introduce the 'core' profile. It is setup to be a drop-in change, thus some files were kept in (dummy) locations for now. However, they'll be taken care of in the next changes in this series. The main target of the meta-agl-profile-core layer is to host: - a minimal, bootable image with network and package management enabled -- agl-image-boot - a minimal image with network and packagemanagement and the AGL APIs -- agl-image-minimal The layer meta-agl-profile-graphical is used as superset of these and includes support for egl+wayland+weston. All recipes concerning graphics were moved there. This is not a full profile as we still have to migrate some parts of meta-agl-demo in a follow-up changeset. The roadmap as discussed during the F2F session in Karlsruhe is: - week 16 : core profile and profiles w/o graphics - week 17 : graphical profiles - week 18 : final conversion of the demo image v2: moved agl-login-manager from -graphics to -core (see Jose's comment) v3: moved back after discussion - follow-up in separate changeset Change-Id: Idacb0d1274baac1f63f8d1b850d4b1104ac33918 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>