summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-28recipes-core: systemd: move canbus-can.network scriptMatt Ranostay3-8/+4
Move canbus network script from meta-agl-profile-telematics to meta-profile-core. Since this is useful for more than just telematics Bug-AGL: SPEC-2580 Change-Id: I93666d87f1fb3eb037743d2858a8757d6939c5e3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-27linux-agl: change aloop to a module instead of built-inScott Murray2-4/+4
Rename the 4a-sound.cfg fragment to the more generic sound.cfg, and change CONFIG_SND_ALOOP to module, not built-in. This still keeps it available if something ends up needing it. Bug-AGL: SPEC-2555 Change-Id: Ib0554800dc704d19b48a7e041d4f2b60a1b42192 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-26agl-hmi-framework: remove virtual/navigation over-rideScott Murray1-1/+0
Remove dangling PREFERRED_PROVIDER over-ride of virtual/navigation that was forcing the use of the older navigation application instead of the setting of the newer ondemandnavi application done in the distro configuration. Bug-AGL: SPEC-2576 Change-Id: Id6f7d6636bef5cf40dc5085b02030acd0e7d494d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-26rtl-sdr: Install tweaked udev rulesScott Murray1-2/+8
To enable agl-service-radio to access the RTL-SDR USB devices, install the provided rtl-sdr.rules file in /etc/udev/rules.d, modifying it to tweak the device permissions, group, and SMACK label to meet the requirements for the new application framework audio permission. Bug-AGL: SPEC-2573 Change-Id: I22e2c624b8c57df0b5932ba7f8a377ae2c0d9566 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-26Append a new empty line to features' local template file when setting up AGLBechir Mghirbi1-0/+1
A missing empty line at the end of a feature's local template file will lead to a ParseError error. This patchset will automatically append a new line at the end of the feature's local template file when setting up AGL. Bug-AGL: SPEC-2563 Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com> Change-Id: Ica9decdb0bda182de7e25ace4fca6a9f6f7db5ff
2019-06-25agl-service-unicens: add missing DEPENDSScott Murray1-1/+1
agl-service-unicens now needs libafb-helpers to build, add it to DEPENDS in its recipe. Bug-AGL: SPEC-2562 Change-Id: Ief299b51bffb288f2143bfae3cc7a646ba93b43b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-23Move the agl-service-radio to the graphical profileJan-Simon Möller8-5/+5
The agl-service-radio relies on gstreamer. Unfortunately the gstreamer recipe is currently setup to also pull-in wayland (due to a compile-flag if wayland is in DISTRO_FEATURES). To keep the distro aligned, we don't want to change the DISTRO_FEATURES between the profiles, thus we move the agl-service radio to the graphical profile where we include weston anyway by default. For now this means there is no radio service (or mediaplayer service) w/o wayland installed as well. In case we get this requirement, we'll have to work on the gstreamer recipe and its split. v2: fix bbapend in meta-agl-bsp/meta-rcar-gen3 v3: put packagegroup-agl-graphical-multimedia.bbappend in graphical profile (not the best place IMHO) This fixes the non-graphical build. Bug-AGL: SPEC-2500 Change-Id: I5ebec7d7713510f3fcd50ae425d7f8cbb6328016 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-21SPEC-2376: Add config for QEMU arm kernelsCorentin Labbe3-0/+11
The default yocto qemuarm machine is versatilepb which is not the right choice for AGL (ex: Max 256M of RAM). This patchs change qemuarm configs for using the virt machine. Change-Id: Ib5e0ae801ba152318a2455763b1a2f1020d1858e Bug-AGL: SPEC-2376 Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
2019-06-21Add support for nbd protocol v3Ronan Le Martret3-3/+18
Add a new cmdline argument using option 'nbd.v3' that could be parsed by the initrd script used for netboot. Bug-AGL: SPEC-1423 Change-Id: I1cd189c343672631feda5bcee2e393eb46b9d000 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-06-20recipes-apis: agl-service-windowmanager: update SRCREVRaquel Medina1-1/+1
* LayerControl: return error if surface is not ready Bug-AGL: SPEC-2291 Change-Id: Iac8596fdb2aeac29c9bb47db906abad4d2498fc8 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-06-20distro-manifest-generator: enhance git repos detectionStephane Desneux1-2/+2
Following recent change 334a201 (#21619), it's now necessary to explore the layers folder to find git repositories. But when the build directory is a subfolder of $METADIR (repo folder), 'find' digs too deeply to find git repositories. This patch adds some limits for 'find' to dig into subfolders: * only find "top" git repos (no git submodules) * limit the search depth to 2 Bug-AGL: SPEC-2450 Change-Id: Idd907737673d196cc8ba157a5c49492119efeb88 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-20meta-rcar-gen3/setup_mm_packages.sh: always clean workdirStephane Desneux1-0/+6
The script setup_mm_packages.sh setups a temp dir to extract proprietary drivers for Renesas BSP, but it's not re-entrant: the temp dir is not cleaned after execution. With the introduction of the change 9bc6c25 (hotfix for GFX issues), more cleanup is needed to avoid duplicate zips detection in the copy script located in meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh This change makes some initial cleanup in the workdir (in case of transition from a previous script without this patch) and also removes the workdir at the end Bug-AGL: SPEC-2253, SPEC-2480 Change-Id: Ia95f9045d8a695d550a061710a17676088a92c0a Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-20Add cubox-i and nitrogen6x i.MX6 machinesScott Murray9-0/+67
Add the cubox-i (covering SolidRun Cubox-i, Hummingboard Gate and Edge), and nitrogen6x (covering Nitrogen 6x and SABRE Lite) machine definitions. Note that support for the Broadcom Bluetooth chipset on the SolidRun i.MX6 SOM is currently missing, as it requires firmware that is not available in either the linux-firmware package or from the firmware packages provided by meta-freescale. Bug-AGL: SPEC-2517 Change-Id: If7bdb9f1af9bb67dba5c1ff836a6d3b04160fefd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-20meta-agl-bsp: Changes to get imx6qdlsabreauto working with etnavivScott Murray5-29/+49
Update imx6qdlsabreauto configuration to use open source etnaviv GPU driver instead of Vivante. The previously required weston-ini-conf has been removed as it is not required with etnaviv, and a bbappend has been added for the linux-fslc kernel that this configuration uses so it will pull in the AGL kernel bits. Additionally, the kernel configuration for linux-fslc is tweaked with config fragments to better match the other AGL platforms. Bug-AGL: SPEC-1674, SPEC-2502 Change-Id: Ic40d310b48405ccc7d1435f0fc9f162a129cffe9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-20meta-agl-profile-core: Add packagegroup-machine-base to imagesScott Murray2-1/+2
Add packagegroup-machine-base to packagegroup-agl-image-{boot,minimal}. This replicates its use in oe-core, where it gets pulled in via packagegroup-base into the core-image definition. AGL over-rides CORE_IMAGE_BASE_INSTALL, losing packagegroup-base entirely. However, it is useful to use packagegroup-machine-base to pick up any BSP definitions of MACHINE_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS, which some of the machines defined in meta-freescale-3rdparty use for non-essential firmware for onboard peripherals. Bug-AGL: SPEC-2517 Change-Id: I1ee07955dc60da1388b21b7a531dab8483935194 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-20Reworked the automount scriptLoïc Collignon1-10/+84
You have to tweak mount options on a per filesystem basis so that the permissions set on the mount point allow the mediascanner and mediaplayer to read files. Bug-AGL: SPEC-545 Change-Id: I2579bf4b8be3d0bc05f08f762bb751d4f54651a8 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-06-19meta-agl-profile-core: recipes-connectivity: ofono: add SYSTEMD_AUTO_ENABLE ↵Matt Ranostay1-0/+2
to bbappend Re-enable ofono to be started on system bootup. Bug-AGL: SPEC-2512 Change-Id: Ia6638a3f4baf5e491e960c0c6e9ec414a6baee0b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-19meta-agl-profile-core: recipes-connectivity: bluez: add notification statusMatt Ranostay2-1/+30
Add 'notfication' reporting for the Status property via the org.bluez.obex.Message1 interface. Bug-AGL: SPEC-2512 Upstream-Status: PENDING Change-Id: Idce51acdc6f0718f07cc2bb669c4bc71686588ee Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-19meta-agl-profile-core: recipes-connectivity: bluez: remove outdated patchMatt Ranostay2-30/+0
Remove compiler fix for version 5.22 which is no longer within the tree. Bug-AGL: SPEC-2512 Change-Id: I8ffc73ba108016214dab5da744339fc4e3da7c54 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-19af-main: Version bump for running as agl-driverJosé Bollo1-1/+1
Integrates the following changes: * 3284913 Introduce dbus config of services * 77bd420 Introduce platform services * 533d5a1 Fix synchronisation of user setup Bug-AGL: SPEC-1015 Bug-AGL: SPEC-1016 Change-Id: I3fd000a9fbdd73317b565d69ba2d8fbd49dc4e7f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19agl-service-ca-low-level: run at platform scopeJosé Bollo1-1/+1
Integrate running at platform scope. Bug-AGL: SPEC-2006 Change-Id: I7d47512c0f7b29f91be9c18144400b02f62b562f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19libafb-helpers: Fix bug SPEC-2520José Bollo1-1/+1
This integrates the fix of the homescreen crashing after recent audiomixer change. Bug-AGL: SPEC-2520 Change-Id: Ia9899cbe23fc88179d26d8069c3e12463bdda5b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19dbus-cynara: Fix upgrading to dbus-1.12.10Jose Bollo7-143/+549
Migration to yocto/oe/thud implied the shift to dbus-1.12.10. This fixes some upgrading concern. Bug-AGL: SPEC-1837 Change-Id: Iaa9c1493e2fbc2a014aae1315e4e4a31891178cb Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-platform-setup: Add recipe for setting platformJosé Bollo3-0/+21
The Application Framework has implications on platform setup. This commit introduces a recipe that at the end would group all these required setup at on place. Bug-AGL: SPEC-1015 Change-Id: I45904ba269883329295bcbc3c70427edbfdd674f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19Enforce separation of users using UMASKJosé Bollo2-2/+10
Users should not be able to read other user content. Use Umask to enforce that. Bug-AGL: SPEC-1016 Change-Id: Ibb61b7a6a7617117a499650c5bd70bdd5af3c328 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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>