summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-04-20Update SRCREV for agl-compositorMarius Vlad1-2/+2
This brings up two major bits of functionality: the introduction of the agl-shell-desktop protocol, which should be used by regular application(s) to activate/switch other to other applications, and the introduction of the policy API and with it, a default allow-all kind of policy engine. In more details, the following changes have been included: - fcd71e034d378921e layout: Mark activated surface by default - 1ee1bff64338dede1 desktop: Remove the active surface only if matches the one being displayed - 0e66ee13b73e3ca21 meson.build: Increase the build version of agl-compositor - 721d4d4f73e5d30ce README.md: Start adding some light documentation on the policy part - 0a932bc7d66b062e6 layout: Allow by default to activate the application - 58a3fe5c292349916 policy-default: Install a default policy engine - 98457c49f5d777e40 policy: Init policy framework API - fe3358fa9b560a43e ivi-compositor: Use the helpers for array length - 6491e204fd4a9bd2d meson.build: Do another agl-compositor version bump - 72aa326d8f54ad75c meson.build: Install agl-shell-desktop extension - 786f91bd280b83049 protocol: Advertise the applications to regular clients - a35a7f2e5cc20bd40 protocol: Add agl-shell-desktop protocol This patch also installs the agl-shell-desktop XML file. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Icaec7e375242a0266383523806e5eca40d75b652
2020-04-15meta-agl-bsp: restore wic disk images for qemux86-64Scott Murray1-1/+4
The cleanup done in commit de577de9 ("Consolidation of AGL_DEFAULT_IMAGE_FSTYPES after review of machine use") inadvertently removed the wic.{xz,bmap} additions that were done in commit cdbe6578 ("Extend qemux86-64 images to support real hardware"). Add them to AGL_EXTRA_IMAGE_FSTYPES for qemux86-64 so that they will be available for use on physical hardware again. Bug-AGL: SPEC-2931 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7ea9cc195add6d015390c7b2b359234f0bfeaaea
2020-04-14meta-app-framework: update af-main SRCREVScott Murray1-1/+1
Update app-framework-main SRCREV in af-main recipe to pick up: 6c44e65 Merge "Update weston dependency in afm-system-setup.service" f86501b Update weston dependency in afm-system-setup.service Bug-AGL: SPEC-3309 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I62317a543ceba7bced2f40e512bfdaca01202b5f
2020-04-14Revert "agl-service-homescreen: update SRCREV"Raquel Medina1-2/+1
This reverts commit b8bc5c0f601c5a2f385b3141d2da5b13d0e04599 to roll back SRCREV for agl-service-homescreen. agl-service-homescreen's commit 055909f introduces the bug described by SPEC-3326. Bug-AGL: SPEC-3326 Change-Id: If983e353c72c8623700c46a1a34f1cd319a9fc45 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2020-04-10af-main: Sign widgets when agl-develJosé Bollo7-3/+31
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-04-09libqtappfw: update SRCREVRaquel Medina1-1/+1
Update SRCREV to pick up: e57b4f7: add missing overrides in ResponseMessage Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I5b7f06cbb0a76a87b9ead87054f00a08fd5d1446
2020-04-09agl-service-homescreen: update SRCREVRaquel Medina1-1/+2
Update SRCREV to pick up: 055909f: Update autobuild script to create new targets Bug-AGL: SPEC-2049 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I54668759153a2deedd14741412943e372f9c9262
2020-04-08meta-agl-distro: update x86_64 qemu configurationScott Murray1-1/+1
Replace the long ago deprecated and now no longer supported "-usbdevice tablet" option with the newer "-device usb-tablet" in the QB_OPT_APPEND definition in our local x86_64 tuning file. Without this, runqemu fails for the qemux86-64 target on dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I46fcbc615821e7ac54a913ca08b66abf2abaaa0b
2020-04-06meta-agl-profile-graphical: update weston-ready's weston dependencyScott Murray1-2/+2
When I switched AGL over to using upstream OE's template unit scheme for running weston as non-root for the zeus upgrade, I missed the dependency in weston-ready.service, update it to weston@display.service to match the new configuration. Bug-AGL: SPEC-3309 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0814ae0807bd8d9d6f27e9a0c2e1238f0e89ba7c
2020-04-01libqtappfww: update SRCREVRaquel Medina1-1/+1
Update SRCREV to pick up: 0ed292d: rework message hierarchy Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ia5999b139ee33d77169def4ecb9b1dd8a1d70d50
2020-03-31Use top-level LICENSE files for each repoJan-Simon Moeller36-0/+3996
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-31agl-sota: Add netboot to CONFLICT_DISTRO_FEATURESLeon Anavi1-1/+4
Netboot is not obeying usrmerge distro feature therefore it is not compatible with agl-sota. Bug-AGL: SPEC-3097, SPEC-3130 Change-Id: I8beda358df90b5fc052b68964f4c27379622f2d3 Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-03-30agl-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-23aglwgtbbclass: Minor improvementsJosé Bollo1-35/+45
Improve readability by using 'if' and by indenting correctly. Bug-AGL: SPEC-2840 Change-Id: I55065e0e4c7bf82a4e093544f30ca6eacf33b882 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-03-21Only compress vmdk in AGLCI and extend inclusion of driversJan-Simon Möller2-2/+3
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-19af-main: remove widget versions and fixes for zeusJosé Bollo1-1/+1
This removes the distinction between versions of widgets. This change can fix issue in starting of applications due to systemd changes (SPEC-3178) Includes changes: * dee2725 Update .gitreview file * 7f53b81 Merge "system setup: Fix settings on /run/user" * a855d14 Remove distinction of widget's version * 4f88827 Fix homescreen start on yocto/Zeus Bug-AGL: SPEC-3178 Bug-AGL: SPEC-2538 Change-Id: Ibce8316dd9513ad2f5d6d4f1fbea3119d78d0417 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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-18Enable classes for reproducible-builds in OEJan-Simon Möller1-0/+9
The reproducible_build class will use the SOURCE_DATE_EPOCH mechanism to preset a known timestamp during compilation of binaries to help ensure binary reproducability. With this mechanism we reach very good reuse across rebuilds with basically just 2 packages changed (and these are expected): dl9pf@elrond:~/repobuild-local/build-x86-64-repro> bitbake agl-demo-platform-crosssdk Sstate summary: Wanted 17 Found 8 Missed 9 Current 4282 (47% match, 99% complete) --------------------------------------------------------------------^^^ !! NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 10048 tasks of which 10025 didn't need to be rerun and all succeeded. -------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ just 13 tasks !! NOTE: Build completion summary: NOTE: do_populate_sysroot: 0.0% sstate reuse(0 setscene, 1 scratch) NOTE: do_package_qa: 0.0% sstate reuse(0 setscene, 2 scratch) NOTE: do_package: 0.0% sstate reuse(0 setscene, 1 scratch) NOTE: do_packagedata: 0.0% sstate reuse(0 setscene, 1 scratch) NOTE: do_package_write_rpm: 0.0% sstate reuse(0 setscene, 2 scratch) NOTE: Writing buildhistory dl9pf@elrond:~/repobuild-local/build-x86-64-repro> buildhistory-diff HEAD^ | sort Changes to images/qemux86_64/glibc/agl-demo-platform-crosssdk (files-in-image.txt): /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/checksum_data was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/checksum_type was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/command_line was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/from_repo was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/installed_by was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/reason was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/releasever was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64 was added /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/checksum_data was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/checksum_type was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/command_line was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/from_repo was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/installed_by was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/reason was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/releasever was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64 was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/checksum_data was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/checksum_type was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/command_line was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/from_repo was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/installed_by was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/reason was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/releasever was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch was removed /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/checksum_data was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/checksum_type was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/command_line was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/from_repo was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/installed_by was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/reason was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/releasever was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch was added Later, we will bump the default EPOCH timestamps with the releases/point releases. References: https://reproducible-builds.org/ Should be backported to halibut as well. v2: add change to distro configuration Bug-AGL: SPEC-2769 Change-Id: I83e1d92eadf838291f03a184a804a9b8b72f7809 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-03-18Consolidation of AGL_DEFAULT_IMAGE_FSTYPES after review of machine useJan-Simon Moeller13-23/+6
After reviewing what all machines actually specify as 'extra', the conclusion was that the actual 'default' is 'wic.xz' . Consequently make this the new default and remove it from the board configs. v2: add ext4/ext4.xz for netboot feature Bug-AGL: SPEC-2771 Change-Id: I082f87a07dcacb962d10efd90ba2476f87896302 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-03-18Support Salvator-X/XS boardDuy Dang34-23/+185
Add new machines to build with AGL: - h3-salvator-x-nogfx - h3-salvator-x - m3-salvator-x-nogfx - m3-salvator-x Bug-AGL: SPEC-3169 Change-Id: I0cfa838ad40f8afda01aeb693fbf595bad8b4730 Signed-off-by: Duy Dang <duy.dang.yw@renesas.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: * 7901c6d 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-12Enable Xen for m3ulcbJérémy Fanguède2-0/+7
Xen is enabled for the R-Car M3 ulcb board only. Note that it is optional to run Xen, the non-Xen binaries are still there and can be run exactly as before. Bug-AGL: SPEC-2912 Change-Id: Ica57afd4d067de4ed752c0c46a04e11584aeec41 Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
2020-03-12meta-rcar-gen3: Add Xen specific device tree for m3ulcbJérémy Fanguède3-0/+103
Provide a specific version of the device tree (appended with -xen) to run with Xen. Only the R-Car m3ulcb board is supported and tested so far. Add also the Xen block device backend support in the kernel, to be able to run block device based DomU. From U-Boot, Xen and Linux Dom0 can be run as follows (assuming binaries are in sdcard first partition): > setenv bootargs > fatload mmc 0:1 0x48080000 xen-m3ulcb.uImage > fatload mmc 0:1 0x48000000 r8a7796-m3ulcb-xen.dtb > fatload mmc 0:1 0x7a000000 Image-m3ulcb.bin > bootm 0x48080000 - 0x48000000 The Linux Dom0 bootargs are hardcoded in the device tree, the rootfs is expected to be on /dev/mmcblk1p2 Bug-AGL: SPEC-2912 Change-Id: Ia86e0789650eaf79d13691cf4f53755c8cb8f06c Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
2020-03-12libqtappfw: update SRCREVRaquel Medina1-1/+1
Update SRCREV to pick up: 5c75038: eliminate unneeded dependencies on public headers Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I78837377d13a24d3f16ba5c581f7d625e4d05b32
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-12qtlocation: 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-12Update netboot initrd to persist the nbd connectionJan-Simon Moeller1-1/+1
Use -persist option for nbd. Bug-AGL: SPEC-3221 Bug-AGL: SPEC-3232 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia2eb94eeb3882b6546ebe9df04befdd42c99bd15
2020-03-12Add vboxguestdriver recipe to meta-agl-bsp instead of meta-agl-demoJan-Simon Moeller3-1/+126
The drivers will also be needed for the html5 image. Move them to a common layer. Bug-AGL: SPEC-3170 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9bcfc3b7569b3108442df4e64ec61da0054e4a44
2020-03-11qtlocation: add Mapbox patch to use new APIMatt Ranostay2-0/+53
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-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-03-11af-binder: bump and fixesJose Bollo1-1/+1
Includes: * 862fb68b Fix globset compilation warning * 4848ec20 Update .gitreview file * 2f38d2ea Improves compatibility with AddressSanitizers * 693249aa Fix bug in session and token removal * 26b09b0d Fix a tiny issue in the protocol * 9cab553d Fix bug in C++ wrapper Bug-AGL: SPEC-3040 Bug-AGL: SPEC-3134 Bug-AGL: SPEC-3162 Bug-AGL: SPEC-3220 Change-Id: I5f96ac20a824df3f6cb73be2e41ef79cd3f2be04 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2020-03-11agl-compositor: Update SRCREV to use libweston7Marius Vlad1-1/+1
This includes the following changes (all of them related to the libweston7 upgrade): - dbba1adda7f meson.build: Increase version of the compositor - b352cee6f81 meson.build: Build X11 backend optionally - 93523a7f38b meson.build: Increase wayland-protocol version dependency - c769a272324 main: Add support for the logging context when creating the compositor instance - a17bac48464 meson.build: Upgrade build and headers to libweston7 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I94e5077c48eca76092306892d6e25e345eeda45e
2020-03-05Update documentationJan-Simon Moeller1-22/+0
in meta-agl Change-Id: Icb0be59cf5ef3963f563899ecf5c06d774e8a872 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-03-04meta-agl-bsp: Define Xen recipeJérémy Fanguède2-0/+35
Provide Xen support for Arm64 boards, tested with the R-Car M3 ulcb board. Xen v4.13.0 stable version is compiled. A new binary is deployed, named "xen-${MACHINE}.uImage" that can be loaded and run by U-Boot. v2: rework to split u-boot mkimage part a separate recipe so we can keep the diff of the xen recipe at a minimum. Bug-AGL: SPEC-2912 Change-Id: I68d2af74d31ee310686645c8a5ae11b0201448b2 Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com> Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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-26rpi4-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-02-25meta-agl-distro: remove next branch specific inc fileScott Murray2-4/+0
Now that next has been merged into master and agl-service-gps has been updated for zeus, remove the next branch specific inc file that was being pulled into poky-agl.conf. Bug-AGL: SPEC-2932 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If6570117e8f44afcace568c483cec71f9c3ea853
2020-02-22Update distro to jellyfishJan-Simon Möller1-2/+2
After the next branch is merged (YP zeus) we bump the distro config. Change-Id: I6f9358c4b955ca2d9b1cf79651e2d80e15a939a0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-02-21Merge remote-tracking branch 'agl/next'Jan-Simon Möller181-7295/+1827
* 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-20aglwgt.bbclass: remove pushd/popd usageScott Murray1-8/+4
The recent addition of multiple widget types in aglwgt.bbclass added usage of pushd and popd, which are bash specific. This is undesirable, since it causes failures for anyone trying to build on default installs of Debian or Ubuntu. Since the B and S variables in OE recipes are known to be absolute paths by definition, the pushd/popd can simply be replaced with "cd". Bug-AGL: SPEC-2049 Change-Id: I7ec9c558545be9aedd0b7e40539127b7f8c665ed Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-02-20agl-service-homescreen: Relax computation of appidJosé Bollo1-1/+1
The returned appid is now either the part up to the first @ or the entire string if no @ is present. This evolution is needed to able the removal of handling different versions. Bug-AGL: SPEC-2538 Change-Id: I16cdb3e4a68b2bee067ab18bc2cd2ea21781bed1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-02-19Adapt aglwgt receipe to build multiple widgetFrederic Marec1-34/+75
Change package task and deploy task to allow creation of test, debug and coverage widget. Add debug and coverage directory to store new widgets Bug-AGL: SPEC-2049 Change-Id: Ic3c1250d43de023e2e08398a098746ecd71592c5 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
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-18Update archiver feature regexpJan-Simon Moeller2-0/+2
The archiver feature will need extra parameters set to catch all recipes. We exclude any proprietary code on purpose so rewrite COPYLEFT_LICENSE_EXCLUDE in your conf/local.conf if necessary. Bug-AGL: SPEC-3186 . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iaa3387a2647f8bb6d49c7d4a0e1e72e8e3b08fd8
2020-02-17agl-compositor: Update SRCREVMarius Vlad1-1/+1
Includes the following changes: - 357c5a034a89dc meson.build: Allow to install the private extension - 405a475fa64594 Update .gitreview file - ca5e2aec22cb7b meson.build: Allow to build/install locally - ed4a9b0d9c5937 meson.build: Enable Wextra and transform warning messages into errors - 191dc29c7d05d8 main: Avoid warning on un-initialized display - b43a012824af01 shell: Add a black surface in the fullscreen layer - 433edac095bb14 desktop: Remove the surface in all cases - ab2e660c891df7 desktop: Reset the active surface - f8457f6d62370f shell: Allow the client shell to unbind/rebind to agl-shell interface - 08ea4a2fec76b4 layout: Do not delay mapping of desktop surface until commit time - 3950b7e787c19b layout: Use the background's surface ivi_output when activating apps by default - ffd00ab3a05351 ivi-compositor: Add systemd notify message - 219a513fd959b8 shared: Add some regular helpers - e5027ce09a4440 layout: Force a repaint of the entire output - 0e47c84e348b65 layout: Print out when adding panels/background - 2d7243208d3e45 src/: Add basic support for app switching Change-Id: I366880b5fb5a09a23d9af26ea638ad5e1f14dafa Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2020-02-17meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernelsScott Murray1-0/+3
Add explicit clearing of CONFIG_LSM before running "make oldconfig" in the do_configure_append added by linux-agl.inc. This ensures that the derived value of CONFIG_LSM will reflect configuration changes done by the merged AGL provided fragments, i.e. SMACK being enabled. Without it, kernel recipes that are not based on linux-yocto.bbclass or have their own fragment handling done via prepend will end up with an incorrect value of CONFIG_LSM which effectively disables SMACK. Examples include the linux-imx or linux-fslc kernels used by NXP. Bug-AGL: SPEC-2932 Change-Id: Id99906e3de75128ebc54866d43d89d3a24bb1cf2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>