AGL/meta-agl.git
3 years agoCleanup draft sandbox/jsmoeller/cleanup jsmoeller/cleanup
Jan-Simon Möller [Thu, 18 Jun 2020 13:50:30 +0000 (15:50 +0200)]
Cleanup draft

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I2be1b44049d74146546380e2eb866f0558a26822

3 years agocmake-apps-module: update SRCREV 87/24787/2
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>
3 years agoafb-test: use AGL_APP_REVISION as SRCREV 76/24776/2
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>
3 years agoAdapt the local.conf.sample 74/24774/2
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>
3 years agoUpdate conf-notes.txt with current targets 73/24773/2
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>

3 years agosplit libqtappfw in modules 28/24628/7
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>
3 years agometa-agl-profile-core: remove agl-service-steering-wheel 79/24679/2
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>
3 years agometa-app-framework: aglwgt.bbclass fixes 77/24677/2
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>

3 years agoagl-service-homescreen: use AGL_APP_REVISION as SRCREV 76/24676/2
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>

3 years agoagl-virt-guest-xen feature for qemuarm64 60/24560/4
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>
3 years agoFix FTBS of sdk due to missing azure-macro-utils-c package when installing azure... 12/24612/3
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>

3 years agoFix m3ulcb/m3ulcb-nogfx builds 89/24589/2
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>
3 years agometa-app-framework: update af-main SRCREV 84/24584/3
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>
3 years ago[RCAR] adjust asound.state for new BSP 3.21/YP3.1 72/24572/4
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>
3 years ago[RCAR] Update rcar drivers to BSP 3.21.0 (weston8) 59/24559/5
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>
3 years agoEnsure the ptests used in CI are part of the filesystem 77/24577/3
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>

3 years agoRaspberry 4: XEN support 22/24522/6
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>

3 years agoCluster demo support updates 67/24567/2
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>
3 years agoFix nss-localuser postinst scriptlet to run only on the target 30/24530/3
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>
3 years agoFix FTBS of sdk due to missing umock-c package when installing umock-c-dev 65/24565/4
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>

3 years agotemplates/machine/bbe: Populate the README file with some links 57/24557/3
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>
3 years agotemplates/machine/bbe: Re-enable SanCloud BBE support 56/24556/2
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>

3 years agotemplates/feature/agl-compositor: Update homescreen SRCREV 28/24528/3
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>
3 years agolibqtappfw: update SRCREV 34/24534/2
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>
3 years agotemplates/feature/agl-compositor: Add proper dependecies for 31/24531/5
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>
3 years agoRework test/debug image features and crosssdk image definitions 05/24505/7
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

3 years agotemplates/feature/agl-compositor: Use sha1 and topic branches 24/24524/5
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

3 years agotemplates/feature/agl-compositor: Add alexa-viewer, settings and onscreenapp to 16/24516/9
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

3 years agotemplates/feature/agl-compositor: Use the correct nav app 14/24514/4
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

3 years agoweston-init: Use the same config file from weston 13/24513/2
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

3 years agoqtwayland_%.bbappend: Force resize after buffer swap 02/24502/4
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

4 years agoagl-compositor: Update SRCREV for libweston8 update 65/24465/5
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

4 years agoqtwayland_%.bbappend: Migrate the qt shell integration to the proper 01/24501/3
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

4 years agoUpdate Raspberry Pi (3/4) templates to match meta-raspberrypi configuration 93/24493/4
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

4 years agoAdd i.MX8MQ EVK support 82/24482/3
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

4 years agometa-agl-profile-graphical: add SMACK labelling for weston 72/24472/4
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

4 years agolinux: Enable kernel configs for SystemTap 59/24459/4
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

4 years agoWidget packaging rework 84/24484/4
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

4 years agoaf-main & af-binder: Fix infinite loop and C++ 79/24479/2
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>
4 years agometa-agl-bsp: extend qemux86-64 hardware support 69/24469/1
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

4 years agoMerge branch 'next' 32/24432/1
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>
4 years agoTemporary workarounds for h3ulcb and bbe
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

4 years ago[RCAR] use omx-user-module as libomxil provider
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

4 years agometa-agl-bsp: dra7xx-evm/beaglebone updates for dunfell
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

4 years agometa-agl-bsp: remove obsolete linux-fslc-imx bbappend
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

4 years agometa-agl-profile-graphical-qt5: remove Chromium specific bits from SDK
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

4 years agometa-agl-profile-graphical: disable memfd usage in weston
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

4 years agometa-agl-bsp: update raspberrypi configuration for dunfell
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

4 years agometa-agl-{bsp,distro}: update kernel configuration for dunfell
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

4 years agometa-agl-profile-core: update psplash for dunfell
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

4 years agometa-agl-profile-core: update systemd for dunfell
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

4 years agometa-app-framework: set DISTRO_FEATURES_NATIVE
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

4 years agometa-agl-profile-core: update bluez5 for dunfell
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

4 years agometa-agl-profile-graphical: update weston for dunfell
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

4 years agometa-agl-profile-graphical: update wayland-ivi-extension for dunfell
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

4 years agometa-agl-profile-graphical: update wayland for dunfell
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

4 years agometa-agl-profile-core: update pulseaudio for dunfell
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

4 years agometa-security: update to audit 2.8.5
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

4 years agoUpdate distro_features_check usage
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

4 years agometa-agl-bsp: remove vboxguestdrivers recipe
Scott Murray [Mon, 30 Mar 2020 19:03:03 +0000 (15:03 -0400)]
meta-agl-bsp: remove vboxguestdrivers recipe

Remove local vboxguestdrivers recipe as a newer version is available
in meta-oe in dunfell.

Bug-AGL: SPEC-3302

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I3a7ff17a4bcae2f38a4876aeeed7b5880636ac5b

4 years agoDeclare layer compatibility for dunfell
Scott Murray [Mon, 30 Mar 2020 18:52:40 +0000 (14:52 -0400)]
Declare layer compatibility for dunfell

For the upgrade to YP dunfell/3.1 we need to update the layer
compatibility.

Bug-AGL: SPEC-3302

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ieb1ac9ef1f48f077c9cd312c4ac295ae1cc062b0

4 years agometa-agl-profile-core: remove high-level-viwi-service 23/24423/2
Scott Murray [Thu, 23 Apr 2020 17:41:39 +0000 (13:41 -0400)]
meta-agl-profile-core: remove high-level-viwi-service

The high-level-viwi-service recipe has been replaced with an updated
agl-service-can-high-level-viwi recipe in meta-agl-demo, so remove it.

Bug-AGL: SPEC-3113

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I42cf43415e9dcdbc993fda0d966ff75ce3df0853

4 years agolibqtappfw: update SRCREV 26/24426/1
Raquel Medina [Fri, 24 Apr 2020 22:36:30 +0000 (00:36 +0200)]
libqtappfw: update SRCREV

Update SRCREV to pick up:
01c425e: fix pbap api name

Bug-AGL: SPEC-3339
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I2e4497584a8f464fc1467ae3b0af65c657405a4a

4 years agoFix a parallel make bug of opencv in CI env 19/24419/3
Jan-Simon Moeller [Wed, 22 Apr 2020 10:09:57 +0000 (12:09 +0200)]
Fix a parallel make bug of opencv in CI env

I cannot reproduce it outside of the CI env, thus limited to CI for now.

https://build.automotivelinux.org/job/ci-platform-meta-agl-verify-CIB-aglcompositor-qemux86-64/65/consoleFull

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7168136045766006d62c691d10f7148bc299d0d0

4 years agotemplates/feature/agl-compositor: Include SRCREVs 09/24409/3
Marius Vlad [Tue, 21 Apr 2020 12:24:49 +0000 (15:24 +0300)]
templates/feature/agl-compositor: Include SRCREVs

It seems that in CI, yocto fails to retrieve the correct
branch, presumably due to the SRCREV pointing to HEAD of the
agl/master branch instead of the one by directly specified.

This patch uses the SRCREV from sandbox/mvlad/agl-compositor to make
it resolves correctly the branch and implicitly the fetch succeeds.

With it, this adds further dependency of wayland-scanner for launcher
application, as to able to activate applications with the
agl-desktop-shell protocol.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie6a559be56702843abdb580ec66998b6b4c3f978

4 years agolibqtappfw: update SRCREV 10/24410/2
Raquel Medina [Tue, 21 Apr 2020 13:41:36 +0000 (15:41 +0200)]
libqtappfw: update SRCREV

Update SRCREV to pick up:
06e1006: remove deprecated files
b2e12e6: fix typo in guimetadata.cpp
61d54ea: provide QJsonValue instead of QString in call request

Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: If46af9a5533d6e5ecb7067a69ca0f1f9718512e2

4 years agolibqtappfw: update SRCREV 90/24390/2
Raquel Medina [Mon, 20 Apr 2020 09:51:40 +0000 (11:51 +0200)]
libqtappfw: update SRCREV

Update SRCREV to pick up:

257c3fb: register with QMetaType

Bug-AGL: SPEC-3112

Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I0c2a92c51c5dc4fab86ff3549d8b73f023daa710

4 years agoUpdate SRCREV for agl-compositor 93/24393/1
Marius Vlad [Mon, 20 Apr 2020 16:51:12 +0000 (19:51 +0300)]
Update SRCREV for agl-compositor

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

4 years agometa-agl-bsp: restore wic disk images for qemux86-64 46/24346/1
Scott Murray [Wed, 15 Apr 2020 19:08:12 +0000 (15:08 -0400)]
meta-agl-bsp: restore wic disk images for qemux86-64

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

4 years agometa-app-framework: update af-main SRCREV 45/24345/1
Scott Murray [Tue, 14 Apr 2020 22:09:58 +0000 (18:09 -0400)]
meta-app-framework: update af-main SRCREV

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

4 years agoRevert "agl-service-homescreen: update SRCREV" 44/24344/1
Raquel Medina [Tue, 14 Apr 2020 10:32:38 +0000 (12:32 +0200)]
Revert "agl-service-homescreen: update SRCREV"

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>
4 years agoaf-main: Sign widgets when agl-devel 58/24158/10
José Bollo [Fri, 11 Oct 2019 12:47:24 +0000 (14:47 +0200)]
af-main: Sign widgets when agl-devel

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>
4 years agolibqtappfw: update SRCREV 42/24342/1
Raquel Medina [Thu, 9 Apr 2020 16:52:50 +0000 (18:52 +0200)]
libqtappfw: update SRCREV

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

4 years agoagl-service-homescreen: update SRCREV 40/24340/3
Raquel Medina [Wed, 8 Apr 2020 18:38:35 +0000 (20:38 +0200)]
agl-service-homescreen: update SRCREV

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

4 years agometa-agl-distro: update x86_64 qemu configuration 35/24335/4
Scott Murray [Tue, 7 Apr 2020 22:38:02 +0000 (18:38 -0400)]
meta-agl-distro: update x86_64 qemu configuration

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

4 years agometa-agl-profile-graphical: update weston-ready's weston dependency 31/24331/1
Scott Murray [Mon, 6 Apr 2020 21:24:59 +0000 (17:24 -0400)]
meta-agl-profile-graphical: update weston-ready's weston dependency

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

4 years agolibqtappfww: update SRCREV 93/24293/1
Raquel Medina [Wed, 1 Apr 2020 11:42:46 +0000 (13:42 +0200)]
libqtappfww: update SRCREV

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

4 years agoUse top-level LICENSE files for each repo 81/24281/2
Jan-Simon Moeller [Wed, 25 Mar 2020 15:31:58 +0000 (16:31 +0100)]
Use top-level LICENSE files for each repo

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

4 years agoagl-sota: Add netboot to CONFLICT_DISTRO_FEATURES 72/23972/2
Leon Anavi [Tue, 18 Feb 2020 08:34:54 +0000 (10:34 +0200)]
agl-sota: Add netboot to CONFLICT_DISTRO_FEATURES

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>
4 years agoagl-sota: Extend 50_setup.sh for Raspberry Pi. 84/24284/1
Patrick Vacek [Mon, 30 Mar 2020 11:36:45 +0000 (13:36 +0200)]
agl-sota: Extend 50_setup.sh for Raspberry Pi.

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Change-Id: Ifdb2281a9740f9c362aef9ab585959679050826d

4 years agoaglwgtbbclass: Minor improvements 57/24157/7
José Bollo [Fri, 21 Feb 2020 10:04:30 +0000 (11:04 +0100)]
aglwgtbbclass: Minor improvements

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>
4 years agoOnly compress vmdk in AGLCI and extend inclusion of drivers 69/24269/1
Jan-Simon Möller [Sat, 21 Mar 2020 16:11:31 +0000 (17:11 +0100)]
Only compress vmdk in AGLCI and extend inclusion of drivers

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

4 years agoaf-main: remove widget versions and fixes for zeus 33/24133/5
José Bollo [Fri, 28 Feb 2020 10:11:05 +0000 (11:11 +0100)]
af-main: remove widget versions and fixes for zeus

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>
4 years agoFix build issue in bluez5 bbappend file 59/24259/3
Jan-Simon Möller [Wed, 18 Mar 2020 18:37:06 +0000 (19:37 +0100)]
Fix build issue in bluez5 bbappend file

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

4 years agoEnable classes for reproducible-builds in OE 03/22203/9
Jan-Simon Möller [Thu, 22 Aug 2019 21:23:50 +0000 (23:23 +0200)]
Enable classes for reproducible-builds in OE

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>
4 years agoConsolidation of AGL_DEFAULT_IMAGE_FSTYPES after review of machine use 07/22207/6
Jan-Simon Moeller [Fri, 23 Aug 2019 21:31:23 +0000 (23:31 +0200)]
Consolidation of AGL_DEFAULT_IMAGE_FSTYPES after review of machine use

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>
4 years agoSupport Salvator-X/XS board 28/24128/7
Duy Dang [Wed, 26 Feb 2020 08:34:38 +0000 (15:34 +0700)]
Support Salvator-X/XS board

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>
4 years agolinux-agl: add pfifo patchset for fixing CAN failures 10/24210/6
Matt Ranostay [Wed, 11 Mar 2020 05:29:42 +0000 (07:29 +0200)]
linux-agl: add pfifo patchset for fixing CAN failures

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>
4 years agoaf-binder: fix bug in reconnection 49/24249/1
Jose Bollo [Fri, 13 Mar 2020 08:55:25 +0000 (09:55 +0100)]
af-binder: fix bug in reconnection

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>
4 years agoEnable Xen for m3ulcb 02/22202/10
Jérémy Fanguède [Tue, 15 Oct 2019 12:48:04 +0000 (14:48 +0200)]
Enable Xen for m3ulcb

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>
4 years agometa-rcar-gen3: Add Xen specific device tree for m3ulcb 01/22201/9
Jérémy Fanguède [Thu, 18 Jul 2019 15:17:30 +0000 (17:17 +0200)]
meta-rcar-gen3: Add Xen specific device tree for m3ulcb

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>
4 years agolibqtappfw: update SRCREV 11/24211/4
Raquel Medina [Tue, 10 Mar 2020 22:14:04 +0000 (23:14 +0100)]
libqtappfw: update SRCREV

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

4 years agobluez: workaround aclmtu issue on OBEX transfers 30/24130/5
Matt Ranostay [Wed, 26 Feb 2020 06:23:38 +0000 (08:23 +0200)]
bluez: workaround aclmtu issue on OBEX transfers

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>
4 years agoqtlocation: revert Mapbox API calls to 256x256 tiles 39/24239/2
Matt Ranostay [Wed, 11 Mar 2020 23:30:19 +0000 (01:30 +0200)]
qtlocation: revert Mapbox API calls to 256x256 tiles

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

4 years agoUpdate netboot initrd to persist the nbd connection 68/24168/8
Jan-Simon Moeller [Wed, 4 Mar 2020 14:42:48 +0000 (15:42 +0100)]
Update netboot initrd to persist the nbd connection

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

4 years agoAdd vboxguestdriver recipe to meta-agl-bsp instead of meta-agl-demo 04/24204/4
Jan-Simon Moeller [Tue, 10 Mar 2020 18:46:16 +0000 (19:46 +0100)]
Add vboxguestdriver recipe to meta-agl-bsp instead of meta-agl-demo

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

4 years agoqtlocation: add Mapbox patch to use new API 06/24206/8
Matt Ranostay [Tue, 10 Mar 2020 21:03:47 +0000 (23:03 +0200)]
qtlocation: add Mapbox patch to use new API

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>
4 years agoRemove network config fragment deployed by upstream 13/24213/1
Jan-Simon Möller [Wed, 11 Mar 2020 18:42:07 +0000 (19:42 +0100)]
Remove network config fragment deployed by upstream

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

4 years agoaf-binder: bump and fixes 59/24159/2
Jose Bollo [Wed, 4 Mar 2020 08:55:11 +0000 (09:55 +0100)]
af-binder: bump and fixes

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>
4 years agoagl-compositor: Update SRCREV to use libweston7 66/24166/2
Marius Vlad [Wed, 4 Mar 2020 12:54:46 +0000 (14:54 +0200)]
agl-compositor: Update SRCREV to use libweston7

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