aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core
AgeCommit message (Collapse)AuthorFilesLines
2020-09-11meta-agl-profile-core: update pyagl SRCREVScott Murray1-1/+1
Update pyagl SRCREV to pick up: bc241e8 hwrequired marking of audiomixer tests 6cffabd Improve LAVA output Bug-AGL: SPEC-3572 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I09aa6e306940d6b32517897b176bc50bbb0ca691 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25242 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-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 Murray5-0/+69
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-31Remove eclipse integration from agl-develJan-Simon Moeller1-1/+1
The eclipse plugin is no longer actively supported upstream. Remove the plugin from agl-devel. Bug-AGL: SPEC-3555 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I455472cd93fb4db93e72c5be91f66bddc4b7e460 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25165 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.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-20Enable J1939 support for qemu machinesScott Murray1-0/+4
Tweak the can-bus.cfg kernel configuration fragment to set CONFIG_CAN_J1939, and add an over-ride in the agl-service-can-low-level recipe to enable J1939 support on qemu platforms where we know we have a 5.4 kernel where it will work. Bug-AGL: SPEC-3538 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I16e77a70794dd79ac37139dd19b15a9e131cbf3e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25139 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-11Fix package license to Apache-2.0ZhongLu1-1/+1
As this package is developed by IOT.BZH originally from scratch, it should be licensed under Apache-2.0. related patch: yhttps://gerrit.automotivelinux.org/gerrit/c/apps/agl-service-data-persistence/+/24894 Bug-AGL: SPEC-3440 Signed-off-by: ZhongLu <zhongl.fnst@cn.fujitsu.com> Change-Id: I1323e28a3b39ff1c22ac40bcc7fb4fa86cf6e23c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25067 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-07-21meta-agl-profile-core: fix afb-test LIC_FILES_CHKSUMScott Murray1-1/+1
The previous update to LIC_FILES_CHKSUM in afb-test was incorrectly pointing at a non-existent file, update to point at the newly renamed file in the actual source tree. Bug-AGL: SPEC-3440 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifc61e9287ceb7e9d76abee5635dee53fd2920c57 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25036 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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>
2020-07-20Follow-up change to change of LICENSE fileLi, Xiaoming3-3/+3
The LICENSE file of these repos has rename modification. Adapt the recipe to follow. Change-Id: I327d02f57eb7e3bb2aece5f1361dc4899da5587a Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25032 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-15Follow-up change to change of LICENSE fileJan-Simon Möller1-1/+1
The LICENSE file of the agl-service-data-persistence has been adapted to Apache-2.0. Adapt the recipe to follow. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I00826cbc21f20288642313522c442516fe284157 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25019
2020-07-08facilitate start up without bluetooth controllerRaquel Medina1-1/+1
Add prefix '-' in the bluetooth service ExecStartPre directive, to allow for errors: hciconfig will return an error if there's no controller in the system. Bug-AGL: SPEC-3301 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Id4d5de549e73fe8f744681b33debd6043e1bc9ba Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24952 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-27Add distro-build-manifest per image instead of packagegroupJan-Simon Möller1-1/+0
Adding distro-build-manifest in the packagegroup-agl-core-boot does trigger rebuilds of the packagegroup if the manifest changes. Avoid this by adding the manifest directly in the images only (e.g. agl-demo-platform). This prevents multiple tasks from being triggered and saves time. Also this recipe is *not* reproducible by design (timestamps, layer hashes). Bug-AGL: SPEC-3456 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I8c7f6c922465ae5fe08013b0df6f4f6fbcac36ae Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24890 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-06-26meta-app-framework: rework aglwgt.bbclass to solely use autobuildScott Murray1-4/+4
Changes include: - OE_QMAKE_STRIP definition added to re-enable strip so it will work for qmake based widgets. - AGLWGT_HAVE_TESTS and AGLWGT_PACKAGE_WARN changed to use 0/1 instead or true/false to match more typical OE flag usage. As well, their definitions are now done with ?= to make over-riding more straightforward. - The AGLWGT_AUTOINSTALL_${PN} variable has been renamed to just be AGLWGT_AUTOINSTALL, and a default definition has been added to make the behavior more explicit. There is only one in-tree user (the agl-service-can-high-viwi binding), which is currently not built and has been slated for removal, so this change is thought to have no impact. - A new AGLWGT_CMAKE_CONFIGURE_ARGS variable has been added with a definition derived from what is used in cmake.bbclass, and a combination of anonymous python and a prefunc is used to append its value to AGLWGT_EXTRA_BUILD_ARGS if cmake.bbclass has been inherited. This fixes issues with e.g. widgets that use CMake and Qt5, as the Qt5 CMake modules seem to have issues with finding module includes if the generated toolchain.cmake and OE_CMAKE* values are not passed down to CMake. - The do_aglwgt_package and do_aglwgt_deploy tasks have been converted into aglwgt_do_compile and aglwgt_do_install, and aglwgt_do_compile now calls autobuild to build and package all widgets. This fixes a lot of inconsistencies with respect to the debug/test/coverage widget build environment that were seen with the previous approach. - Logic has been added to clear out the target build directory (${B}) if it is not the same as the source directory (${S}) to match the behavior of do_configure in cmake.bbclass. - All autobuild invocations are now done with the working directory being the build directory (${B}). If a widget build for some reason needs it to be inside the source tree (i.e. ${S}), as before, it should either over-ride the value of B in its recipe, or change directories in its autobuild script. An example of widgets that this affects are the html5-* applications, their autobuild scripts have been appropriately updated. - The BUILD_DIR* output directory arguments passed to the autobuild script now point into ${B} and not ${S}, to ensure that the widget source trees are not contaminated if at all possible. It is believed that the previous rounds of autobuild script rework have addressed the need to support this in all in-tree widgets. - The do_install_bbappend in the agl-service-network binding recipe has been updated for the change to build output directory location. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I88ca33ad7a460436008442a3a8f1adf197f5a669 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24884 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-06-25Remove unused config include for pulseaudioJan-Simon Möller1-1/+0
Cleanup. Bug-AGL: SPEC-3452 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I0664d1374b613e126e9e4524dd377b911346890e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24870 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-06-24Remove unused pulseaudio bbappends and pluginsJan-Simon Moeller10-1330/+0
This is not actively used for a long time. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I93f8c339e12837fac9dcedd51bb26f889d850e34 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24811 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-06-17afb-test: use AGL_APP_REVISION as SRCREVScott Murray1-1/+1
Switch afb-test recipe to using AGL_APP_REVISION as its SRCREV as all the other binding recipes do. This change picks up commits: 50911c8 Update autobuild scripts ac22860 Change skip test verb Bug-AGL: SPEC-2049, SPEC-3343 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia148127ed90d900f021023fba99700f97925328e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24776 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: 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>
2020-06-10meta-agl-profile-core: remove agl-service-steering-wheelScott Murray1-14/+0
Nothing in-tree uses the agl-service-steering-wheel binding, which was specific to one particular older demo setup with a USB steering wheel peripheral. As well, it has never been converted to use the CMake app templates, and thus lacks proper support for building debug/test/coverage widgets. To ease maintenance effort and keep the core set of APIs cleaner, remove it. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib0f33886b251397db1d63e7174f23daabf31d7ad Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24679 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-18Rework test/debug image features and crosssdk image definitionsScott Murray4-35/+19
Changes include: - The agl-test-wgt/agl-devel-wgt image features and the scheme of appending to their FEATURE_PACKAGES definitions turned out to be problematic with respect to resulting in unexpected extra packages ending up in agl-image-{minimal,ivi}, etc., when building with agl-demo configured (which is typical usage). To avoid this, the FEATURE_PACKAGE definitions for the image features have been replaced with tweaks to define COMPLEMENTARY_GLOBS for the features to bring in the test/debug/coverage packages via that mechanism. - The above removes the need to define the extra test/devel packagegroups, and requires some minor tweaks to aglwgt.bbclass to use a -debug package for the debug widget instead of -dbg, to avoid collisions with the dbg-pkgs image feature. As well, the afb-test package has been added as to RDEPENDS of all test widget packages, since that seems sensible and avoids needing to explicitly adding it elsewhere. - Attempt to rework the various crosssdk image definitions to use a layered set of .inc files to remove duplication and ensure that additions to the SDK are declared once in the appropriate profile. It is likely that a clean sheet implementation would have some things coming from meta-agl-profile-graphical, so further rework may be required/desired to continue cleaning things up. Bug-AGL: SPEC-3300, SPEC-3375 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I942b61501beb41d037001b70a501f90b9a59c45d
2020-05-12Widget packaging reworkScott Murray4-6/+22
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-04-27meta-agl-profile-core: update psplash for dunfellScott Murray4-54/+2
Remove local systemd enablement changes for psplash in favor of using upstream support added in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I13a4b2523fe869898b2ccede793afd0cdefbab88
2020-04-27meta-agl-profile-core: update systemd for dunfellScott Murray1-17/+14
Update systemd-networkd CAN termination feature patch for systemd 2.44.3 in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6fb2aed1870f4a3f946b1b0e8c0f5ec942252e33
2020-04-27meta-agl-profile-core: update bluez5 for dunfellScott Murray2-27/+0
Remove patch now present in bluez5 5.54 in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ief1048638cad9f9d57738830ced91c0d828be79f
2020-04-27meta-agl-profile-core: update pulseaudio for dunfellScott Murray8-1/+1
Update pulseaudio bbappend for pulseaudio 13.0 in dunfell. Currently untested since pulseaudio support is deprecated. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5bba29a724710c144ab543c01e7b3f54e29b6a72
2020-04-27Declare layer compatibility for dunfellScott Murray1-1/+1
For the upgrade to YP dunfell/3.1 we need to update the layer compatibility. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ieb1ac9ef1f48f077c9cd312c4ac295ae1cc062b0
2020-04-25meta-agl-profile-core: remove high-level-viwi-serviceScott Murray1-19/+0
The high-level-viwi-service recipe has been replaced with an updated agl-service-can-high-level-viwi recipe in meta-agl-demo, so remove it. Bug-AGL: SPEC-3113 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I42cf43415e9dcdbc993fda0d966ff75ce3df0853
2020-04-10af-main: Sign widgets when agl-develJosé Bollo1-0/+3
This change introduce signature of widgets with sample keys and certificates of app-framework-main when the feature agl-devel is selected. It also shows how to sign widgets in yocto build environment, using WGTPKG_AUTOSIGN_X environment variables. v2: Use an own agl feature for the signing and not agl-devel This allows us to switch it on selectively. Bug-AGL: SPEC-2840 Change-Id: I8f66c25a2ae62ad2365c7cdb995049c00b7c780a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-03-31Use top-level LICENSE files for each repoJan-Simon Moeller3-0/+333
We re-use the OpenEmbedded / Yocto Project style to declare the licenses more prominently in the top level folders. LICENSE is derived from poky's LICENSE file. Bug-AGL: SPEC-3295 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I059b5b42beb0d422ad2e679e958588240b5d8989
2020-03-21Only compress vmdk in AGLCI and extend inclusion of driversJan-Simon Möller1-1/+2
To save space and download bandwith, we use the compressed format in CI. Also adapt the inclusion of the guest drivers to the compressed image. Bug-AGL: SPEC-2771 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I140fb31954be5ec2b46596a9816087d3fb670416
2020-03-18Fix build issue in bluez5 bbappend fileJan-Simon Möller1-1/+1
The commit b1c5541c2 introduced a 'mkdir -p ${systemd_system_unitdir}' which should be prefixed with ${D}. It produces a build error (permission denied on do_install). Fix it. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ife8b374379937e87cf3c045f105c3eb121f0941d
2020-03-12bluez: workaround aclmtu issue on OBEX transfersMatt Ranostay2-0/+24
Default MTU of 310 causes PBAP/OBEX transactions to timeout before completing the entire transfer from coming from paired iOS device. Change this to 930 to avoid timeouts. This is a workaround till a better solution is devised. Bug-AGL: SPEC-3206 Change-Id: I48bdc6107ac9176397bc0137496946c42b1c95d7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-03-11Remove network config fragment deployed by upstreamJan-Simon Möller1-0/+4
Upstream YP/zeus unconditionally deploys a network config fragment for systemd-networkd. This breaks our CI builds as it races with connman and netboot. At least it does disturb the network enough for netboot to fail. We have a nicer solution for that in-tree that we will upstream. Until then, we remove the config file from our filesystems. Bug-AGL: SPEC-3233 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I9e8343e77af378c058702b13fe000a344e6a1ef9
2020-02-27systemd: add configurable can-termination optionMatt Ranostay2-0/+111
Some CANBus adapters allow turning off/on of the termination resistor. This patchset allows .network scripts to select this value with Termination= Bug-AGL: SPEC-3171 Change-Id: I33e71c44e32555ad5f5b0a7c8e6514df540a4266 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-02-27bluez5: change obexd --root path to avoid SMACK issuesMatt Ranostay2-0/+13
On startup obexd attempts to read from %HOMEDIR%/.cache/obexd or create the respective directory. Which is really not needed but causes failure to start with SMACK failures, and so workaround this by setting the parameter --root=/var/volatile/tmp Bug-AGL: SPEC-3206 Change-Id: I8b39a91d8d095d94b903a6607f6960f38ed08b5d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-02-27Bump cmake-apps-module app-afb-test can-high-levelFrederic Marec3-3/+3
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-02-26most: Fix build on 5.4 kernelsPaul Barker2-0/+69
Add the new style CFLAGS assignments without removing the existing, old style assignments which are needed for earlier kernels. Bug-AGL: SPEC-3205 Change-Id: I64db9a8fb11e028eafbffcbee3e88694ce8e5d53 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2020-02-21Merge remote-tracking branch 'agl/next'Jan-Simon Möller35-1247/+132
* agl/next: meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernels meta-agl-profile-cluster-qt5: disable qtbase patches zeus updates for dragonboard-410c meta-security: activates dbus-cynagora recipes-graphics/wayland/weston: Expose weston_output_damage() meta-agl-profile-core: tweak udisks2 configuration for AGL meta-agl-bsp/meta-arago: update weston bbappend [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Split ADSP path for ulcb and ulcb-kf Fix nss-localuser post install meta-agl-bsp: meta-raspberrypi: handle zeus upgrade meta-agl-profile-core: add patch for systemd-udevd SECLABEL crash meta-security: disable dbus-cynara patches meta-agl-bsp: handle ptest-runner upgrade meta-agl-distro: Add inc file for next branch over-rides meta-agl-distro: BBMASK problematic upstream meta-security bbappend meta-agl-distro: prefer linux-yocto 4.19 LTS kernel meta-agl-profile-graphical-qt5: enable qt5location services meta-agl-profile-core: update most recipe meta-agl-profile-core: update neardal recipe Update base local.conf.sample meta-agl-profile-graphical: don't always build agl-compositor meta-agl-profile-graphical: update weston and weston-init meta-agl-profile-graphical: update wayland-ivi-extension for weston 7.0.0 meta-agl-distro: add polkit to DISTRO_FEATURES meta-agl-profile-core: update fontconfig bbappend meta-agl-profile-core: switch to udisks2 meta-security: handle systemd upgrade meta-agl-profile-graphical-qt5: handle qtwayland upgrade meta-agl-profile-core: handle freetype upgrade meta-agl-bsp meta-agl-profile-core: upgrade to opencv 4.x meta-agl-profile-core: update rtl-sdr recipe for zeus meta-security meta-app-framework: handle xmlsec1 upgrade meta-agl-profile-graphical: upgrade to gstreamer 1.16 meta-agl-profile-core: remove libmicrohttpd backport meta-agl-profile-core: remove backported curl and nghttp2 recipes meta-agl-profile-core: remove libnfc recipe meta-agl-profile-core: remove connman backport meta-agl-profile-graphical: remove weston 5.0.0 patches meta-agl-profile-core: remove old glibc patch meta-agl-bsp/meta-intel: remove linux-firmware_git.bbappend meta-agl-bsp: remove weston and wayland-protocols backports meta-app-framework: remove libzip recipe meta-security: remove keyutils recipe Declare layer compatibility with zeus Change-Id: Ie8ee1e37958279e7cf2d503c54ffacb46ba0c31c
2020-02-19systemd: canbus: add RestartSec to network scriptMatt Ranostay1-0/+1
Add RestartSec=0.1 to canbus-can.network to allow recovery when bus-off error conditions occur. Bug-AGL: SPEC-3171 Change-Id: I4dc7ca9bd58666dc7a4e4a40f89af8bd47158193 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-02-11meta-agl-profile-core: tweak udisks2 configuration for AGLScott Murray2-0/+9
Per discussion on Arch wiki at: https://wiki.archlinux.org/index.php/Udisks#Mount_to_/media_(udisks2) add a udev rules file to tweak the UDISKS_FILESYSTEM_SHARED environment variable to configure udisks2 to use /media as used to be the default with the older udisks. This restores behavior to what is expected by the AGL configuration for lightmediascanner. Bug-AGL: SPEC-2932 Change-Id: I66fda10f71dea889f3cd06341d9daa809bec2aa5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-02-04Bump afb-testFrederic Marec1-1/+1
Update afb-test version to pick-up: 4d0948a afm-test target: change order of the script Bug-AGL: SPEC-2795 Change-Id: Ib02a542121550ac5ec28834993170c03af6ee060 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2020-01-29Bump libappcontrollerFrederic Marec2-2/+2
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-27meta-agl-profile-core: add patch for systemd-udevd SECLABEL crashScott Murray2-0/+35
Add a patch to fix a systemd-udevd crash when parsing SECLABEL tokens in udev rules. The issue was introduced by a rewrite of the rules parser in systemd v243. The patch will be upstreamed to hopefully go into one of the v243.x systemd-stable releases. Bug-AGL: SPEC-2932 Change-Id: I9a8c3cf3c386290b8ede6b5fd7319c590322bc16 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-27meta-agl-profile-core: update most recipeScott Murray4-68/+20
Update SRCREV in MOST driver recipe to pick up: e4dbbaf sound.c: Remove snd_pcm_lib_mmap_vmalloc As well, the following changes have been made to the bbappend: - the kernel version detection logic has been removed - the patch to support kernels older than 4.13 has been removed - the patch that was handling the snd_pcm_lib_mmap_vmalloc issue on kernels >= 4.19 has been reworked to add the required #ifdefs to support kernels < 4.19 for e.g. the rcar3 4.14-ltsi kernel. Bug-AGL: SPEC-2932 Change-Id: I388d186d04ccc017ff10b2024ae35ed22f7a8e36 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-27meta-agl-profile-core: update neardal recipeScott Murray1-3/+4
Update neardal recipe to not use a github archive URL in its SRC_URI, as this now triggers a QA warning due to such URLs being unstable. Instead the git repository is used with the corresponding SRCREV for version 0.14. Bug-AGL: SPEC-2932 Change-Id: I56eaf984d573df5314ffb982c517aec66ae2f115 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-27Remove systemtap from AGLRonan Le Martret2-1/+1
- 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>
2020-01-22meta-agl-profile-core: update fontconfig bbappendScott Murray1-4/+5
Update fontconfig bbappend to work with the newer fontconfig 2.13.1 in oe-core in zeus. Bug-AGL: SPEC-2932 Change-Id: I7dfbe73def6b461915cdfa0131e1a529e1d3a5fd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-profile-core: switch to udisks2Scott Murray5-72/+23
The udisks recipe was dropped from meta-oe in zeus, rework our bbappend to work with udisks2 which replaces it. Bug-AGL: SPEC-2932 Change-Id: I9ac1a25ee5a816d06874a5c859034f2c2758d117 Signed-off-by: Scott Murray <scott.murray@konsulko.com>