summaryrefslogtreecommitdiffstats
path: root/meta-agl
AgeCommit message (Collapse)AuthorFilesLines
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/12397 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-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/12311 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-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>
2017-09-26recipes-connectvity: bluez5: resolve CVE-2017-1000250Matt Ranostay2-1/+36
Add patchset that fixes BlueBorne CVE in the Bluez library for older versions of Bluez 5. Backport: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-connectivity/bluez5?id=9376bbc8a04ced3c0973805e6cb2529b6db03076 Bug-AGL: SPEC-902 Change-Id: I33fa9a1cc0867cec9586bc0f3ed9b2bb092ff6de Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10987 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-09-18meta-agl: gpsd: enable udev GPS device detectionMatt Ranostay1-0/+14
enable the systemd device detection for GPS devices which autoenables it within the gpsd.socket Bug-AGL: SPEC-831 Change-Id: Ifec05c61c7802d0a246ac2c7c609de4ecd56b94d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10649 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-18navigation: add geoclue packageMatt Ranostay3-0/+19
Add geoclue package to the packagegroup agl-ivi-navi-lbs forward port dependency fix to recipe, and add dbus policy to allow client access. Bug-AGL: SPEC-852 Change-Id: Ib4d5bf22bdfebd162355d3d91850c7ebb6cd3154 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10769 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-17autogen-native: backport autogen-native POSIX_SHELL fixMatt Ranostay2-0/+31
fix autogen-native: /bin/sh: bad interpreter: Permission denied /bin/sh: ../autoopts/tpl/texi2mdoc: /tmp/yocto-autobuilder/yocto-autobuilder/ yocto-worker/res-custom-pyro-multi-: bad interpreter: Permission denied POSIX_SHELL as shebang doesn't work when it is longer than BINPRM_BUF_SIZE which is 128 usually. So use "/bin/sh". Backport: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11965 Backport: https://github.com/RobertBerger/poky/commit/92a17c9074538a38d3d11c063be624f6c62a6352 Bug-AGL: SPEC-892 Change-Id: I12d08e8a89373390b5798ab6ed8d0ff88d0c03c7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10931 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-11Remove af-main dependency on generator dev tool.Romain Forlot1-1/+0
App Framework isn't needed for that... Change-Id: Iafc60295ba234f63b8b5195ac36cb6de2c93e1e9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10761 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-08Revert "Forward port local-arm-futex patch to poky morty HEAD"Jan-Simon Moeller1-0/+1
Pyro does not contain the extra patch to remove # undef __ASSUME_REQUEUE_PI Thus we add it back by reverting this morty-specific change. This reverts commit 3d32b328ebece6019b118c83f56150b5c6947cd5. Bug-AGL: SPEC-853 Change-Id: I66e7a3ef524a6923444915b0135ec6a79942ec5c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10843
2017-09-08Upgrade to pyroChanghyeok Bae28-571/+33
u-boot: v2017.01 dlt-daemon: Remove gzipnative inheritance - gzipnative.bbclass is removed in pyro branch. - See ab0f46400c113c0d893be872727a67739d5e794d in poky. gpm: Remove bbappend file - upstream(meta-openembedded) is using git(v1.99.7) and this is not required anymore. gnutls: Remove bbappend file - The patch is already applied in upstream. agl-image-minimal: Remove ROOTFS_PKGMANAGE_BOOTSTRAP - ROOTFS_PKGMANAGE_BOOTSTRAP is removed in upstream. - Please see 529244ee212fe14019e35a5f163fab705ddbf141 in poky. freetype: Change hash value for v2.7.1 binary shadow: Remove shadow_%.bbappend - It's already applied upstream poky. Remove nativesdk-packagegroup-sdk-host.bbappend - It's already applied in upstream poky. faac: Remove bbappend file - It's already applied meta-openembedded upstream. pulseaudio: Change bbappend naming - Upstream yocto provides pulseaudio v10.0. weston: re-create patch to apply new version (v2.0.0) - Remove 0001-compositor-drm.c-Launch-without-input-devices.patch because it's already applied in new version. mesa: Remove 12.0.3 recipe and fix build error for qemux86-64 - Yocto upstream supports 17.0.2 and v12.0.3 is not required anymore in raspberrypi - Error: | configure: error: --enable-gallium-llvm selected but llvm-config is not found wayland-ivi-extension: Upgrade to latest master version - Due to weston upgrade, wayland-ivi-extension should be upgraded. packagegroup-ivi-common-core-multimedia: Remove alsa-lib - alsa-lib has empty package and it's not required anymore. Add agl-driver and agl-passenger in group and passwd - Parsing Error: agl-users: groupname agl-passenger does not have a static ID defined. poky-agl.conf: Change gstreamer default version to v1.10.x - Yocto upstream moves gstreamer to v1.10.4. af-main: Fix build error - Error: file /usr/local conflicts between attempted installs of af-main-1.0-r0.corei7_64 and base-files-3.0.14-r89.qemux86_64 intel-corei7-64: Change gstreamer-vaapi-1.0 name - gstreamer-vaapi-1.0 is moved to oe-core and its name is changed to gstreamer1.0-vaapi. linux-raspberrypi: Drop 4.4 bbappend - The upstream meta-raspberrypi doesn't support v4.4 anymore. - CVE patches are not required anymore. glibc: Remove bbappend - The bug-20116 is already applied in 2.25 cynara,security-manager: Fix build error - cynara: Replace bb.data to d - security-manager: Temporarily use 'no' in APPLY variable u-boot-ota: Add SRC_URI - In pyro, SRC_URI and S is moved from .inc to .bb linux-yocto: Remove 4.8 and 4.4 bbappend - Yocto 2.3 (Pyro) doesn't support v4.8 kernel anymore. - CVE patches in meta-agl-bsp are already applied in Yocto 2.3. tcf-agent: Remove bbappend file - This change is merged to upstream poky (pyro) bluez5: Remove recipe and add .bbappend - Yocto 2.3 (Pyro) already has same version. - bluetooth.conf file is added in .bbappend python-pycrypto: Remove recipe - meta-openembedded (Pyro) already has same version. meta-agl-bsp/classes/image.bbclass: Arrange for pyro - image.bbclass is taken from poky/meta/classes/image.bbclass and only changed IMAGE_TYPE_vm variable. libsoup: Fix native build error temporarily v2 (jsmoeller): meta-agl-bsp/meta-ti: - workaround patches in meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - fix old python code in meta-ti/recipes-arago/ipumm-fw/ipumm-fw_3.00.13.00.bb - workaround patches in meta-ti/recipes-arago/weston/weston_%.bbappend - make specific to dra7xx-evm: -- meta-ti/recipes-bsp/alsa-state/alsa-state.bbappend -- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio/dra7xx-evm-set-default-sink-source.patch -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend TODO/FIXME's in: - meta-agl-bsp/meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - meta-agl-bsp/meta-ti/recipes-arago/weston/weston_%.bbappend - meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend - meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend Bug-AGL: SPEC-646 Change-Id: I4162ae887d3334e9102575e3724483aa25f4bd9c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10457
2017-09-06Forward port local-arm-futex patch to poky morty HEADJan-Simon Möller1-1/+0
The latest yocto update added new patches and our patchset needs a small adaptation. Bug-AGL: SPEC-853 Change-Id: I79b928543f9dfe151788a365b8f1f0921399e08d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10791 Reviewed-by: José Bollo <jobol@nonadev.net>
2017-08-21packagegroup: navigation: add gpsd packageMatt Ranostay1-2/+1
Add gpsd package to the agl-ivi-navi-lbs packagegroup to allow access to the gps binding. Bug-AGL: SPEC-831 Change-Id: I8b5821849ea293d2a295884a8aa36543916607b4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10647 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Martin Kelly <mkelly@xevo.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-14Initial version of a LOC counter classJan-Simon Möller1-0/+29
Usage: INHERIT += "cloc" cloc --sum-reports `find tmp/work/ -name "*clocreport" | grep -v "\-native"` --out cloc-summary.report cloc needs to be installed on the host. Change-Id: I70c7e707405c718b1685d49f4e84216c5408d2fb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10437 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-26Fix build of agl-demo-image-qaJan-Simon Möller3-4/+1
Fix the image generation by fixing SPEC-782, updating iperf and removing our custom version of ltp in favour of a newer version in oe-core. Bug-AGL: SPEC-782 Change-Id: Idbb08b493645f04df3d04c93d7bef8231350078d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10367 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-18Add low-level-can-generator as devtool in SDKRomain Forlot2-0/+18
To ease devlopment with low level CAN service, you have to use the generator to be able to customize signals handled by the service. Change-Id: Id51415ee339a5ede77bc875aa893893f1b31dbdf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10143 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-18agl-devel: auto-add drivers for vmdk imagesMartin Kelly1-0/+2
Currently, if you build a vmdk file, you also need to manually add in drivers to make your image fast (vbox/vmware drivers). We can make this automatic so that when you build a vmdk, drivers are automatically added in. Using this approach, both vbox and vmware drivers are added, which is more than is generally necessary, but it means that a single vmdk image can support many use cases, and the same image can be distributed to many developers. For developer images, this seems like a good tradeoff because convenience is more important than disk space/bloat for developers. For production, we leave this option off to reduce unneeded components. Change-Id: I8139a3ed94599c1732ea8b58bbc735c0de594234 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10219 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17Fix weston failedRonan Le Martret1-5/+5
* We need to add systemd udev device unit dependency to weston, If the system is slow udev rules is up when weston want to start, if the system is fast, udev rules may be down when weston want to start. * TAG+="systemd" create a systemd device unit * ENV{SYSTEMD_WANTS}="weston.service" add dependency (Like BindsTo). Bug-AGL: SPEC-603 Change-Id: I45d6513ea64cd071a60b53afd98d782e9300cefa Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10111 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-07-17systemd: remove timesystemd featureMatt Ranostay1-0/+3
Connmand also has a NTP client that is conflicting with the systemd timesytemd. So timesystemd should be removed to avoid this. Change-Id: I1d9e2a9597be7c1da1e40cde6b91099c2cf3601e Bug-AGL: SPEC-737 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10141 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-07-07Handle error during run-agl-postinstsRonan Le Martret1-3/+9
* do not remove post install script if failed Bug-AGL: SPEC-700 Change-Id: I1b45670ecbe3915a69cfa659031ac877eb794571 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10025 Reviewed-by: José Bollo <jobol@nonadev.net> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-06Add gst-record argument to weston optionHarunobu Kurokawa2-2/+2
v2: When gst-record is included DISTRO_FEATURES, "--gst-record" is set. Bug-AGL: SPEC-559 Change-Id: Ia172135f355a98bb10234743cdd1a7b1319723e7 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9823 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-30Fix i.MX6Takashi Matsuzawa1-0/+9
Bug-AGL: SPEC-704 This is part of the fixe to make i.MX6 buildable again. Following fixes are included in this change: - adding build target imx6qsabreauto - fixing qt5.8 build error - refine bblayers.conf layer order (for dynamic-layers) - meta-fsl-arm -> meta-freescale layer name change - weston.ini lines (use fbdev-backend.so) - /dev/galcore permission (by /etc/udev/rules.d/zz-dri.rules) - kernel configuraion to include smack, etc. Follwings are stil not addressed yet: - bblayer.conf layer order still have issue re. dynamic-layers - built and booted on imx6qsabreauto only yet. following existing community boards may need update (i have imx6qsabrelite, but no notrogen6x) Note, this fix is prepared independently of nxp or fsl-community, who should follow-up if there are mistakes to be fixed, or updates that they find needed. Update: Refined on review comment regarding tune settings and kernel configurations. The board successfully boots and shows AGL homescreen. But I found I still have problem with USB. lsusb says 'unable to initialize libusb: -99' error which I am still faling to find the cause. Update2: usb issue may be related to dtb configuration in linux-fslc-imx better to be tracked separately Change-Id: If5fa4e5f0450385bcb2648d57e63dc1fc14b0574 Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9871 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-29weston-init: set udev rule to display group for gst-record feature.Harunobu Kurokawa1-0/+8
Bug-AGL: SPEC-559 some /dev module should be grant to access as display user. When weston use gst-record, it accesses some /dev driver as display user. Change-Id: Ifc3ab94282d2857d48cfd5673c3eab944badddf3 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9821 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-06-28Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.confJan-Simon Möller1-0/+3
This changeset fixes the case of the rpi-sdimg which was broken by the IMAGE_FSTYPE setting introduced in poky-agl.conf (distro-wide). A new variable AGL_EXTRA_IMAGE_FSTYPES is available now and only used in AGL (target) images. Reasoning for this solution: - any modifications to IMAGE_FSTYPES will also affect things like the initramfs or initrd images. - we minimized the disk-space requirements by reusing the ext4.xz for the rpi-sdimg Bug-AGL: SPEC-492 Change-Id: I07fd51dbcf334653cd6033b7ccb663c4d4ed8578 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9887 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-06-20Set idle-time to 0 in weston.service.Harunobu Kurokawa1-1/+1
As described weston.ini.man, "idle-time" should be set 0 if user want not to enable screen saver. A value of 0 disables the timeout. Change-Id: I17cff212a5231be05008ac1a5acc23d86bb9be51 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9693 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-20systemd: remove automountingMatt Ranostay3-116/+0
Switching to more robust script to manage media insertation, and removal. Change-Id: I5ca2a9bef6178184002316155693473ac68537ac Bug-AGL: SPEC-634 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9601 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-06-20lightmediascanner: change scan pathMatt Ranostay1-1/+1
Since udisks + devmon mounts in /media for security reasons we need to scan that path. Change-Id: I6d53a76128af579f0c14064756d7b4ec935356cf Bug-AGL: SPEC-634 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9605 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-06-08enabling https for wget in busyboxDominig ar Foll (Intel Open Source)2-0/+5
Change-Id: I4d7093285d6c4aa3b17e78019b1e0d3a9b5de2d3 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9655 Reviewed-by: Martin Kelly <mkelly@xevo.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-02tcf-agent: kill with USR2 in systemd stopMartin Kelly2-0/+15
tcf-agent ignores SIGTERM, so upstream uses USR2 instead. This issue was noticed by Jan Kiszka and Brian Avery around the same time: https://patchwork.openembedded.org/patch/139546/ https://patchwork.openembedded.org/patch/139560/ However, these patches fixed only the init scripts, not the systemd service file. This patch fixes the systemd file. Change-Id: Id59fab32ae78213efe98a646dce2eec0881720f6 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9597 Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.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>
2017-06-02agl-login-manager,agl-desktop-config: Move layer to meta-aglChanghyeok Bae8-0/+125
agl-ivi-image is using agl-login-manager and agl-desktop-config. However, those aren't included in meta-agl layer. So agl-ivi-image isn't built only with meta-agl layer. Bug-AGL: SPEC-625 Change-Id: Ied4bbec9c72d2f7cac5b01c2465fe395c2e5497c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9587 Reviewed-by: Martin Kelly <mkelly@xevo.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-05-31rygel: disable user systemd serviceMatt Ranostay1-3/+3
Due to Rygel sending SSDP traffic disable the rygel.service until an user enables it. Change-Id: I9b2c203433a0d21d981267b2364527a8736a731c Bug-AGL: SPEC-613 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9557 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-30lightmediascanner: remove udev workaroundMatt Ranostay3-17/+0
Now that DBUS events on monitored mounted directories works the workaround can be removed. Change-Id: Ia4ac369a47aefc33f0aa9276a31841d0a64cd2da Bug-AGL: SPEC-628 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9533 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-25agl-image-weston: fix weston regressionMartin Kelly2-0/+4
After 6ca247d (which changed how weston services work) services using weston in agl-image-weston no longer start, saying "Display not found". With this patch, they work again. Change-Id: I7441ce2ece079db8f46a41b2ad3997951d5e18ba Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9495 Reviewed-by: Matt Ranostay <matt.ranostay@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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-22run-agl-postinsts: run before systemd-user-sessionsScott Murray2-0/+4
Add setting of Before to the template scheme in the run-agl-postinsts recipe, and use it to make sure run-agl-postinsts runs before systemd-user-sessions. This ensures that on first boot all of the applications will be installed before HomeScreen is started in the user session. Bug-AGL: SPEC-580 Change-Id: I08026f225971e1fe38e984dfed5fc2656955942c Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9439 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-19Allows specific features for agl-develJosé Bollo1-0/+4
Having features allowed only during developement of AGL is a plus. This commit allows to add tests within recipes to check if the current build is AGL developement. If not the build is for production. By default, extra feature must be off. This commits doesn't add CPPFLAGS += "-DAGL_DEVEL" to improve build time and cache space of yocto. However, it is a good practice, when needed, to use the tag AGL_DEVEL in C/C++ codes specific to AGL and thus to include the line CPPFLAGS_append_agl-devel = " -DAGL_DEVEL" in recipes specific to AGL. AGL-Bug: SPEC-594 Change-Id: Ie967a4317886ee78304999f36de5db9de22568a7 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9393 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: Changhyeok Bae <changhyeok.bae@lge.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-19lightmediascanner: add -D_FILE_OFFSET_BITS=64 to CFLAGSMatt Ranostay1-0/+2
Some media may have 4GB files which will cause failure on a 32-bit system scan. This solves this on 32-bit systems with -D_FILE_OFFSET_BITS=64 compile flag. Bug-AGL: SPEC-604 Change-Id: Id941ee9f08b35e70ddab651268e5b443a26a9ec2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9403 Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Matt Porter <mporter@konsulko.com> Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-19agl-audio-plugin: Fix Pulseaudio versionScott Murray1-1/+1
Bump Pulseaudio version variable to 9.0 so that the plugin will be installed in the correct location. Change-Id: I9328a219b838ed951690a861a10034a87092f89d Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9413 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Matt Porter <mporter@konsulko.com> Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
2017-05-16Run weston with dedicated 'display' user and groupRonan Le Martret13-12/+161
* Create a user/group display * Allow weston to start without mandatory root user * start weston-terminal for each user Bug-AGL: SPEC-546 Change-Id: Id50acdbf5f7c07d5e0440575d42998b8819b5547 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9135 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: Dominig ar Foll <dominig.arfoll@fridu.net> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-12Fix Readme.weston-ini-conf ReadmeRonan Le Martret1-3/+3
Change-Id: I94437dfd409b5cd66733e6fdacf5a6770f84030b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9375 Reviewed-by: Martin Kelly <mkelly@xevo.com> Reviewed-by: Matt Ranostay <matt.ranostay@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> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>