aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-19lightmediascanner: change db directoryJosé Bollo1-1/+2
Lightmediascanner runs for one user and should not be able to look over the the shoulder of other users. So it should not run as root anymore. At the moment, lightmediascanner is a user daemon started in the user session by systemd, without capabilities but with the Smack label "System". To allow the service-mediascanner to access its database, the db must be set in a specific place with the User::App-shared label. Bug-AGL: SPEC-1016 Change-Id: Id4546e2567c4f5a0a5139d274d35d11e4879e42e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Remove afm-user-daemon and bump versionJosé Bollo2-7/+1
The process afm-user-daemon is no more used within AGL. So it is better to remove its installation. Integrates the following changes: * d0d4dcd Allow setting of libexec location * 2db5d23 Fix outdated application path. * cc93752 Refactor of system and user setup * 316b19f Remove unused definitions * 401188a Use definition of afm_prefix * efabde7 afm-unit conf: Remove useless tests * 405ba31 afm-user-session: moves in libexec directory * 07a9590 afm-unit: Simplify the Makefile * 44b1bdc afm-unit.conf: cleanup of generation * 2f3486b gitignore: Add ignore of EXTERNALSRC's artifacts * 5b801a3 afm-unit.conf: Refactor its generation * ce5c20d afm-user-daemon: Remove it by default Bug-AGL: SPEC-2006 Bug-AGL: SPEC-2360 Bug-AGL: SPEC-2367 Bug-AGL: SPEC-2436 Bug-AGL: SPEC-2437 Change-Id: Ib77ecc2e9aabb8a3c5cef7266c3f5b19205939b9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Add dependency to m4 and sedJosé Bollo1-1/+1
The file /etc/afm-unit.conf was genrated from temporary files manually generated. This was inefficient and error prone. This was reworked to enable a straight forward process that directly calls m4 and sed in the CMAKE files. Current commit adapt the recipe to that new process by adding the new build dependencies. Bug-AGL: SPEC-2436 Change-Id: I662f7620beccc53b6abe58c14c82ac94ae818491 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19Improve management of the group displayJosé Bollo2-2/+3
The group display protects accesses to display resources. When running as user, it should not be acquired by default but on need. Bug-AGL: SPEC-2006 Change-Id: I7c188720e5cfcb65f02af25d0e4262f59300d16a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Drop capabilities of applicationsJosé Bollo2-1/+2
This removes all capabilities of applications installed and launched by the framework. Bug-AGL: SPEC-2006 Includes the following changes: * 20bf077 afm-unit.conf: Add widget specific environment * a44e304 afm-util: Remove legacy commands stop/resume * f7a3a6e API Overview: Changes to the file that introduces APIs. * 26dd0f8 API Reference Overview: Removed old "kristi" file, updated book * b4ca569 afm-unit: Restore removal of capabilities Change-Id: I8c42d0b312aead668da03a987d0366b4ced73c70 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Improve readabilityJosé Bollo1-2/+2
While tuning the recipe, it appears that having long options helps to understand the recipe. Bug-AGL: SPEC-2437 Bug-AGL: SPEC-2006 Change-Id: Ie3d1b288db0d2db3159f1b3453a02db46e863c4f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-17agl-image-minimal-crosssdk: add afb-helpers & appcontroller libsThierry Bultel1-0/+2
Applications that no longer use the afb-helpers & appcontroller as submodules must be buildable with a minimal SDK. Bug-AGL: SPEC-2527 Change-Id: I31af05e2a9256db68394dcef88e424ecc8eb1ec2 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-06-17distro-build-manifest: fix DIST_LAYERS due to new layoutStephane Desneux1-1/+1
New layout with subfolders causes incomplete DIST_LAYERS to be generated in deploy/images/.../build-info. This patches fixes how git repos are found in the layers directory. Bug-AGL: SPEC-2450 Change-Id: I4b6a62b68064de12119e668522242677e11c65eb Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-17Bump qtaglextrasKazumasa Mitsunari1-1/+1
This commit includes followings a4d7197 Merge "Use new event for activating window" 171e9dc Fix compile error d21de3d Use new event for activating window 462a0ca Merge "Exposed QMLApplicationEngine from AGLApplication" 26d3b8a Exposed QMLApplicationEngine from AGLApplication c0d77c2 Improve Qt-ness of AGLApplication 02ce712 Add a public feature for wgtpkg-pack Bug-AGL : SPEC-2474 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp> Change-Id: I174142c35ecea4be12d805a3bbf753bc048ccfca
2019-06-14weston: Remove user session login for westonJosé Bollo1-0/+2
Before that commit, the service weston was started as user 'display' with a full setup of the user. It means that all services normally started for user started for weston: systemd-user, dbus, afm-user-daemon, lightmediascanner (that is all at the moment). This is useless and grabs resources. This commit avoids to start a session for weston. This saves resources. This changes is part of a set of changes to run services as not root. Bug-AGL: SPEC-545 Bug-AGL: SPEC-2492 Change-Id: If51d8fdf8c5e19d10151a2b96a79dc01bbb8ccb4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-13af-binder: Add recent improvements and fixesBechir Mghirbi1-1/+1
Bump af-binder revision to include the following: * 5026438 Build af-binder-devtools-native using GCC-9.1.1 * d6f6df8 afb-daemon: Add /tmp has fallback for uploads * f9c7430 jobs: Fix infinite wait lock * 02fe255 Fix afb document typo. * 4da9c71 afb-export: Fix requirement on multiple apis * 5d57096 coverage: Add test of AFB_DEBUG_WAIT * 216666e coverage: Allow to run coverage everywhere * d00bfe9 Allow to tune installation directories * 5214323 doc: Improve comment on asynchronous calls * 6401efb binding-wrap: Rework of context handling * 13457f6 samples: wrong parameter for get_new_board() * 78fcce2 Merge changes Id24d9bb0,I6807ed25 * 92c9d33 change style initialization of struct afb_auth * b369498 missing full initialization for struct afb_verb_v3 * a1e6d2c Merge "afb-migration-to-binding-v3: fix broken links" * a4cf888 afb-migration-to-binding-v3: fix broken links * 036629f Fix small issues * 8f12ffa coverage: Update Makefile * 6b2b09d Reordering of sample and tutorial bindings * 9cf1fce Fix rpm packaging following review 20926 * c80873f Change agl-app-framework-binder.sh BUG-AGL: SPEC-2482 Change-Id: Ied029a20edffd1ac2b347c94819f230a38d3d0b4 Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
2019-06-12aglsetup: remove useless warning due to new layoutStephane Desneux1-4/+4
Some warnings are emitter on stderr when enumerating layers with wildcards. This patch removes the useless messages from the output because that may be misinterpreted by the user. Bug-AGL: SPEC-2450 Change-Id: I1fbde964e9a0824146a088868de9a464efccb4f1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-12aglsetup: be less restrictive on machines/features definitionsStephane Desneux1-1/+1
When a private definition for a machine or feature has to be maintained, the easy way is to have an extra layer 'meta-xxxxxx' containing specific definitions on top of AGL. This layer can be fetched beside other meta-agl repos. In the past, aglsetup used to include any definition located in the $METADIR folder ($METADIR/*/templates/...). With the new layout and change 2b3a44b, a restriction has been put on folders matching 'meta-ag*', which is very restrictive. This patch does something in between, by matching all folders 'meta-*'. NB: with the new layout, this shouldn't include bsp layers or external layers so it's pretty safe. Bug-AGL: SPEC-2450 Change-Id: I459ea778380580e5b80685cc86779f36a232ac7c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-11Merge "Do not pull pulseaudio-misc if pulseaudio is not enabled"Jan-Simon Moeller1-1/+1
2019-06-11Merge "Import aglsetup templates and config for BBE"Jan-Simon Moeller3-0/+50
2019-06-12Do not pull pulseaudio-misc if pulseaudio is not enabledJan-Simon Möller1-1/+1
This fixes a build issue on ti vayu Missing or unbuildable dependency chain was: ['agl-demo-platform', 'pulseaudio-misc', 'alsa-plugins-pulseaudio-conf'] Bug-AGL: SPEC-2473 Change-Id: I9f9c85893b30a8aa98a6da1e76440a0df5076fa2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-11Update weston ini file to adopt remoting pluginHarunobu Kurokawa1-7/+4
Bug-AGL : SPEC-2420 To use remoting plugin, we should use new section in weston.ini. Example) [remote-output] name=remote-1 mode=384x368@30 host=192.168.10.30 port=5005 Man) https://gitlab.freedesktop.org/wayland/weston/blob/master/man/weston-drm.man#L149 https://gitlab.freedesktop.org/wayland/weston/merge_requests/7 Change-Id: Ifc271867dd2b1f2fe1794a08af188006f7b7779b Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-06-11Import aglsetup templates and config for BBEPaul Barker3-0/+50
The templates and config include files used with aglsetup.sh to build for the Sancloud BBE are imported from the meta-sancloud layer. This should make future maintenance easier. The templates are updated to match the new repository structure at the same time. Bug-AGL: SPEC-2507 Change-Id: I2b4717bd79d949a12b13e6bfece152e82bb8114c Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-06-11Merge "Post HH rc1 bump of distro config"Jan-Simon Moeller1-2/+2
2019-06-11Merge "feature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-framework"Jan-Simon Moeller4-4/+4
2019-06-11Merge "agl-service-mediaplayer: update recipe for pipewire"Jan-Simon Moeller1-2/+0
2019-06-11Merge "agl-core-services: build the radio service if pipewire is enabled"Jan-Simon Moeller1-1/+1
2019-06-11Merge "agl-core-multimedia: update for the pipewire transition"Jan-Simon Moeller1-10/+0
2019-06-11Merge "agl-service-radio: update recipe for pipewire"Jan-Simon Moeller1-3/+0
2019-06-11Post HH rc1 bump of distro configbuild.automotivelinux.org1-2/+2
Once we release rc1, the window for rc2 is open again. Change-Id: Ic03710be9c8364d08ce8628e434c26388f3e39f2 Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
2019-06-10Merge "Changes to support the repo clone rework"Jan-Simon Moeller21-49/+51
2019-06-10Changes to support the repo clone reworkJan-Simon Möller21-49/+51
To be merged together with: https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/ v2: fix the aglsetup script v3: fix scripts to extract m3ulcb v4: use single folder for BSPs Bug-AGL: SPEC-2450 Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-10feature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-frameworkGeorge Kiagiadakis4-4/+4
Bug-AGL: SPEC-2473 Change-Id: I2ff9ec3f5a55b32737c858c5eb2e835b582af0e4 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-10agl-service-mediaplayer: update recipe for pipewireGeorge Kiagiadakis1-2/+0
Only pipewire is supported now, therefore we don't need the switches Bug-AGL: SPEC-2473 Change-Id: Ia8e40556ae7f11483ebee54ed2926ae8e6878ebf Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-10agl-core-services: build the radio service if pipewire is enabledGeorge Kiagiadakis1-1/+1
And we no longer need to care about older systems Bug-AGL: SPEC-2473 Change-Id: Iac46298183f7ed0e080c71fb94e57ed8f3e1283c Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-10agl-core-multimedia: update for the pipewire transitionGeorge Kiagiadakis1-10/+0
Only pipewire is supported now, all other switches can go away Bug-AGL: SPEC-2473 Change-Id: I443dba64bc92282dfbb440a05c792b631570fc92 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-10agl-service-radio: update recipe for pipewireGeorge Kiagiadakis1-3/+0
Only pipewire is supported now as the backend, therefore we don't need the switches Bug-AGL: SPEC-2473 Change-Id: Ie5e9319c064e972f367d67fe3b898cb3ad142d6c Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-09Merge "Pin SRCREV used by ti-sgx-ddk-km"Jan-Simon Moeller1-0/+1
2019-06-09Merge "Fix rpi touchscreen support on master"Jan-Simon Moeller9-4/+1120
2019-06-07Merge "meta-agl-profile-graphical-qt5: Add qtaglextras"Jan-Simon Moeller1-0/+28
2019-06-07Merge changes If80c4e71,Ic0cf9128Jan-Simon Moeller2-5/+25
* changes: Fix : do_patch waring weston 6.0.0 [RCAR] Remove unnecessary device tree file
2019-06-07Fix : do_patch waring weston 6.0.0Harunobu Kurokawa1-5/+5
Backport weston patch to Fix do_patch warning. http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch -- WARNING: weston-6.0.0-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch 0001-make-error-portable.patch patching file configure.ac Hunk #1 succeeded at 126 with fuzz 2 (offset 17 lines). patching file libweston/weston-error.h patching file libweston/weston-launch.c Now at patch 0001-make-error-portable.patch Bug-AGL: SPEC-2499 Change-Id: If80c4e71be1f58362c78fec9ca6c2ca29d224c39 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-06-06meta-agl-profile-graphical-qt5: Add qtaglextrasScott Murray1-0/+28
Add qtaglextras to meta-agl-profile-graphical-qt5. This is required to fix building the cluster demo SDK now that qtaglextras has been added to packagegroup-qt5-toolchain-target. Bug-AGL: SPEC-2484 Change-Id: Ife540347c4b3912841a9d0e2d895afc458ca904c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-06Pin SRCREV used by ti-sgx-ddk-kmPaul Barker1-0/+1
The commit of the omap5-sgx-ddk-linux git repository used by the ti-sgx-ddk-km recipe is changed by recent commits to meta-ti to introduce generic support for armel (soft-float) targets. This conflicts with the existing patch in meta-agl which adds support for our toolchain. The simplest fix is to pin to a working commit by setting SRCREV to the previous commit on the same branch. This is the same commit that is currently used and so it won't have any effect until the meta-ti layer itself is updated. For reference, the commit in question can be seen here: https://git.ti.com/graphics/omap5-sgx-ddk-linux/commit/dbdbd9309a58ee723fc827ef5fd45c28347cf61f Bug-AGL: SPEC-2490 Change-Id: I2924cdadd697680567a9378eb3242f8dd526a429 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-06-06[RCAR] Remove unnecessary device tree fileHarunobu Kurokawa1-0/+20
Bug-AGL: SPEC-2486 Change-Id: Ic0cf9128d1630ede1af8024e3bd5258b7529b683 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-06-05Fix rpi touchscreen support on masterJan-Simon Möller9-4/+1120
We seem to miss a few bits that changed between kernel 4.9 and kernel 4.14 regarding the 7'' touchscreen. One addition is the rpi-backlight.dtbo which we also need to use in our create-combined-dtb recipe for CI use. We also seem to require https://github.com/raspberrypi/linux/pull/2693#issue-217750943 . Thanks to Scott Murray for the help digging through this. v2 and v3: add devicetree changes v4 and v5: fix name of dtbo v6: move append to machine include - we need it as a global var v7: add to config.txt for sdcard boot case Bug-AGL: SPEC-2465 Change-Id: I2bb3cd974b74a790292e1f36ffdca034928e0bca Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-01Prepare HH RC1 releasehalibut_7.99.1halibut/7.99.17.99.1Jan-Simon Möller1-3/+3
Bump the distro configuration. Change-Id: Icb7ac269a6b8cdd74f2b2d1d4a85d51202c9225e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-31Fix the location of the qemu bbappendJan-Simon Möller1-0/+0
The previous commit had it in the wrong folder. Correct that. Change-Id: Iadced308d90f4bb0babb40cc7e37f4c20a93a860 Bug-AGL: SPEC-2450 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-31Merge "Move hmi-framework and eg-virt from meta-agl-devel to meta-agl"Jan-Simon Moeller14-0/+193
2019-05-29Add weston 6.0.0 for WM and HS rewriteJan-Simon Möller11-2/+441
As requested for the WM and HS rewrite. Tested on m3, minnow, qemux86-64, rpi3. (cherry picked from commit fda5568cf4bc268088c9d1f925007d682bb7ef5d) Multiple commits to applied at once. Bug-AGL: SPEC-2444 Change-Id: I3f74b40213d4c4a65400a53fe9c57f52fe3b6096 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-28Updated topic title for AGL layers intro "master"Scott Rifenbark1-1/+1
The title for the overview of the AGL Layers topic was badly named. It was called "AGL Overview", which indicates an overview of AGL itself. The topis really an introduction to the layers that AGL uses. I changed it to "Overview", which also matches how the topics are named for "guppy" and "flounder". Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Change-Id: I230e3e4ffae47e550f25723823dae6c8456beafb
2019-05-28Merge "Revert "Add gst-record argument to weston option""Jan-Simon Moeller1-1/+1
2019-05-28Merge "SPEC-2376: Add virtio configs for QEMU arm/arm64 kernels"Jan-Simon Moeller2-0/+5
2019-05-28SPEC-2376: Add virtio configs for QEMU arm/arm64 kernelsCorentin Labbe2-0/+5
QEMU arm/arm64 need some VIRTIO configs for having storage for rootfs. Bug-AGL: SPEC-2376 Change-Id: Ia4b53092418b9f5e4040b8dafc58262a98bcac46 Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
2019-05-27Revert "Add gst-record argument to weston option"Harunobu Kurokawa1-1/+1
Bug-AGL : SPEC-2420 This reverts commit b4cd3148e509f566b1a28a02a5f1032ad48aad8c. After weston 6.0 or later, remoting plugin is used instead of current gst-record. The argumant "--gst-record" is not necessary. Change-Id: I580c2acb63a86b2780f0b1b0ba4b4cb357669f39 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>