summaryrefslogtreecommitdiffstats
path: root/meta-agl
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-05-05agl-postints: remove unneeded GlobMartin Kelly1-1/+1
We're using ConditionPathExistsGlob on a straight filepath without wildcards. Just use ConditionPathExists instead. Change-Id: I6f9743beffa1c529013a084758a8589b380a0ba9 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9311 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: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Walt Miner <walt@linux.com>
2017-04-26change default screen transform to 270ronan@iot.bzh1-1/+1
Bug-AGL: SPEC-500 Change-Id: I26dc990851e8842443bf3a0218ea6a5f41c6925e Signed-off-by: ronan@iot.bzh <ronan@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9213 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-26rtl-sdr: remove -I/usr/include from pkg-configMartin Kelly2-1/+43
The -I/usr/include in the .pc file for rtl-sdr causes build failures with GCC 6 in qtmultimedia-rtlfm-radio-plugin because QMake translates it into -isystem, which breaks the GCC 6 #include_next directive. More information is available here: Here's some references in case you're curious: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 https://bugreports.qt.io/browse/QTBUG-53367 https://bugreports.qt.io/browse/QTBUG-53375 https://codereview.qt-project.org/#/c/159394 Change-Id: I2fa58c422323026bcf254491b9ee7e30e8e75938 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9167 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-23lightmediascanner: delete the remove ruleMatt Ranostay1-1/+0
Remove rule isn't needed since MediaPlayer application is using udisks to detect media removal Bug-AGL: SPEC-484 Change-Id: If67dd99fc162abf5c93b548ea1063f8dffe53e14 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9169 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-04-20bluez5: add interface access for MediaPlayer applicationMatt Ranostay2-0/+42
MediaPlayer needs to receive a few signals from org.bluez to trigger various AVRCP metadata and position data. Change-Id: I5b54f91dc5654d2e0208ae564de2440dc6bd5f48 AGL-Bug: SPEC-541 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9125 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Matt Porter <mporter@konsulko.com>
2017-04-20systemd: rename udev rule to conform with conventionMatt Ranostay1-1/+1
udev rules should be prefixed with integer to signal order of parsing AGL-Bug: SPEC-539 Change-Id: I7b983ea5b6bd3b7d3b62c495f2698996ace03a56 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-20lightmediascanner: rename udev rule to conform with conventionMatt Ranostay2-2/+2
udev rules should be prefixed with integer to signal order of parsing AGL-Bug: SPEC-539 Change-Id: I03b8a319a00a59ea1218baafbdd9ea77bbd00a6e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-19Use weston-init to startup westonRonan Le Martret5-29/+21
* weston.service should not be a part of weston recipes * remove weston.service from AGL weston recipes * yocto upstream uses the recipe weston-init to startup weston * customize weston-start with sed - remove openvt - add option to weston-launch * customize weston.service with sed - add option for weston * unified the weston startup beteween AGL BSPs * remove fix on the AGL BSP Bug-AGL: SPEC-452 Bug-AGL: SPEC-310 Change-Id: I12722826abdc004214d289961e900c36528ec6e3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-15packagegroup-agl-devel: add pstreeMartin Kelly1-0/+1
Change-Id: I5af9e3d1d97e2893ee7c6406576839d29ffee1a8 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-04-12packagegroup-agl-devel: add vimMartin Kelly1-0/+1
During development, it's nice to have a full-featured vim rather than a minimal vi. Change-Id: Icdb4d59005d5bf5f8ced949f37f77f7de7af972f Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-04-12systemd: remove force flag to mount in mount.shMatt Ranostay1-1/+1
Using the force flag causes some artifacts to exist and also breaks the blocking check till unmount is complete. Change-Id: Idfc8268a2e1f8cd0905b5f8b11f53d416d251d90 Bug-AGL: SPEC-483 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-04lightmediascanner: add dbus configurationMatt Ranostay2-0/+11
MediaPlayer application needs Dbus access to org.lightmediascanner and its signals. Bug-AGL: SPEC-484 Change-Id: I8b2006e1c6405e52d8fc310a841eb26176c00ea8 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-04lightmediascanner: add udev scan ruleMatt Ranostay3-0/+18
Initialize a scan on media insertion, and trigger an dbus event on media removal. AGL-Issue: SPEC-483 Change-Id: I7cd79401938f7671dc642647848381259cf87915 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-04Add media automounting supportMatt Ranostay3-0/+116
Use the automount.rules from udev-extraconf for mounting and unmounting removable media AGL-Issue: SPEC-483 Change-Id: I8c0353a76d5080ec2e4eff9dc4a48ba771e7a393 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-03lightmediascanner: change service scan pathMatt Ranostay1-1/+1
Change from scan path from /usr/share/media to /run/media for removable media. AGL-Issue: SPEC-483 Change-Id: I5829007249f8006aa3d85e2426bcfcf6223f8a2b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-30faac: fix typo of SRC_URI directiveMatt Ranostay1-1/+1
AGL-Spec: SPEC-504 Change-Id: I87bc02fd4a4ddb0e85fc06dfcd45212fa93bab79 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret10-17/+122
* remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-29faac: fix format security issueMatt Ranostay3-0/+58
Port patchsets from Khem Raj's tree to fix -Wformat-security issue that was exposed with security options to the compiler. Change-Id: I3c746f71484bc3cb4b210f956465147918856340 AGL-Spec: SPEC-504 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-19Remove wayland 1.9.0 recipesRonan Le Martret9-303/+0
* Remove Wayland/Weston backport. Use Wayland/Weston from yocto upstream Bug-AGL: SPEC-411 Change-Id: I99692a75728ec3b45b359800d31bf56521184998 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>