Marius Vlad [Fri, 3 Jul 2020 11:04:39 +0000 (14:04 +0300)]
recipes-graphics/wayland/agl-compositor_git: Update SRCREV
Another round of updates for agl-compositor. This update adds
a deny-all policy engine, and adds checks in the allow-all policy
as to use SMACK labels to check the clients binding to the agl_shell*
interfaces. The allow-all policy is still in effect, with the deny-all
policy being available to be used as a meson, compile option.
A few minor corner cases fixes, found while testing out waylandsink.
The update includes the following:
-
39ea644837d desktop: Fix destruction of applications that fallback to the desktop role
-
faea097edab shell: Avoid checking against surfaces that do not have an app_id
-
40da59d00a7 README: Add a few words about the deny-all policy engine
-
572d0eac44f desktop: Allow desktop_api to handle surface removal
-
03f51daf2fc policy: Add a deny-all policy as an example
-
ea317303ac4 policy-default: Use libsmack to check client label
-
bbf173123cd policy: Add a new policy hook to restrict access to private extensions
-
9827cfd2557 desktop: Avoid referencing the output's surface for pending surfaces
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ibd67e06a60b18334d3c07c2f6c710b7e77201148
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24927
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>
Ronan Le Martret [Thu, 9 Jul 2020 13:00:24 +0000 (15:00 +0200)]
[RCAR] Fix renesas bsp path in ebisu script
Bug-AGL: SPEC-3443
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Ief197eaba04e8c5993c050a77e76a504cc7c3b16
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24959
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Ronan Le Martret [Thu, 9 Jul 2020 11:55:13 +0000 (13:55 +0200)]
[RCAR] Fix Renesas BSP path for h3-salvator
Bug-AGL: SPEC-3443
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I8ffb32570c1dcf1d68916ecf817aeef2192de81b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24958
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Ronan Le Martret [Fri, 3 Jul 2020 07:33:11 +0000 (09:33 +0200)]
[RCAR] Add/update description for Renesas machine
Bug-AGL: SPEC-3443
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Ia0c9e87ae374d1a0e69ea89a72cc3c0cbe91efbd
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24957
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>
Ronan Le Martret [Fri, 3 Jul 2020 07:03:45 +0000 (09:03 +0200)]
[RCAR] Delete useless nogfx machine
BUG-AGL: SPEC-3443
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Ic9614ba6841ec2cfd2617ee0ca28aeaebc47a7fb
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24956
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>
Raquel Medina [Tue, 7 Jul 2020 21:52:55 +0000 (23:52 +0200)]
facilitate start up without bluetooth controller
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>
Jan-Simon Möller [Tue, 30 Jun 2020 20:14:58 +0000 (22:14 +0200)]
Use the correct BBFILE_PATTERN for meta-rcar-gen3-adas
We have multiple entries to cover, fix the BBFILE_PATTERN .
Bug-AGL: SPEC-3443
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I2fe95bf183fafa776668a63f9e28775a6f0547e0
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24916
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Möller [Tue, 30 Jun 2020 20:13:57 +0000 (22:13 +0200)]
Readd the radio packages in the local.conf include
We need to see if we leave it as generic IMAGE_INSTALL_append here or
do it elsewhere.
For now this is a straightforward migration and helps clean-up the layer.conf .
Bug-AGL: SPEC-3443
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: If7a482dc411ba7fc4d172f8fdf8493b81475ea93
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24915
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Möller [Tue, 30 Jun 2020 19:45:45 +0000 (21:45 +0200)]
Apply the perf fix only when meta-rcar-gen3-adas is not present
Currently the upstream rcar bsp does need the fix for building perf.
The meta-rcar-gen3-adas layer contains a fix in the big patchqueue.
Thus conditionally apply the perf build fix.
Bug-AGL: SPEC-3443
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Icbf53add71ed731c35dec149841691c82ae4372c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24914
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Moeller [Tue, 30 Jun 2020 17:13:19 +0000 (19:13 +0200)]
Refactor the m3ulcb machine templates
This splits the machine templates for the m3 into three:
- m3ulcb = plain m3ulcb with graphics driver package
- m3ulcb-nogfx = plain m3ulcb without graphics driver package
- m3ulcb-kf = m3ulcb with kingfisher baseboard and graphics driver package
This improves maintainability of the m3ulcb machine targets.
Bug-AGL: SPEC-3443
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ib878833709ddc7f706fd15107bfb8dee4272d431
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24913
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Moeller [Tue, 30 Jun 2020 17:13:11 +0000 (19:13 +0200)]
Refactor the h3ulcb machine templates
This splits the machine templates for the h3 into three:
- h3ulcb = plain h3ulcb with graphics driver package
- h3ulcb-nogfx = plain h3ulcb without graphics driver package
- h3ulcb-kf = h3ulcb with kingfisher baseboard and graphics driver package
This improves maintainability of the h3ulcb machine targets.
Bug-AGL: SPEC-3443
Change-Id: Ibca5e7615ca5bc467ec46d4564f42363a2a5466c
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24912
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Moeller [Tue, 30 Jun 2020 17:12:56 +0000 (19:12 +0200)]
Revert temp fix of perf build and weston bbappend
We need to evaluate if and where we need to place the perf fix or if upstream includes it.
Likewise for the weston bbappend.
Bug-AGL: SPEC-3443
Change-Id: I78fb37bc3b0d4531c70e71d70c6663de1ab0d987
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24911
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Moeller [Tue, 30 Jun 2020 17:12:33 +0000 (19:12 +0200)]
Optee_os recipes modification et al.
Port of three optee patches:
- https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=
a9eb8fa93867b8012e0e2d520961221a2a3ffffa
- https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=
88d94ef02988376c22bf493e40ba339b2572236e
- https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=
0ba07a07e5847381c776fc07688707f1feff5a56
Bug-AGL: SPEC-3443
Change-Id: I1d49a2cf632f1f64cb66178f4899b1354b62b2a3
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24910
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Moeller [Tue, 30 Jun 2020 17:12:13 +0000 (19:12 +0200)]
Add driver control checksum
Port of https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=
9e58bd97144ab56a7858c6cd2206d3bd793bb09e
Original commit message:
* As the driver files come from out of git repository,
we need to check driver file integrity.
FormerChange-Id: I46f2a281f8da1ae606e8ae1ee55324fd5fd9b772
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Bug-AGL: SPEC-3443
Change-Id: If8cb040cae4ca227b883f4cdf250e3afec503976
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24909
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Moeller [Tue, 30 Jun 2020 17:19:19 +0000 (19:19 +0200)]
Use upstream meta-renesas from github and update meta-rcar-gen3-adas integration
Thanks to the work done by Renesas and members of our community, we can
now directly use meta-renesas from upstream github.
A shout-out to everyone involved (Kurokawa-san, Ronan, Stephane).
It turned-out it is simpler to create a symlink-based slim version
of meta-rcar-gen3-adas layer instead of BBMASK'ing what should
not be in there. See the comments in
meta-agl-bsp/meta-rcar-gen3-adas/conf/NOTES
as to why.
Remaining work is to include the packages outside of the layer.conf
in a follow-up.
Bug-AGL: SPEC-3380
Change-Id: I2be1b44049d74146546380e2eb866f0558a26822
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24796
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Möller [Tue, 30 Jun 2020 23:21:53 +0000 (01:21 +0200)]
Remove deprecated bsp files from meta-agl
- hsdk does not have a dunfell branch
- meta-intel was deprecated in favour of a unified qemux86-64 target
- sdcard_image-socfpga is deprecated as upstream changed to use wic
Bug-AGL: SPEC-3468
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ie79fc9c379bd6260a18fe6fe0115d9ce8de1017f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24918
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>
Marius Vlad [Fri, 3 Jul 2020 14:57:08 +0000 (17:57 +0300)]
agl-image-graphical-qt5-crosssdk: Use -tools version of
nativesdk-qtwayland
Turns out, the qtwaylandscanner is actually included with the -tools
version of the nativesdk-qtwayland.
Bug-AGL: SPEC-3467
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I9ffc2eb7ec930cc36922d1a8a0bf7835da2280e1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24929
Reviewed-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>
Jan-Simon Moeller [Tue, 30 Jun 2020 15:45:46 +0000 (17:45 +0200)]
Add qtwaylandscanner to the SDK
This is required by qt apps in recent master (e.g. launcher).
Add it to the SDK.
Bug-AGL: SPEC-3467
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I165428d25fd9b46d2d0425e0caf8b07752178c8f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24908
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
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>
Jan-Simon Möller [Mon, 29 Jun 2020 09:28:22 +0000 (11:28 +0200)]
Prepare AGL Jumping Jellyfish RC1
Update the distro configuration file with the RC1 version (v9.99.1)
of the upcoming AGL UCB 'Jumping Jellyfish' release (v10.0.0).
Bug-AGL: SPEC-3460
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ib1d4f6a923cab0b2642fc71abd97f31652adde5c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24897
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>
Ronan Le Martret [Mon, 29 Jun 2020 08:33:08 +0000 (10:33 +0200)]
[RCAR] Remove meta-rcar-gen3-adas from machine conf
* Machine h3-salvator-x, m3-salvator-x, ebisu do not
need meta-rcar-gen3-adas. Only board allowing kingfisher
extention need meta-rcar-gen3-adas.
Bug-AGL: SPEC-3463
Change-Id: Id070f9d8ca797aa304a2fb1016ecc65f67f3c44f
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24895
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Ronan Le Martret [Thu, 11 Jun 2020 15:57:04 +0000 (17:57 +0200)]
[RCAR] adjust asound.state for new Cogent BSP 3.21/YP3.1
The meta-rcar has a patch that change the name of the sound card.
Reintroduce the Cogent layer "meta-rcar" into AGL mean adjust the sound card name.
Bug-AGL: SPEC-3463
Change-Id: I4ff025752314fdbebbdae39c66280943304daefc
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24760
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Jan-Simon Möller [Fri, 26 Jun 2020 19:35:47 +0000 (21:35 +0200)]
Add distro-build-manifest per image instead of packagegroup
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>
Scott Murray [Fri, 26 Jun 2020 17:17:28 +0000 (13:17 -0400)]
meta-app-framework: add do_configure task in aglwgt.bbclass
Add a placeholder stub do_configure to aglwgt.bbclass instead of
marking it as noexec to make things like externalsrc that bbappend or
add prefunc's to do_configure work. For externalsrc specifically,
this fixes the creation of the convenience oe-logs and oe-workdir
symlinks.
Bug-AGL: SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ice6bc23c21f2206963b258c57dac5045721fcfe5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24889
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>
Jan-Simon Möller [Fri, 26 Jun 2020 15:15:38 +0000 (17:15 +0200)]
Import BBMASK of pipewire
This is an import of
https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/24867
Bug-AGL: SPEC-3450
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Iaf37bb60d3b11dada758370557b7c454a79faf0c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24888
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
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>
Jan-Simon Möller [Thu, 25 Jun 2020 17:47:24 +0000 (19:47 +0200)]
Move meta-agl-profile-graphical-html5 and meta-pipewire into the main layer
Reasoning:
- the profile-graphical-html5 belongs in the main layer
- meta-pipewire is enabled by default
For reference - the original location is:
https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-devel.git;a=commit;h=
8479cd0c37e5e5e207a16f21c864610103e4f20f
Bug-AGL: SPEC-3453
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ib475331bb6f84437020728fbb3f17b4acaab0106
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24875
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Scott Murray [Thu, 25 Jun 2020 22:26:23 +0000 (18:26 -0400)]
meta-app-framework: rework aglwgt.bbclass to solely use autobuild
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>
Jan-Simon Möller [Thu, 25 Jun 2020 16:23:42 +0000 (18:23 +0200)]
Remove unused config include for pulseaudio
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>
Raquel Medina [Thu, 25 Jun 2020 15:25:08 +0000 (17:25 +0200)]
libqtappfw: update SRCREV
Update SRCREV to pick up:
14c3bea: add checks to avoid duplicates in qtappfw-bt model
Bug-AGL: SPEC-3424
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I79dd6404f4192f9672398e3b40510272f4865a02
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24869
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>
Marius Vlad [Thu, 25 Jun 2020 13:35:06 +0000 (16:35 +0300)]
agl-compositor: Update SRCREV
Bump SRCREV to match latest master. This update includes the following
changes:
-
06773d6a doc: Added arch diagram
-
03755785 README: move README.md to doc/
-
51be2ca7 layout: Clip the view to the size specified by width and height
-
7854caac shell: Pass the bounding box values to the pop-up surface
-
40d73940 agl-shell-desktop: Add the ability to pass width and height as area of the bounding box
-
9701fd67 (review/marius_vlad/24652) shell: Advertise application_id event for other surface roles
-
c8d025cd (review/marius_vlad/24651) layout: Do not attempt to activate the surface on the remote output
-
16826129 src: Mark surfaces with the 'remote' role if configuration file says so
-
81be1de5 main: Do the installment of black surfaces for remote outputs as well
-
ba9b65aa shell: Add some extra checks to make sure we don't trip ourselves
-
a04518d8 main: Enable remote outputs later than local (DRM) outputs
-
7536014f main, layout: Minor clean-ups and added some further logging
-
9af06129 main: Retrieve the agl-shell-app-id from the config file
-
bafead57 main: Retrieve the transform and scale from config file
-
9f2f83ea src: Create an ivi_output for the remote output
-
22514079 src: Hold a reference for remoting_api in the ivi_compositor
-
b3c4f205 main: Add the ability to load the remote plugin
-
7af3d376 desktop: Remove commiting code for the panel
-
b491db31 shell: Do not remove the black surface if we don't have a background set for that output
-
c6941d74 desktop: Display a black surface for apps being moved using config file
-
9d29ef9f layout: Remove black surface when trying to use migrate views to other outputs
-
8df7681a src/: Use agl-shell-app-id to set-up views on a different output
-
f235042e layout: Add a wrapper to print out the surface role
-
5c90f163 src: Insert a black surface/remove it when the last remote surface role is present
-
f88d870a layout, desktop: Treat the remote surface role like the desktop one
-
226f4ca4 layout: Remove the quirks as now we have the policy hooks in place to handle that
-
978c7f8c src/: Add the remote surface role
-
0e4d30b4 src/: Add all surface roles to a wrapper for retrieving the output
-
496b4170 (sandbox/mvlad/split-wip-take2) layout: Do not attempt to activate a split or a fs surface
-
a9ae8d75 layout: Resize the active surface when doing the split
-
831d1b21 layout: Allow to commit the fullscreen and split surface roles
-
a2d066f0 layout: Remove unused ivi_compositor reference
-
af2b5c21 shell: Determine the role type
-
edbfbad7 shell: Introduce fullscreen and split role type of a surface
-
f73edbcf desktop: Missing assert include
-
a2f9566b desktop: Handle correctly panel and bg removal of agl-shell unbind
-
79420056 README.md: Add documentation details about agl-shell and agl-shell-desktop
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I67971d937e0348d31c2e47c70ebffe6127f96bbe
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24865
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Jan-Simon Moeller [Thu, 25 Jun 2020 12:12:23 +0000 (12:12 +0000)]
Merge "Merge the agl-compositor sandbox into master"
Marius Vlad [Wed, 24 Jun 2020 16:50:55 +0000 (19:50 +0300)]
gstreamer1.0-plugins-bad: Modify meson build file to install wayland
header
Removes the older patch in the process as autotools/autogen are
no longer in use.
Bug-AGL: SPEC-3382
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib5c99b62e5cd434bc8ebfd7c1b5460784f72e806
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24860
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: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Thu, 25 Jun 2020 00:26:43 +0000 (02:26 +0200)]
Mask the recipe in meta-rcar-gen3-adas incompatible with YP 3.1.1
There is a bbappend in the cogent layer which is not forward-compatible with
YP 'dunfell' 3.1.1 . BBMASK it until upstream did fix it.
Bug-AGL: SPEC-3445
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ib301bb14e53a37f445c74461982fbbc24bcdae2f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24861
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>
Jan-Simon Möller [Wed, 24 Jun 2020 15:47:43 +0000 (17:47 +0200)]
Merge the agl-compositor sandbox into master
The changes prepared by Marius for agl-compositor
have been reviewed in the sandbox/mvlad/agl-compositor.
This is the merge to master.
Notes:
- weston+ivi-shell+windowmanager are replaced using agl-compositor
- applications have been adapted accordingly
- CI will likely fail as we need to merge all related patches
Updating
8e93c361..
95b8edd4
Fast-forward
meta-agl-bsp/conf/include/agl_rcar.inc | 11 ++++++++++
meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtwayland_%.bbappend | 4 ++--
meta-agl-profile-graphical/recipes-graphics/wayland/agl-compositor_git.bb | 6 +++++-
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend | 7 +++---
.../recipes-platform/packagegroups/packagegroup-agl-graphical-weston.bb | 3 +--
meta-app-framework/recipes-core/af-main/af-main_git.inc | 2 +-
templates/base/99_local.conf.inc | 14 ++++++++++++
templates/feature/agl-compositor/50_local.conf.inc | 48 -----------------------------------------
templates/feature/agl-compositor/README_feature_agl-compositor.md | 13 -----------
9 files changed, 38 insertions(+), 70 deletions(-)
Bug-AGL: SPEC-3444
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Iea2b7367fdf1c9874b4b76a016b9d1a181b0e791
Jan-Simon Möller [Tue, 23 Jun 2020 16:10:10 +0000 (18:10 +0200)]
Make the agl-compositor the default compositor
This makes the agl-compositor the default starting with Jumping Jellyfish
For development purposes, you have these variables at hand to influence the setup:
AGL_DEFAULT_WESTONSTART
AGL_DEFAULT_WM_SHELL
Check your conf/local.conf for details.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Iceb35375e04f947009800b80511f6360026403fe
Scott Murray [Wed, 17 Jun 2020 19:13:31 +0000 (15:13 -0400)]
af-main: update SRCREV
Update app-framework-main SRCREV in af-main recipe, picking up
changes:
ac6f7ed Add weston dependency for units with display permission
Bug-AGL: SPEC-3411
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iecb3cec7674e5c0a634925067cf66a27581536a3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24788
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Scott Murray [Wed, 17 Jun 2020 22:03:28 +0000 (18:03 -0400)]
meta-agl-bsp: BBMASK meta-renesas-rcar-gen3 weston-init tweaks
Mask out meta-renesas-rcar-gen3's tweaks to weston-init, as they do
not seem necessary for anything in AGL, and the addition of
dbus.service and multi-user.target dependencies to the weston systemd
unit that is done is problematic with respect to potentially blocking
weston if any user units like application framework "platform"
services fail. They also likely affect boot up speed with respect to
getting weston started. There is no clear rationale expressed in the
meta-renesas-rcar-gen3 commit history for the extra dependencies, and
testing shows no issues on H3ULCB when not having them.
Bug-AGL: SPEC-3411, SPEC-3301
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1d87017defea0bdfafd575303c6683bb23c1b75f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24789
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Marius Vlad [Tue, 19 May 2020 15:32:38 +0000 (18:32 +0300)]
templates/feature/agl-compositor: Replace SRCREVs with AUTOREV
As the applications are still in flux and require often modifcations
use AUTOREV to point to HEAD.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Icdd2b5e0aa7a59fb32c65ce67c7d5bd2a3542b71
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24539
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Marius Vlad [Thu, 14 May 2020 15:21:07 +0000 (18:21 +0300)]
packagegroup-agl-graphical-weston: Remove weston-ready dependency
weston-ready was in place to make sure that weston was up and running
before agl-service-windowmanager. As the latter will no longer be
needed we no longer need weston-ready (not only that but it blocks/hangs
other apps from running with the agl-compositor).
Bug-AGL: SPEC-3342
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic4b1ff54acb45eb1e28595443b788b061949623f
Jan-Simon Moeller [Mon, 22 Jun 2020 16:58:04 +0000 (18:58 +0200)]
Remove unused pulseaudio bbappends and plugins
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>
Ronan Le Martret [Fri, 12 Jun 2020 07:41:00 +0000 (09:41 +0200)]
Revert "Fix m3ulcb/m3ulcb-nogfx h3ulcb/h3ulcb-nogfx builds"
This reverts commit
207b42d00d129aeb7768dadb0965a5ef6cd86ca0.
This reverts commit
c24cdffea9dfa3904fc3ea9da0bc80e5515b078d.
Bug-AGL: SPEC-3380
Change-Id: I2e29c1bc862d29d61a4529ee722b758fca6a42e0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24759
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Fri, 19 Jun 2020 07:31:58 +0000 (09:31 +0200)]
Remove meta-intel in favour of qemux86-64 as combined target
the qemux86-64 target will build bootable media for x86 targets
(virtual and physical). Thus we do not need another config anymore.
For compatibility, do a symlink
intel-corei7-64 -> qemux86-64
when selecting the machine.
Bug-AGL: SPEC-2931
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I65aab61680d982ccfb1d9146bead591a6cfd1dd3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24792
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: Matt Ranostay <matt.ranostay@konsulko.com>
Marius Vlad [Thu, 18 Jun 2020 19:00:27 +0000 (22:00 +0300)]
meta-netboot/README: Fix typo when passing commands to u-boot
README refers to some raddr and rfile (the initrd address
and the file to load). Copy-pasta them into u-boot would
boot correctly.
Bug-AGL: SPEC-3439
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I09b4cadd59be4a40371f35d71708cd59c38bc7f4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24790
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>
Scott Murray [Tue, 16 Jun 2020 23:08:28 +0000 (19:08 -0400)]
cmake-apps-module: update SRCREV
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>
Scott Murray [Tue, 16 Jun 2020 20:00:57 +0000 (16:00 -0400)]
afb-test: use AGL_APP_REVISION as SRCREV
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>
Jan-Simon Möller [Tue, 16 Jun 2020 15:48:39 +0000 (17:48 +0200)]
Adapt the local.conf.sample
Add PRSERV, Archiver and Parallelism options for reference.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I40edf03201b053006c67c55270da4ec31c60c054
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24774
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
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>
Jan-Simon Moeller [Tue, 16 Jun 2020 15:47:21 +0000 (17:47 +0200)]
Update conf-notes.txt with current targets
Adapt the conf-notes.txt with what is available in the tree.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I64b941915690289fa6a8d7b295bc4269533df18d
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24773
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>
Raquel Medina [Fri, 5 Jun 2020 18:06:37 +0000 (20:06 +0200)]
split libqtappfw in modules
- Update libqtappfw SRCREV to pick up:
ae208a6: split qtappfw in independent qtappfw-* modules
45dc51a: enforce engine object access via factory
cb62d2e: block direct *Message objects creation
Bug-AGL: SPEC-3390
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I1353b2e19cac541e57f4e0e8c423a556a0121e2b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24628
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Scott Murray <scott.murray@konsulko.com>
Scott Murray [Tue, 9 Jun 2020 00:03:27 +0000 (20:03 -0400)]
meta-agl-profile-core: remove agl-service-steering-wheel
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>
Scott Murray [Mon, 8 Jun 2020 23:14:07 +0000 (19:14 -0400)]
meta-app-framework: aglwgt.bbclass fixes
Changes include:
- AGLWGT_EXTRA_BUILD_ARGS definition reworked to pass PARALLEL_MAKE
in as BUILD_ARGS, as that gets it down to where it needs to go to
be useful in most of the autobuild scripts/makefiles.
- The logic has been tweaked in do_aglwgt_package to only try to
build the coverage version of widgets for things that have test
widgets. This avoids build and packaging complications with
applications, and seems reasonable ATM given there are no plans to
attempt coverage for non-bindings.
- A widget not being present after calling "autobuild package" has
been bumped to bbfatal instead of bbwarn for the release widget to
immediately flag errors.
- "-maxdepth 1" has been added to the find commands used to check for
widget presence to avoid picking up stray .wgt files outside of the
immediate target build directory.
Bug-AGL: SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9d814894684b525f774f730c8e94e1c46cda16ce
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24677
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>
Scott Murray [Mon, 8 Jun 2020 23:09:21 +0000 (19:09 -0400)]
agl-service-homescreen: use AGL_APP_REVISION as SRCREV
Switch agl-service-homescreen recipe to using AGL_APP_REVISION as its
SRCREV as all the other binding recipes do.
This change picks up commits:
89edd73 Fix CMake files and non-debug crashes
055909f Update autobuild script to create new targets
Bug-AGL: SPEC-2049, SPEC-3343
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibb1b8b78f5dc15b73a81d51afe87082cd9796d9e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24676
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>
Leonid Lazarev [Fri, 15 May 2020 14:13:30 +0000 (17:13 +0300)]
agl-virt-guest-xen feature for qemuarm64
Add feature agl-virt-guest-xen to allow to prepare Xen DomU images for arm64 targets.
Bug-AGL: SPEC-3384
Signed-off-by: Leonid Lazarev <leonid.lazarev@mera.com>
Change-Id: I9e5a4b768ab8ea8629e56075550f9d5fdd64e562
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24560
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
maratsabitov [Tue, 2 Jun 2020 18:56:36 +0000 (21:56 +0300)]
Fix FTBS of sdk due to missing azure-macro-utils-c package when installing azure-macro-utils-c-dev
ALLOW_EMPTY_${PN} = "1" to enforce the package generation
v2 (jsmoeller): just fixed the version wildcard.
Bug-AGL: SPEC-3407
Signed-off-by: maratsabitov <marat.sabitov@mera.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ie6b142a8b103922ce7c5281601e5b6c0e35634d2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24612
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>
Scott Murray [Mon, 1 Jun 2020 15:34:41 +0000 (11:34 -0400)]
Fix m3ulcb/m3ulcb-nogfx builds
Temporarily disable the Kingfisher support layer in the m3ulcb and
m3ulcb-nogfx machine templates as was done for the h3ulcb templates.
This fixes building with these machine types.
Bug-AGL: SPEC-3380
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib54490ef95582909a34c9d3001283c40debf241b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24589
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>
Scott Murray [Fri, 29 May 2020 14:39:03 +0000 (10:39 -0400)]
meta-app-framework: update af-main SRCREV
Update app-framework-main SRCREV in af-main recipe to pick up:
f8cee78 Fix uninstall of widgets without icons
f8f2338 Improve use of systemd's states
Bug-AGL: SPEC-3323, SPEC-3401
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I35f6fcb8677bd3d5d49e588d03f5868249532baa
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24584
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>
Stephane Desneux [Tue, 26 May 2020 10:05:17 +0000 (10:05 +0000)]
[RCAR] adjust asound.state for new BSP 3.21/YP3.1
Alsa sound card name has changed in BSP 3.21 for YP3.1: old name 'ak4613' has
been replaced by 'rcarsound'.
Specific fix for Ebisu board also becomes useless (alsa-state.bbappenda) and
is removed.
This change adjusts the card name while keeping the volume levels as before:
* 20% on DVC Out
* 10% on DVC In
Bug-AGL: SPEC-3380
Change-Id: Ic23c9b4c218ab275d5bd299911886cb40ebc8dc1
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24572
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Stephane Desneux [Tue, 19 May 2020 21:18:51 +0000 (21:18 +0000)]
[RCAR] Update rcar drivers to BSP 3.21.0 (weston8)
Update new rcar drivers in setup_mm_packages.sh:
- R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-weston8-
20191021.zip
- R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-weston8-
20191206.zip
Bug-AGL: SPEC-3380
Change-Id: I563eef45d99a0bb888b2d2ef11f241f77506c8ec
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24559
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Wed, 27 May 2020 19:05:27 +0000 (21:05 +0200)]
Ensure the ptests used in CI are part of the filesystem
Explicitely call of the ptests used in CI to be part of the filesystem.
This will fix h3ulcb-nogfx not having the lua ptest deployed.
Bug-AGL: SPEC-3398
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I058a5a0d0a3a39710316b3d366a3d94215d1cedc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24577
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>
Leonid Lazarev [Fri, 15 May 2020 08:51:48 +0000 (11:51 +0300)]
Raspberry 4: XEN support
Added the support for DOM0 in raspberry pi4. The feature agl-virt-xen should be enabled to activate this code.
1512 MB of memory is used for DOM0 machine.
There are limitations:
- brcmfmac module disabled (bluethooth and Wifi) due to the crash
- total_memory is set to the 3Gb, as it impacts the USB ports on rasbperry pi4 on Linux kernel 4.19
v2 (jsmoeller): make changes in virtualization-layer conditional to raspberrypi4
Bug-AGL: SPEC-3259
Change-Id: I873fbf1f5498e31ae5f468407502f16e1873f7fc
Signed-off-by: Leonid Lazarev <leonid.lazarev@mera.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24522
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>
Scott Murray [Mon, 25 May 2020 19:01:08 +0000 (15:01 -0400)]
Cluster demo support updates
Changes include:
- Add agl-weston-remoting feature that sets "weston-remoting" distro
feature. The intent is to replace agl-gstrecorder in meta-agl-devel
with something more generic.
- Add weston remoting initialization timing patch to weston bbappend
in meta-agl-profile-graphical, conditional on "weston-remoting"
distro feature.
- The 0004-unconditionally-include-mman.h.patch weston patch is no
longer required after the SMACK labeling changes, remove it as
cleanup.
- Enable the weston "remoting" PACKAGECONFIG in weston bbappend, also
conditional on "weston-remoting". A redefinition of the "remoting"
PACKAGECONFIG option is required to fix a recipe bug that will have
a fix sent upstream.
- Rename virtualoutput.cfg weston.ini fragment to remote-output.cfg
to better reflect its current contents.
Bug-AGL: SPEC-3395
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9c0579670d81296492b3b8bed93aafb3f7ffc15c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24567
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>
Jan-Simon Möller [Mon, 18 May 2020 15:33:48 +0000 (17:33 +0200)]
Fix nss-localuser postinst scriptlet to run only on the target
Otherwise we fail on do_rootfs now.
Bug-AGL: SPEC-3385
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I47be059b77a79e7f6414ea233f591b4957db4818
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24530
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>
Jan-Simon Möller [Fri, 22 May 2020 15:03:51 +0000 (17:03 +0200)]
Fix FTBS of sdk due to missing umock-c package when installing umock-c-dev
umock-c-dev has a built-in dependency to umock-c by default.
Previously there was no 'umock-c' package as all was shipped as
headers/cmake in -dev and a -staticdev package only.
ALLOW_EMPTY_${PN} = "1" will enforce the package generation.
This will be discussed with upstream on how to fix the package.
Bug-AGL: SPEC-3391
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I2429ae1fe77e6dcfb630a78ffc420046593b952f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24565
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
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>
Paul Barker [Tue, 19 May 2020 14:52:38 +0000 (15:52 +0100)]
templates/machine/bbe: Populate the README file with some links
Also use the general Yocto/AGL Sancloud mailbox in the authors tag.
Bug-AGL: SPEC-3372
Change-Id: I7f56db2b7ddc1333753f38e83d7e37c97705ee53
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24557
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Scott Murray <scott.murray@konsulko.com>
Paul Barker [Tue, 19 May 2020 14:52:30 +0000 (15:52 +0100)]
templates/machine/bbe: Re-enable SanCloud BBE support
Bug-AGL: SPEC-3372
Change-Id: Iac7417e40c39facc12edc8e312d5295d993f69f4
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24556
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-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>
Marius Vlad [Mon, 18 May 2020 12:42:42 +0000 (15:42 +0300)]
templates/feature/agl-compositor: Update homescreen SRCREV
Missed removal of agl-service-winndowmager so this SRCREV update
handles that.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib18d2d0d7231c8274cb3b09497d568f1eecc4ed7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24528
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>
Raquel Medina [Tue, 19 May 2020 00:34:10 +0000 (02:34 +0200)]
libqtappfw: update SRCREV
Update SRCREV to pick up:
3bd1bb0: fix compilation for new Qt version 5.14.1
be7f78b: share MessageEngine instance
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I806769b64c521aff063f2c7e5778e748d81f54b9
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24534
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>
Marius Vlad [Mon, 18 May 2020 19:17:33 +0000 (22:17 +0300)]
templates/feature/agl-compositor: Add proper dependecies for
alexa-viewer
Noticed that alexa-viewer is missing wayland* dependencies, needed to
generate client headers for agl-shell-desktop protocol and
wayland-client related libraries. Updates SRCREV to lastest version,
which avoids AFM websocket dependency.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: If52e063a58e5bc274315ae01fceb8d0243fd7662
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24531
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>
Scott Murray [Wed, 13 May 2020 00:58:56 +0000 (20:58 -0400)]
Rework test/debug image features and crosssdk image definitions
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
Marius Vlad [Fri, 15 May 2020 16:27:19 +0000 (19:27 +0300)]
templates/feature/agl-compositor: Use sha1 and topic branches
for other apps as well
While at it, use topic branch for agl-service-homescreen, as it
has is requires agl-service-windowmanager to be running.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie19058e19c9355d0d256aeb5e68b7e236b1934c1
Marius Vlad [Thu, 14 May 2020 09:56:14 +0000 (12:56 +0300)]
templates/feature/agl-compositor: Add alexa-viewer, settings and onscreenapp to
the local conf template
Examples and real uses-cases converted to using agl-shell-desktop, for
now as local sandbox branches.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iaab99d71057099c862bba6a43c599e1b99664f18
Marius Vlad [Wed, 13 May 2020 22:48:29 +0000 (01:48 +0300)]
templates/feature/agl-compositor: Use the correct nav app
Turns out, I had converted the wrong nav application. No
wonder it didn't work correctly. Use ondemandnavi which seems to be
the correct navigation app used now in the demo.
On the same chapter, update to the latest SHAs the other apps as well.
Bug-AGL: SPEC-3124, SPEC-3123
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib4c3ff698859ecfe21a3f294d692aca4ff749342
Marius Vlad [Wed, 13 May 2020 16:29:53 +0000 (19:29 +0300)]
weston-init: Use the same config file from weston
Bug-AGL: SPEC-3374
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1f3f78c8b15b1c488b12bff4fcc79c0511a48955
Marius Vlad [Tue, 12 May 2020 11:08:03 +0000 (14:08 +0300)]
qtwayland_%.bbappend: Force resize after buffer swap
As the qtwayland client will sometimes 'forget' to do a redraw when
resizing back to the original geometry force it to happen each time at
the end of the EGL buffer swap. Temporary fix until a proper one is done
inside qtwayland.
Bug-SPEC: SPEC-3334
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iabf53065222a5ee803baf8ed146a11dd24a96860
Marius Vlad [Mon, 4 May 2020 19:49:23 +0000 (22:49 +0300)]
agl-compositor: Update SRCREV for libweston8 update
The following update adds support for libweston8, pop-up kind of
dialogs, a few fixes and includes the following:
-
1956bd3bfb0 main: Convert to using the logging/debuggging fraemwork
-
ac4e3581fb1 main: Add a (valid) return code when exiting
-
61dea1841a4 main: We don't have weston-debug extension available
-
a7887be3ed9 meson.build: Add a meson variable to track libweston version
-
35b1ed57d2a main: Subscribe to the logger scope
-
6e60f22455c meson.build: Update build version
-
25ede504313 policy-default: Install default for the state event notify
-
b4ae3794bc9 policy: Add another hook for controlling the application state change event
-
401773a4639 protocol: agl-shell-desktop: Send notification for application state change
-
795eb91d057 policy-default: Install default policy for deactivate request
-
ee9259703dc policy: Add a new policy hook for deactivating apps
-
65f9de0a549 policy-default: Add the de-activate request to the default policy
-
d0b4585202c agl-shell-desktop: Add the ability to hide client windows
-
410d47884ff layout: Save the pending output
-
ef3d1990c49 shell: Store the ivi compositor in the desktop_client
-
5ce0b5d5200 layout, desktop: Implement the pop-up role
-
ab151e5d3d1 agl-shell-desktop: Allow to set role properties for the application
-
63b6b6b1e14 shell: Display previously pending surface once the ready request was received
-
225415dcbad meson.build: Increase agl-compositor version for libweston8 upgrade
-
f5141881d54 main: Update weston_compositor_add_log_scope to libweston8
-
79dacfa4f3d meson.build: Increase to libweston8 dependency
-
457456edb3d main: Use bool for weston_config_section_get_bool()
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifcc94efa9a84fb261330a43d7e22efda1bbde1ca
Marius Vlad [Tue, 12 May 2020 10:17:54 +0000 (13:17 +0300)]
qtwayland_%.bbappend: Migrate the qt shell integration to the proper
place
The proper place to choose the qtshell integration is with qtwayland so
migrate it there.
While at it, upgrade to xdg-shell stable instead of using the unstable v6.
Bug-AGL: SPEC-3133
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I67b92cd744c4e34c9a603b9535823d9562d4bdf8
Jan-Simon Möller [Mon, 11 May 2020 17:32:45 +0000 (19:32 +0200)]
Update Raspberry Pi (3/4) templates to match meta-raspberrypi configuration
Update the templates to use the updated flags and configuration present in
meta-raspberrypi.
The previous template did not properly pull-in the u-boot fragments for the RPI4.
v4: the MACHINE in the AGL template for the RPI4 is now
'raspberrypi4-64' as in upstream.
CI will get support-patches through releng-scripts.
Bug-AGL: SPEC-3368
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ia2acb54516464d433c64adfc7ba832ccfdf899c3
Scott Murray [Thu, 7 May 2020 19:55:04 +0000 (15:55 -0400)]
Add i.MX8MQ EVK support
Add imx8mqevk-viv machine template for i.MX8MQ EVK which uses the
default Vivante driver configuration in meta-freescale with the
new community linux-fslc-imx kernel. The following additional changes
have been made to support this:
- A linux-fslc-imx bbappend has been added to pull in the AGL kernel
configuration, and a imx8mq-evkb config fragment has been added to
enable the required Wifi driver for the updated EVKB board.
- Stale qtbase and weston-init bbappends/patches have been removed
from meta-agl-bsp/meta-freescale-layer.
- The meta-agl-profile-graphical Weston 8.0.0 bbappend has been
renamed to 8.0.% so the wildcard will apply it to meta-freescale's
weston_8.0.0.imx recipe.
Known issues:
- The required PipeWire configuration for the onboard audio needs
further investigation.
Bug-AGL: SPEC-3258
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4ea5437ef0ea8bedb9dd2157f2822ff25ee56cff
Scott Murray [Tue, 5 May 2020 19:04:46 +0000 (15:04 -0400)]
meta-agl-profile-graphical: add SMACK labelling for weston
The initial patch to allow disabling memfd usage in weston has
proven to be naive, as the v7 wayland seat resource changes in
Weston 8.0.0 are dependent on them. To avoid needing to make more
invasive changes such as forcing the seat resource version back to
v6, drop the patch in favor of having Weston run under a
System::Weston SMACK label and adding the rules required to have it
work.
As well, use-XDG_RUNTIMESHARE_DIR.patch and the associated service
unit changes have been removed since they are not required now with
explicit labelling in place.
Bug-AGL: SPEC-3305, SPEC-3350
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8aef287219a7f95992a82f4ec2ee8e1822ca4ce8
Kenji Hosokawa [Wed, 6 May 2020 14:05:53 +0000 (23:05 +0900)]
linux: Enable kernel configs for SystemTap
Some of required kernel configs to use SystemTap are not enabled by
default. It is nessesary to rebuld and replace kernei before using it.
This commit will avoid it.
v2: Make the change conditional to 'agl-devel' and not apply in production.
Bug-AGL: SPEC-3360
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Change-Id: Ida74b9ee9de0be3c06683e3a04ad424d5ae3e9e6
Scott Murray [Tue, 28 Apr 2020 21:10:50 +0000 (21:10 +0000)]
Widget packaging rework
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
José Bollo [Thu, 7 May 2020 13:22:03 +0000 (15:22 +0200)]
af-main & af-binder: Fix infinite loop and C++
af-main: Fix an infinite loop when starting applications
*
e7ac328 afm-urun: Fix infinite loop on start status
af-binder: Fix a missing header when compiling C++
*
33ddfb5 Fix includes of C++ header
Bug-AGL: SPEC-3323
Bug-AGL: SPEC-3358
Change-Id: I06a05427b33791a242038d278e452fd73806d2f5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Scott Murray [Tue, 5 May 2020 00:10:53 +0000 (20:10 -0400)]
meta-agl-bsp: extend qemux86-64 hardware support
Copy extra hardware support kernel configuration fragments used with
meta-intel for intel-corei7-64 machine over to also use them with
qemux86-64, and add apparently now required LPSS configuration
options to x86-upsquared.cfg to fix serial console support.
Bug-AGL: SPEC-3353
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iabcd7701f6967c877b295c09c1d328d69c4d0deb
Jan-Simon Möller [Mon, 27 Apr 2020 15:32:16 +0000 (17:32 +0200)]
Merge branch 'next'
* next:
Temporary workarounds for h3ulcb and bbe
[RCAR] use omx-user-module as libomxil provider
meta-agl-bsp: dra7xx-evm/beaglebone updates for dunfell
meta-agl-bsp: remove obsolete linux-fslc-imx bbappend
meta-agl-profile-graphical-qt5: remove Chromium specific bits from SDK
meta-agl-profile-graphical: disable memfd usage in weston
meta-agl-bsp: update raspberrypi configuration for dunfell
meta-agl-{bsp,distro}: update kernel configuration for dunfell
meta-agl-profile-core: update psplash for dunfell
meta-agl-profile-core: update systemd for dunfell
meta-app-framework: set DISTRO_FEATURES_NATIVE
meta-agl-profile-core: update bluez5 for dunfell
meta-agl-profile-graphical: update weston for dunfell
meta-agl-profile-graphical: update wayland-ivi-extension for dunfell
meta-agl-profile-graphical: update wayland for dunfell
meta-agl-profile-core: update pulseaudio for dunfell
meta-security: update to audit 2.8.5
Update distro_features_check usage
meta-agl-bsp: remove vboxguestdrivers recipe
Declare layer compatibility for dunfell
Change-Id: I879ad3040ed6f2fca3f21d189ccce7f1614013b5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Sun, 26 Apr 2020 14:59:33 +0000 (16:59 +0200)]
Temporary workarounds for h3ulcb and bbe
To allow the dunfell upgrade to be done early, these changes are necessary:
- h3ulcb : disable kingfisher support layer
- bbe : temporarily replace sancloud bbe machine template with plain beaglebone
Both boards need updated BSPs for dunfell.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Id481b693022a2276c4d5f835e4a23d436681a2cd
Ronan Le Martret [Thu, 16 Apr 2020 10:04:46 +0000 (12:04 +0200)]
[RCAR] use omx-user-module as libomxil provider
* PREFERRED_PROVIDER_virtual/libomxil is the standart way to
define dependency on gstreamer1.0-omx recipes.
Bug-AGL: SPEC-3328
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I061c0142f56ee4348809876c08b818944514bce3
Scott Murray [Tue, 21 Apr 2020 21:20:22 +0000 (21:20 +0000)]
meta-agl-bsp: dra7xx-evm/beaglebone updates for dunfell
Changes:
- Rename weston bbappend for weston 8.0.0 in dunfell.
- meta-ti now requires the meta-arm layer as the upstream source of
the optee recipe, so add it to bblayers.conf in the machine
templates. This is dependent on a manifest update to add meta-arm.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib6b40d3aa1d2b04239b6e5343eb818f3f49af8ef
Scott Murray [Tue, 21 Apr 2020 21:15:37 +0000 (21:15 +0000)]
meta-agl-bsp: remove obsolete linux-fslc-imx bbappend
meta-freescale has removed the linux-fslc-imx recipe in its master
and dunfell branches, so remove the local bbappend to avoid parse
errors. That kernel is currently not used by any machine template
in-tree, so there should be no impact.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iea9a5ae11ef90f5ce217ac5b379b133c6d0948a8
Scott Murray [Thu, 2 Apr 2020 16:41:29 +0000 (12:41 -0400)]
meta-agl-profile-graphical-qt5: remove Chromium specific bits from SDK
The gn tool recipe is not usable on dunfell due to python2
dependencies, and the current AGL solution for web applications
does not require building Chromium with the SDK, so remove the
packages explicitly added for Chromium to cut down on the SDK
size and build time.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1cb10fa919d331b231e6c393674be5e71c00edc0
Scott Murray [Thu, 2 Apr 2020 15:49:45 +0000 (11:49 -0400)]
meta-agl-profile-graphical: disable memfd usage in weston
The YP dunfell release's Weston 8.0.0 is the first version to switch
to hard-coded usage of memfd's for its shared memory access if the
memfd_create system call is available in libc. At the moment, this
is problematic since accesses to the non-filesystem file descriptors
get blocked by SMACK. For now, while a longer-term solution is
worked out in SPEC-3305, patch Weston to allow disabling memfs usage
at build time, and do so by using the option in our bbappend.
Bug-AGL: SPEC-3302, SPEC-3305
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie217c63cd4f43e3de1e802cb026c1ee2905bc5b7
Scott Murray [Wed, 1 Apr 2020 16:57:34 +0000 (12:57 -0400)]
meta-agl-bsp: update raspberrypi configuration for dunfell
Changes:
- Remove Mesa version over-ride, since dunfell has newer version.
- Remove bcm2835-bootfiles SRCREV updates since dunfell has newer
versions of the files.
- Remove kernel SRCREV update in linux-raspberrypi_4.19.bbappend
since dunfell has newer version, and add include of new
linux-4.19-agl.inc to keep getting CAN qdisc patch.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7f7a9b454de9eb4fae7075b30ee89b3aec4e6a43
Scott Murray [Wed, 1 Apr 2020 16:51:11 +0000 (12:51 -0400)]
meta-agl-{bsp,distro}: update kernel configuration for dunfell
Changes:
- Rework CAN qdisc patch application, as it is not required for 5.4
or newer kernels, this includes adding a linux-agl-4.19.inc for
BSPs using 4.19.
- Remove linux-agl-4.9.inc and associated patches, as no BSP uses 4.9
at this point.
- Remove PREFERRED_VERSION_linux-yocto from poky-agl.conf so the
default 5.4 linux-yocto kernel will be picked up.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9c0eb431661641bd17320a00cdf1ed4e717a9754
Scott Murray [Tue, 31 Mar 2020 23:37:09 +0000 (19:37 -0400)]
meta-agl-profile-core: update psplash for dunfell
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
Scott Murray [Tue, 31 Mar 2020 18:35:37 +0000 (14:35 -0400)]
meta-agl-profile-core: update systemd for dunfell
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
Scott Murray [Tue, 31 Mar 2020 18:31:04 +0000 (14:31 -0400)]
meta-app-framework: set DISTRO_FEATURES_NATIVE
Add smack and xattr features to DISTRO_FEATURES_NATIVE to make
base-files-native build happy in dunfell.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9f65c575b4a98c78dcbe1561a00d5d0b43e757fe
Scott Murray [Tue, 31 Mar 2020 18:29:04 +0000 (14:29 -0400)]
meta-agl-profile-core: update bluez5 for dunfell
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
Scott Murray [Mon, 30 Mar 2020 21:47:06 +0000 (17:47 -0400)]
meta-agl-profile-graphical: update weston for dunfell
Rename weston bbappend, remove backported patch, and update a patch
for weston 8.0.0 in dunfell.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I518bd403133c193e5f68ee89e69dfccc56d5c78d
Scott Murray [Mon, 30 Mar 2020 21:16:10 +0000 (17:16 -0400)]
meta-agl-profile-graphical: update wayland-ivi-extension for dunfell
Update wayland-ivi-extension patch for weston 8.0.0 in dunfell.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2d82203e33d87c49ea8ceadc225fcf3930aae20e
Scott Murray [Mon, 30 Mar 2020 21:13:54 +0000 (17:13 -0400)]
meta-agl-profile-graphical: update wayland for dunfell
Remove backported patch now present in wayland 1.18.0 in dunfell, and
update another patch to quiet patch fuzz QA warning.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4ac5adfac6167cc96a755f07922c1c0721d0cb05
Scott Murray [Mon, 30 Mar 2020 20:58:24 +0000 (16:58 -0400)]
meta-agl-profile-core: update pulseaudio for dunfell
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
Scott Murray [Mon, 30 Mar 2020 20:12:08 +0000 (16:12 -0400)]
meta-security: update to audit 2.8.5
Update audit recipe with version 2.8.5 recipe from meta-selinux (as
of commit
03baa60) to fix build issues against dunfell related to
python2 removal. Adding meta-selinux to the manifest for the one
recipe seems like overkill for now; it might be worthwhile asking
upstream about moving it to meta-security to allow dropping a local
copy altogether.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I83a2e65201f9f02fcce843f4bc6b65a2304ef899
Scott Murray [Mon, 30 Mar 2020 19:08:58 +0000 (15:08 -0400)]
Update distro_features_check usage
Replace distro_features_check usage with features_check to work with
dunfell, which has removed distro_features_check.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I46ef0d0feaa5515dd664de4cc5a9691e2ebe109b