summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-05-22Fix nss-localuser postinst scriptlet to run only on the targetJan-Simon Möller1-1/+1
Otherwise we fail on do_rootfs now. Bug-AGL: SPEC-3385 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I80ff8c6eeec20d65de8bec770a1950bca3a43002 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24529 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-05-07af-main & af-binder: Fix infinite loop and C++José Bollo2-2/+2
af-main: Fix an infinite loop when starting applications * 4818e6c afm-urun: Fix infinite loop on start status af-binder: Fix a missing header when compiling C++ * 68de506 Fix includes of C++ header Bug-AGL: SPEC-3323 Bug-AGL: SPEC-3358 Change-Id: I6a4a82e182914777a877e525fb5be882a224f069 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-04-26Fix a parallel make bug of opencv in CI envJan-Simon Moeller1-0/+3
I cannot reproduce it outside of the CI env, thus limited to CI for now. https://build.automotivelinux.org/job/ci-platform-meta-agl-verify-CIB-aglcompositor-qemux86-64/65/consoleFull Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7168136045766006d62c691d10f7148bc299d0d0
2020-04-25Add mailmap file to ease git statisticsJan-Simon Moeller1-0/+3
This avoids duplicate entries due to special characters. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7636f12bf16b3a9dba1f78732bdaffd8ea8c3694
2020-04-22templates/feature/agl-compositor: Include SRCREVsMarius Vlad1-0/+6
It seems that in CI, yocto fails to retrieve the correct branch, presumably due to the SRCREV pointing to HEAD of the agl/master branch instead of the one by directly specified. This patch uses the SRCREV from sandbox/mvlad/agl-compositor to make it resolves correctly the branch and implicitly the fetch succeeds. With it, this adds further dependency of wayland-scanner for launcher application, as to able to activate applications with the agl-desktop-shell protocol. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie6a559be56702843abdb580ec66998b6b4c3f978 (cherry picked from commit 3f746bbb527542ef65e9d9829d4ca00ea1fb9901)
2020-04-18Post release change of the distro configurationJan-Simon Moeller1-2/+2
The merge window for 9.0.2 is open. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I36bdae8b2fc9f19d6cc0b68b49ff8c9d9d6edb4e
2020-04-08Cut icefish 9.0.1 releaseicefish_9.0.1icefish/9.0.19.0.1Jan-Simon Möller1-3/+3
Change the distro configuration for Icefish 9.0.1 . Change-Id: Ia3774cd853df48cbcbfbeba28db387cdc1fba095 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-04-08Fix dependency issue around mesa and egl in weston_6.0.0Jan-Simon Möller1-2/+2
Fix issues like: ERROR: weston-6.0.0-r0.agl_arago_23 do_prepare_recipe_sysroot: The file /usr/lib/libglapi.so.0 is installed by both mesa-gl and ti-sgx-ddk-um, aborting ERROR: weston-6.0.0-r0.agl_arago_23 do_prepare_recipe_sysroot: Function failed: extend_recipe_sysro by applying the solution from recent upstream versions. Bug-AGL: SPEC-3320 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I4b56f13ead056b7a63be70b9116d744916719e82
2020-04-06Post release bumpJan-Simon Moeller0-0/+0
Preparations toward 9.0.1 in progress. Change-Id: I7f9bc08d5d51bc0b25223b81ebe993d8e2db6ec6 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-03-31agl-sota: Extend 50_setup.sh for Raspberry Pi.Patrick Vacek1-0/+2
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Change-Id: Ifdb2281a9740f9c362aef9ab585959679050826d
2020-03-18qtlocation: revert Mapbox API calls to 256x256 tilesMatt Ranostay1-1/+1
Newer API uses 512x512 blocks by default, but we need to use 256x256 to avoid tiny font as QtLocation expected the latter sized tiles. Bug-AGL: SPEC-3264 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Change-Id: I12e926fea5c527f7be2f33beb68d67b68a3b7873
2020-03-18qtlocation: add Mapbox patch to use new APIMatt Ranostay1-0/+47
On June 1st the Mapbox Studio Classic API will be disabled, and thus the current QtLocation plugin needs to be updated to allow access to the new API Bug-AGL: SPEC-3264 Change-Id: I3799de4886b83d896d10b2ee97d15f604875b97e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-03-18agl-sota: Fix UART issues for Raspberry Pi 3Leon Anavi1-0/+5
rpi4 and recent rpi3 firmwares need dtb in /boot partition so that they can be read by the firmware. This fixes UART issues for Raspberry Pi 3. For branches based on release Thud this fix is not present in meta-updater. Bug-AGL: SPEC-3130 Change-Id: I082cae9b8fcbb2d8d87173e9f402d77424c13a02 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-03-18rpi4-base.inc: KERNEL_DEVICETREE for rpi4 and sotaLeon Anavi1-0/+4
Use different dtb and dtbo files for Raspberry Pi 4 when agl-sota is enabled. This modification is required for successfully building a kernel because in AGL machine raspberrypi4 is for 64-bit image and in class sota_raspberrypi layer meta-updater the same machine name is targeting 32-bit image. Bug-AGL: SPEC-3130 Change-Id: I5fd4bccfe605fea4e14499183279032a8bf0562e Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-03-18agl-sota: Set initramfs fstype to cpio.gzLeon Anavi1-0/+1
Set initramfs fstype to cpio.gz in 50_local.conf.inc (included in local.conf) when agl-sota is enabled. Bug-AGL: SPEC-3097, SPEC-3130 Change-Id: Iaa92d127aa6dddd6c6bc843cf3ee40e816d9e191 Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-03-18linux-agl: add pfifo patchset for fixing CAN failuresMatt Ranostay4-0/+109
Backported upstream patchset to fix CAN failures with SocketCAN * net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware Additional patchset for 4.14 kernels to bring in needed if_afp.h header Bug-AGL: SPEC-3171 Change-Id: I1ddb75d1aca64861cfc52f1df4ff810bd0367ab9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-03-13af-binder: fix bug in reconnectionJose Bollo1-1/+1
When the client reconnected, it used the wrong type and reconnected as server leading to unexpected state with faults. Include: * b15edc1 afb-stub-ws: fix bug in reconnection Bug-AGL: SPEC-3272 Change-Id: I3ad0987be094527f2a3a980a3a99f397b704f3ee Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2020-03-12af-binder: bump and fixesJose Bollo1-1/+1
Includes: * 862fb68b Fix globset compilation warning * 00b0c28f Add gitreview file for icefish branch * 44c40eaa Improves compatibility with AddressSanitizers * ad15fdb2 Fix bug in session and token removal * 38c6516c Fix a tiny issue in the protocol * 591f9d33 Fix bug in C++ wrapper Bug-AGL: SPEC-3040 Bug-AGL: SPEC-3134 Bug-AGL: SPEC-3162 Bug-AGL: SPEC-3220 Change-Id: I975d0130fe2ebefd75decf2ac84b9c5cee1fb622 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2020-03-11Post-release change of distro configurationJan-Simon Moeller1-2/+2
9.0.0 is out. Bump the distro configuration. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia03ad1a801ef75c9c2d52174a52b44f9c1c17c3d
2020-02-20systemd: add configurable can-termination optionMatt Ranostay2-0/+98
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: Idb182a7c23196f77c65d38dec8a771a734810d86 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
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-17Prepare Itchy Icefish 9.0.0icefish_9.0.0icefish/9.0.09.0.0Jan-Simon Moeller1-3/+3
Change the distro configuration for Itchy Icefish 9.0.0 . Change-Id: Ib9647c85cec34472aa1dc8b86cde0d9993981ea2 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-02-15agl-compositor: Update SRCREV (icefish)Marius Vlad1-1/+1
This includes the following changes: - facb744f37e Update .gitreview file - ca5e2aec22c meson.build: Allow to build/install locally - ed4a9b0d9c5 meson.build: Enable Wextra and transform warning messages into errors - 191dc29c7d0 main: Avoid warning on un-initialized display - b43a012824a shell: Add a black surface in the fullscreen layer - 433edac095b desktop: Remove the surface in all cases - ab2e660c891 desktop: Reset the active surface - f8457f6d623 shell: Allow the client shell to unbind/rebind to agl-shell interface - 08ea4a2fec7 layout: Do not delay mapping of desktop surface until commit time - 3950b7e787c layout: Use the background's surface ivi_output when activating apps by default - ffd00ab3a05 ivi-compositor: Add systemd notify message - 219a513fd95 shared: Add some regular helpers - e5027ce09a4 layout: Force a repaint of the entire output - 0e47c84e348 layout: Print out when adding panels/background - 2d7243208d3 src/: Add basic support for app switching Change-Id: Icb133cd36f8f9842748d1aaa67404ff5d7cc582d Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2020-02-15af-main: Fix setting of /run/userJosé Bollo1-1/+1
Includes: * ec6b0a7 system setup: Fix settings on /run/user * 381a097 Update .gitreview file Bug-AGL: SPEC-3175 Change-Id: I41f7d3665ec161b7ae6bdbc19ad4ac3616b375c1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-02-15cynagora: Fix protocol and start issuesJosé Bollo1-1/+1
Includes: * 384f2e7 Fix bug on unknown commands * 68ccab4 Fix a bug in protocol * 218dad2 Change cynagora service * d73ac5e Add .gitreview file Bug-AGL: SPEC-3002 Bug-AGL: SPEC-3166 Bug-AGL: SPEC-3168 Change-Id: I671296d7f6512c1fcf2abda3bd707fbda1c63446 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-02-15Smack: Improve safety of signal policyJosé Bollo1-0/+1
This change enforce task to have `append` Smack's capacity (instead of `write`) to send a signal to an other task. Bug-AGL: SPEC-1780 Change-Id: I79687fcd0242db591255646d3b5c545badea3d47 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-02-15security-manager: Restrict socket accessesJosé Bollo2-0/+35
Ensure that only members of the group and the owner can access the security manager. Bug-AGL: SPEC-3146 Change-Id: Ia529be6b4ef425d03be31f0d2e2d623fa6ac091e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-02-14Fix SOTA build for build other than qemuRonan Le Martret2-1/+24
- The meta-updater-qemux86-64 must be add only for qemu build. Change-Id: Iebdeddd869b2fca88467acd6983826b4f7e49de1 Bug-AGL: SPEC-3097 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-02-12Set AGL_BRANCH to icefishJan-Simon Möller1-1/+1
The icefish branch is live. . Change-Id: I839b919fcdfa9b58992e3ad154713369c630d619 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-02-11Add defaultbranch=icefish to gitreview fileJan-Simon Moeller1-0/+1
Update .gitreview to have the defaultbranch= tag. This simplifies changing the branches. . Change-Id: I1b421c46039fede2be67a070632d5bd8ea437a3c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-02-06Change distro-configuration after Icefish rc5Jan-Simon Moeller1-2/+2
. Change-Id: I036bfbbce92d8d06f1774af110b3bf3c7d35d706 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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-29Change distro config for Icefish rc5icefish_8.99.5icefish/8.99.58.99.5Jan-Simon Moeller1-3/+3
Adapt the AGLVERSION. . Change-Id: I5474b033e2dcdd69a645e33e5f4260c2b9260ce3 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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-29templates/feature/agl-compositor: Allow to test experimental agl-compositorMarius Vlad1-0/+14
Facilitates testing the client shell (homescreen) with the newer agl-compositor, but only enabled when DISTRO_FEATURES has 'agl-compositor'. Uses a WIP branch for it. Regular clients, like hvac, mediaplayer, launcher and navigation-demo also use the WIP branch. This modifies the conf/local file so it either needs a clean build directory or it requires an override of the conf/local when sourcing the aglsetup script. Bug-AGL: SPEC-3123, SPEC-3124 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ice650b5b61ebd1e1a35f045301c14e0bedda3a05
2020-01-28af-main: Improve Smack setupJosé Bollo1-1/+1
Improve setup for solving access issues While developping the binding afb-test, the export of the binding afm-test, using "provided-binding" feature revealed to be broken because of security setup. Bug-AGL: SPEC-2795 Change-Id: I0af4a46aaa191cad167a332ebb2d14ebbfe04c6a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-01-28af-main: Use xdg-shell-v6 for agl-compositorMarius Vlad1-1/+3
As we're using xdg-shell-v6 instead of ivi-shell for agl-compositor and applications, make the transition much easier (that is, having a fully bootable workable image) by making it default when the DISTRO_FEATURES specify it. Bug-AGL: SPEC-3128 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1bf1546d3cfab14b1b4b76199ba60207c984d69f
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 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-21libqtappfw: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: cd1a7f3 libqtappfw: add initial HVAC support cd5c8fe Add initial voice-capabilities binding support 68cb7fe voice: remove workarounds for broken vshl-core event JSON Bug-AGL: SPEC-3084, SPEC-3110, SPEC-2984 Change-Id: I93bd9bf25e9f15cc163a2b531794369480265b6a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-21Extend qemux86-64 images to support real hardwarePaul Barker3-12/+7
* Build wic images for qemux86-64 which can be written to a USB stick or SD card. * Support both virtual and physical displays for all qemu targets. * Use a wks file which works on both virtual and physical machines. EFI is now required to boot the VMDK image. * Drop inclusion of `microcode.cpio` in the boot partition in the wic file `systemd-intel-corei7-64-bootdisk.wks`. This file is not available for qemux86-64 images and is not strictly necessary. Bug-AGL: SPEC-2931 Change-Id: Ib3982906e52d3a964a921c9a2234cab697fe0551 Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-01-10af-binder: UpgradeJose Bollo1-1/+1
This upgrade of the binder includes improvement in event handling (SPEC-3069) and minor fixes. Unscription should now be immediately effective as expected, no matter how many subscribe was done. Included commits: * 8828c6be main-afb-client-demo: Fix typo * f3d1f19a afb-apiset: Fix start of apis * 18d28239 AFB.js: pass event name * ca0f859d afb-proto-ws: Improve comment and names * f40979c7 afb-proto-ws: Add message for unexpected event * c6fcbec3 afb-evt: Improve name of listening functions * 36ed9d2e afb-evt: Ensure unsubscribe works * 164f1414 afb-ws-client: Improve direct URI * 65353dce Update copyright dates Bug-AGL: SPEC-3066 Bug-AGL: SPEC-3069 Bug-AGL: SPEC-3087 Bug-AGL: SPEC-3094 Change-Id: I499643564a1026f54b7cfd68f73352561e1d8649 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-30Update dependencies of agl-service-can-low-levelJan-Simon Moeller1-1/+1
The upcoming changes require a new dependency to be added to the recipe. Bug-AGL: SPEC-3078 . Change-Id: Iaf1954075903fcbbf414f024fce7b521e00c9017 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2019-12-30dev-mapping: Add RPROVIDES mechanismScott Murray3-5/+8
Add RPROVIDES and PREFFERED_RPROVIDER definitions to define a new virtual/low-can-dev-mapping runtime package dependency that will enable providing a different device mapping configuration for demo setups. Bug-AGL: SPEC-3076 Change-Id: I73d253a0a1285dd4576bb3b5bf04568c3d05e60c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-29libqtappfw: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 95e3f5a Merge "voice: add vendor name to voiceagent model" 68e84b1 radio: Make sure min/max frequency are initialized edb90cd voice: add vendor name to voiceagent model Bug-AGL: SPEC-2981, SPEC-3041 Change-Id: I30582015b13721c8bf54386404f7e67a978bc016 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-28Update distro configuration post-rc4Jan-Simon Möller1-2/+2
Itchy Icefish rc4 is out. The merge window for rc5 is open. Change-Id: I7cf6aee8b43db5fa7159d8fa0dbc1b9c97edced8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-12-20Change the distro config for Icefish rc4icefish_8.99.4icefish/8.99.48.99.4Jan-Simon Möller1-3/+3
Due to a critical bug in rc3, we'll do an early rc4. This changes the distro configuration. Change-Id: I25cb3fa513a66e26b443e986641cddf42a303e94 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-12-20af-main: Fix allocation of idsJose Bollo1-1/+1
The allocation of ids and ports was broken because ids was not well scanned since commit 6008a3e Bug-AGL: SPEC-3068 Change-Id: Ia92a9c05e99ba1b62856d1610d2a91c9693c35e2 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-20af-binder: Fix a critical bugJose Bollo1-1/+1
This fix a critical bug of the binder that lead to memory crash and instabilities. Bug-AGL: SPEC-3066 Change-Id: Ied3756fb7cf0dea423cda1c8367510fc175ab447 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>