summaryrefslogtreecommitdiffstats
path: root/meta-agl
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27Declare layer compatibility for dunfellScott Murray1-1/+1
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
2020-01-22Declare layer compatibility with zeusJan-Simon Möller1-1/+1
For the uprev to YP 3.0 zeus we need to update the layer compatibility. Change-Id: Ib762915305588c39400c3c8343152b4ecbfa4556 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-04Upgrade to thudScott Murray1-0/+2
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-04-20Introduce meta-agl-profile-core and meta-agl-profile-graphicsJan-Simon Möller139-8749/+0
Rework towards agl profiles. This change is part of a series of changes to create the AGL profiles. This set will mainly introduce the 'core' profile. It is setup to be a drop-in change, thus some files were kept in (dummy) locations for now. However, they'll be taken care of in the next changes in this series. The main target of the meta-agl-profile-core layer is to host: - a minimal, bootable image with network and package management enabled -- agl-image-boot - a minimal image with network and packagemanagement and the AGL APIs -- agl-image-minimal The layer meta-agl-profile-graphical is used as superset of these and includes support for egl+wayland+weston. All recipes concerning graphics were moved there. This is not a full profile as we still have to migrate some parts of meta-agl-demo in a follow-up changeset. The roadmap as discussed during the F2F session in Karlsruhe is: - week 16 : core profile and profiles w/o graphics - week 17 : graphical profiles - week 18 : final conversion of the demo image v2: moved agl-login-manager from -graphics to -core (see Jose's comment) v3: moved back after discussion - follow-up in separate changeset Change-Id: Idacb0d1274baac1f63f8d1b850d4b1104ac33918 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-12Merge "af-main: Refactor of user session management"Jan-Simon Moeller3-34/+1
2018-04-10gstreamer: add libv4l2 supportMartin Kelly1-0/+2
libv4l2 support is useful for getting more out of v4l2src. I discovered this when trying to get RGB format video out of a camera and seeing that libv4l2 can emulate it (even when the camera does not support it). However, that emulation must be compiled into gstreamer, so let's do that. Change-Id: I1117277dd48fefbbe2a9a1e80f274cb145f3a5e5 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-04-06af-main: Refactor of user session managementJosé Bollo3-34/+1
This changes how user session are started and handled within systemd. This evolution add a tiny program to start and handle user sessions: afm-user-session. This is the first step of a serie because, actually, due to platform restrictions, the common users if started this way will not be able to run correctly (issues with wayland/weston and with handling of CGROUP2 with Smack LSM) Also fixes memory leaks and improves build process. Bug-AGL: SPEC-545 Bug-AGL: SPEC-1016 Change-Id: Icaf7c575633fc663a3df0ffee683b22cc087bb16 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-04-05Merge "dbus-cynara: Avoid dependency loop"Jan-Simon Moeller2-1/+2
2018-04-04dbus-cynara: Avoid dependency loopJosé Bollo2-1/+2
The dependency loop appeared when compiling with DISTRO_FEATURE ptest. To avoid it, I restore the logic implemented before in meta-intel-iot-security. I also remove unless files. Bug-AGL: SPEC-1334 Change-Id: Ibe8b9359a65fec034df2534c5fceb4769e63aa99 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-04-04Adapt repository priorities in preparation of the profilesJan-Simon Möller1-1/+1
The profiles need a clear priorization of the layers. Especially the core layers need a high prio in this context. Apply a prio of 70 to core/essential layers and of 60 to BSP, netboot and smack. Change-Id: I24a59daadab4c98ffbcb799cc784e84e87ac7d23 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-30weston-init: Ensure setting of the userJosé Bollo1-0/+8
The user was not set to the expected value because the patched file had not indication of user. This fix enforce the setting of the user. It also enforce the setting of the group. Bug-AGL: SPEC-546 Change-Id: I929bfa17c541c5334f463cd8cb3566dc5b53b408 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-03-27Add bluez-alsa recipes to AGLRonan Le Martret2-0/+49
* Bluez-alsa allows to use a bluetooth audio device with alsa without pulse audio * BlueALSA registers all known Bluetooth audio profiles in Bluez. * Bluez-alsa is optional in AGL. * 4a audio feature will enable it.(4a audio can be pulseaudio free). Bug-AGL: SPEC-1342 Change-Id: I858fbb795b3c7859ac1e536c14305fde7bf94b62 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-03-07run-agl-postinsts, weston-init-conf: Switch LIC_FILES_CHKSUM syntaxTom Rini2-3/+2
It is currently a warning to use ${COREBASE}/LICENSE and instead we need to use ${COMMON_LICENSE_DIR}/MIT. Switch to this syntax. Change-Id: If92643fdaf120f1ef27adab3cc8068d253665eb2 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-03-05Merge "core-boot-agl: add tzdata zoneinfo files"Jan-Simon Moeller1-0/+1
2018-02-20Merge "move GPLv2 logic into agl-gplv2 feature"Jan-Simon Moeller1-0/+8
2018-02-13core-boot-agl: add tzdata zoneinfo filesMatt Ranostay1-0/+1
Add tzdata zoneinfo to allow setting of timezone Change-Id: Ib99cc9121ab482c92db2259a5c342457478af72e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-13run-(agl-)postinst: Emit progress to consoleJosé Bollo2-0/+6
It can be useful to get the progression of the postinstallation scripts. Change-Id: I21f70ee1a5cae36c924a1c664855ba4179b5acd7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13xmlsec1: switch to meta-security versionJosé Bollo1-40/+0
Change-Id: Ic677e94468153fda3167c55150291861c88f5642 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13systemd: earlier smack label switchJosé Bollo2-0/+58
This patch was submitted and accepted upstream. It allows systemd to set the smack label of the executed process. See https://github.com/systemd/systemd/pull/7378 Bug-AGL: SPEC-1014 Change-Id: Ia9c437cdaf1fea95ae048e2be5067d6fe218693f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13geoclue: Remove unnecessary dependencyChanghyeok Bae1-1/+0
The gobject-introspection-native is already applied in upstream. (From Meta-oe rev: a975cd8e984383c3822537abb673d3c8294de93b) Bug-AGL: SPEC-1181 Change-Id: I227ac6a74f1ced6d0543017e0ed282bc72489bdc Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13Change image type to wic.vmdkChanghyeok Bae1-1/+1
vmdk image type is changed to wic.vmdk in upstream. (From Poky rev: 9d07c736e39a9aa922630b4241eda185a19a11ea) (From OE-Core rev: 929ba563f1bc7195c4981b8e139c432b2cc388ea) Bug-AGL: SPEC-1181 Change-Id: I94fab8ce4d075776b5f72d1c270a333d6b34a4b7 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13glibc: Arrange patch fileChanghyeok Bae1-1/+0
Bug-AGL: SPEC-1181 Change-Id: I7e03978be6b9d44c133a42a768335c2f7368137f Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13rygel: Arrange rockoChanghyeok Bae3-12018/+15
- two patches are already applied in upstream repository. - systemd is already applied in upstream recipe. Bug-AGL: SPEC-1181 Change-Id: I664cc4ead61d60d7a757b0b73d47f72ff1845e04 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13connman: Arrange patch fileChanghyeok Bae1-1/+2
Bug-AGL: SPEC-1181 Change-Id: I6670b0393a9121721076e7c2e424cc10e27d5309 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13bluez5: Remove CVE patchChanghyeok Bae2-36/+1
cve-2017-1000250 is already applied in upstream openembedded-core. Bug-AGL: SPEC-1181 Change-Id: Ia5f2cc3a266f61c7c842daaeea3d627fbb00025a Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13systemd: Remove backporting patchChanghyeok Bae2-319/+4
Bug-AGL: SPEC-1181 Change-Id: Icf54da57bffbee2b36a5e9eaf5954d9188feef7f Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13passwd,group: Add systemd-network and systemd-resolveChanghyeok Bae2-0/+4
[Error] systemd was skipped: systemd - systemd: {system username,normal groupname} systemd-network does not have a static ID defined. Bug-AGL: SPEC-1181 Change-Id: I6de701dc6d8ba222497ce44374c01e53ea6ab898 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13autogen-native: Remove the bbappendChanghyeok Bae2-31/+0
autogen-native recipe is removed in openembedded-core (From Poky rev: 44da0d9467f4fbd6b10f8fb85e79755b3c7a14cd) (From OE-Core rev: 765fec2f363aeb0540970c57217a2ea1aab8e088) Bug-AGL: SPEC-1181 Change-Id: Ia09bd61b0a3eb27b95534b59202f333b582c8a1c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-13lightmediascanner: Add recipeChanghyeok Bae3-0/+107
the recipe is removed in meta-openembedded because meta-efl layer is removed in meta-openembedded layer. Bug-AGL: SPEC-1181 Change-Id: I59fafe3499344b8fcb4fe9bb1c82373ea6155253 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-02-12move GPLv2 logic into agl-gplv2 featureMartin Kelly1-0/+8
Currently, we hardcode GPLv2/GPLv3 logic directly into the poky-agl distro config, and in agl-demo. However, the recipes in meta-gplv2 are very old, poorly supported, and receive no security updates. So, they can easily cause issues. To allow the choice of both GPLv2 and GPLv3, refactor the meta-gplv2 logic into its own "agl-gplv2" feature. The default is GPLv3, which points to well-supported layers with security updates. However, by adding the "agl-gplv2" feature in aglsetup.h, the meta-gplv2 layer gets added to bblayers.conf and recipe versions get set to those in meta-gplv2. Change-Id: I62d7f2daa58b0690b5b27740257bd15097fcee5c Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-31devtools: gdb: remove readline PACKAGECONFIG featureMatt Ranostay1-0/+1
To allow building with GPLv2 components we have to disable readline from PACKAGECONFIG to avoid compile errors. Bug-AGL: SPEC-1256 Change-Id: If3a85f54537460bd9a8c1198d7bb84d04adb6797 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-16Fix user-config.service is started everytime when app launchingTadao Tanikawa1-0/+1
Due to miss an option in service configuration of user-config.service, it is started everytime when application has been launched. If the user touches app icon or shortcut many times at very short intervals, user-config.service would invoked too many time for very short time, then systemd reject execution and make an error. This causes an issues in UI. E.g. missing touch event, collapse of synchronization of HomeScreen's UI view. Bug-AGL: SPEC-1246 Change-Id: Ia6c7ecac2f880e61c290d6e3ad27d363e228d5f9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-12-13A larger value is set as default-id-offsetTadao Tanikawa1-1/+1
A lager value of default-id-offset would help debug of AGL DEMO especially for WindowManager/HomeScreen. Change-Id: I452985a27f69f24c3879f2aea83bb6fe647f29d1 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12467 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: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-10lightmediascanner: add ~/Videos to initial media scanMatt Ranostay1-1/+1
Index users ~/Videos directory on initial systemd service startup. Bug-AGL: SPEC-1169 Change-Id: I536c85fa811153e980acc489db128dd02251e00d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12373 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>
2017-12-05XDG-IVI: Load by default id-agent in westonRomain Forlot3-0/+4
Bug-AGL: SPEC-1096 Change-Id: Iecfede123503410e1fdfa509a724cbcaf643d92b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12273 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-30af-main: Handle users from the system scopeJosé Bollo4-37/+7
To simplify the management of users while keeping systemd as launcher, this evolution anchors the framework in the system level. This also introduce a new version of afm-system-daemon that is 100% a binding of the binder and that consequently offers natively a websocket API. Change-Id: I1bbb48d0c01d0f6fd3c8dfca90febbe8147cf204 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12139 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-30agl-users: Use UID for HOME directories and loginsJosé Bollo3-3/+5
While dealing with systemd as a launcher, it appeared a limitation. If the template argument of units is used to designate the user it can not be different that the UID as a number because systemd enforce XDG_RUNTIME_DIR to be /run/user/<UID>. Thus using UID is the way to go to use template mechanic of systemd and use systemd as launcher. This is of importance because we don't expect systemd user to have full capabilities. Instead the framework will continue to leverage systemd launching mechanism but at a system level, with full capabilities but wil only allow user applications to deal with systemd --user. This impose to use UID as template parameters. The problem is then to set the user directory to the correct value knowing only the UID and using only possibilities of units. The only way is to have user home directories of the form /SOMETHING/<UID> (where SOMETHING is merely "home"). This can be achieved either by setting a symbolic link (hard link tto directories are forbidden) or by simply using the scheme /home/UID in all cases. At the end, users within AGL will not receive nick names but will receive allocated UID. So, at the end, it is not a problem to use the regular naming scheme /home/UID, a scheme that will probably never be seen except by tools or experts. This patch implement this choice. Change-Id: I225958fa627894cb966f52a06ebd8a914058d429 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12137 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-27Added XDG compatibility to ivi-shellRomain Forlot17-0/+1319
Backported M.Teyfel patch from wayland-devel mailing list: https://lists.freedesktop.org/archives/wayland-devel/2017-November/035700.html Upgrade wayland-ivi-extension to v2.0.2 but keep using 1.1x for now with PREFERRED_VERSION until HMI could use the new version. Added Emre Ucan simple-id-agent to review. Bug-AGL: SPEC-1096 Change-Id: I74c4ae0bf0bf822e27dcbb193dc9f7a13d3e270d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11991 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp> Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-07Remove duplicate user/group definitionRonan Le Martret2-4/+0
* Fix build error * user must be define only once * user have default group "users:100" * Note: At the first Pyro release, the option "--user-group" was always true (it was an untrack issue) for useradd yocto function. "user_group = uaargs.user_group is None or uaargs.user_group is True" and so force to create a group with the same name as the user. (Because we use a group name and not a gid). So at first create a custom group for each user solve the issue, but it's not the good solution. ** This issue was Fix upstream in: Poky:7ca04fef1b324b7fc6e8c5bbddcd41617cc5e5c6 Bug-AGL: SPEC-1053 Change-Id: Idfe5f07216741f1cfffdbcc4711d08f66f73bd79 Signed-off-by: Ronan Le Martret <ronan@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11705 Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-05Allow SRCREV handling through poky-agl.confJan-Simon Möller2-2/+2
This change simplifies the SRCREV handling by using - AGL_APP_REVISION and AGL_DEFAULT_REVISION in recipes. Also the AGL_BRANCH can be used to switch to release branches. Bug-AGL: SPEC-864 Change-Id: I9384c85d4f7434416d87359f88c482887ac2ead8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11685 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>
2017-11-03lightmediascanner: add ~/Music to initial media scanMatt Ranostay1-1/+1
Index users ~/Music directory on initial systemd service startup. Bug-AGL: SPEC-1029 Change-Id: Iae20eaaa33fa3c6c13eeb57d1694eef9cfa8866d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11667 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-20weston-ini-conf: Rework to use fragments to construct weston.iniTom Rini13-109/+57
Switch to constructing the weston.ini from fragments of files instead of variables and variable flags. This allows for much easier tracking of signatures by leveraging existing mechanisms. Update the Readme to explain how to do the various operations with fragments as well. Note that for QEMU we do not need to pass -show-cursor as it's already provided and we do want to change the VGA driver to one that reliably provides DRM support. For the HDMI connected screens, rather than name them by vendor name them first for connection and then required transformation for correct orientation. For board-specific options, move them to the board directories. When we need to change existing cfg options, rather than replace them the proper location to do this in is the do_configure function. Bug-AGL: SPEC-964 Change-Id: I2cceb4fd64f51eb2ab1d47419b77153cf02d7c12 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11375 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> 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>
2017-10-14meta-agl-bsp: Re-merge image-vm/image.bbclass overlaysTom Rini1-1/+1
As part of the pyro merge we need to continue to overlay these classes in order to support vmdk.xz. While upstream has some of the underlying required changes, we had dropped 'vmdk' as a standalone image type and now have 'wic.vmdk' there. This was too invasive for pyro however. This in turn means that we carry vmdk.xz support here. Another part of this is that in some places we were checking only for the string vmdk but also need to check for the string vmdk.xz as well. Update these locations to use bb.utils.contains_any so that we can catch both easily. Bug-AGL: SPEC-899, SPEC-775, SPEC-776 Change-Id: I0cc3c06d59c97c0a76819209e313bc6f5495cc31 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11153 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>
2017-10-14weston: Set require-input to false in weston.iniLeon Anavi3-28/+1
Revert the previous fix for launching Weston 2.0 without input devices and achieve the same result by setting the directive require-input to false in the configuration file weston.ini. This is a new feature which has been introduced in Weston since version 2.0. Bug-AGL: SPEC-936 Change-Id: I65ccc0d9942d86420cd801f571ccbefe58812796 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11301 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Porter <mporter@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>
2017-10-12weston-ini-conf: Make this track variables correctly for signaturesTom Rini7-4/+11
bitbake does not know to track values that are found and used via getVarFlags() without them being otherwise refernced and tracked in ways that are otherwise caught. Further given that we use multiple levels of varflags here we need to be explicit in their tracking. Add all variables that we use to varflags where they are added to the metadata. Bug-AGL: SPEC-939 Change-Id: I32cf16c4354d733e086c6ea9a845934beff94715 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11255 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-12weston-ini-conf: require eGALAX screenMartin Kelly1-0/+1
After commit f970319c6d4a2ecf6044ab3b2ef8f0d5f5c3471c, the intel-corei7-64 and joule builds are broken because they're defaulting to the eGALAX screen, which isn't in the require list in screen.inc. Fix this by adding eGALAX to screen.inc. Change-Id: I8d87c1defa586a0bfe1b2d266ec4a8c61f5c5654 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11233 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11psplash: add animation and last message from systemdJosé Bollo3-1/+14
An animated splash screen is cool. Change-Id: I39c2404513aa6edd287df8555d46fe09e79f4408 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11197 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: 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> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11adding eGalax screen support for demoDominig ar Foll (Intel Open Source)2-0/+6
Change-Id: I4e483052a88faebf21a50515b275326628731930 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11weston: Launch even without input devicesLeon Anavi2-0/+28
Fix the recurring bug and launch Weston 2.0 even if there are no input devices such a keyboard or a mouse. Bug-AGL: SPEC-936 Change-Id: I9c92ce7762626fd5df40224b53317c1239a4bd6f Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11203 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-05systemd: backport serialization change from v234Scott Murray2-1/+317
Bisecting between systemd v232 and v234 to find the source of the improvement in behavior of the serial tty lead to commit e266c068b5597e18b2299f9c9d3ee6cf04198c41. Backport the change to hopefully fix the failures. This backport can be removed on the uprev to rocko. Bug-AGL: SPEC-544 Change-Id: I5e3bbd21447bd8a0df98ce2d2ff26c74c4bf1048 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11135 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>