aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-12agl-service-mediaplayer: add agl-service-bluetooth to RDEPENDSMatt Ranostay1-1/+1
To allow mediaplayer bindings to directly get AVRCP metadata and control access require the agl-service-bluetooth at runtime. Change-Id: Iab03d8c9c8c8400c4c4130ff1999b9662aac4c93 Bug-AGL: SPEC-1630 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-12Use sllin0 for agl-service-hvac for m3ulcb demoJan-Simon Möller1-0/+5
The green demo machines use m3+kf and serial lin to communicate with the actuators. Adapt the recipe. Change-Id: Ia4afea115f16d633d2eeb16c0c662832f81dc438 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-09nss-localuser: Add the NSS plugin for localuserJosé Bollo2-0/+38
`nss-localuser` is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (`glibc`) providing host name resolution for *"localuser"* family of virtual hostnames. The delivered NSS service defines one virtual host of name `localuser` that resolves to an IP address of the localhost loopback that integrates user ID. Bug-AGL: SPEC-1833 Change-Id: I8ce87297a220e8c691cdbea00262d873b68ffd75 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-07Latest meta-altera supports wic IMAGE_FSTYPEJan-Simon Möller1-1/+1
In preparation of the layer uprev, fix the IMAGE_FSTYPE. Change-Id: Ic4c78fb27b0676383143b943d97a511b960e01b1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-07libmicrohttpd: Fix listening and epoll togetherJosé Bollo2-0/+33
It appeared recently that libmicrohhtpd isn't able to manage listening interfaces and at the same time to manage in/out streams using epoll. After discussion with maintainers of libmicrohttpd this is a bug and is already corrected. See: https://gnunet.org/git/libmicrohttpd.git/commit/?id=3fc686e While waiting for integration of this patched version in poky/openembedded, it is needed to have that patch integrated in AGL for running binders aware of listening interfaces. Upstream-Status: Accepted Bug-AGL: SPEC-1896 Change-Id: Ib436f6b4be27e638fedbae22f690109fb064c8e7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-06af-binder: Bump versionJosé Bollo1-1/+1
Includes * 875007d afb-socket: Relax requirement of tcp ending slash * 8754e33 afb-socket: Handle listening on all interfaces * f3048dc samples: Fix compiling error * 68fb4de afb-hsrv: Adapt to next version of libmicrohttpd * dfe85ca Added an option to color out the ouput * 61a0151 afb-session: Add language to session * c1c4973 monitoring: Fix naming of apis * 6b0b904 Make profile.d file consistent between rpm and debian * 5ee4995 afb-apiset: Reorder priority of messages * db0e684 AFB.html: Allow to call any verb of any API * 6c9e231 afb-hsrv: Lower the "no handler" message * deaf209 APIv3: Allow to write application binding * 86e4c17 afb-api-so-v3: Keep root API in all cases * fd57dbf genskel: Fix issues for C++ bindings v3 * 40fa7ea packaging/deb: install all headers * 9ce66be Fix native deb pkg install dependency * 195a03d afb-export: Emit a warning on bad 'afb_require_api' call * efd6d20 afb-socket: API name cares of abstract UDS * c19ce12 afb-session: Fix an issue in managing sessions * 80c96d7 CMakeLists: Use AGLVERSION if set Change-Id: Ie6a5efa651f5e9b9fab207f216514552993edfa5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-02af-main: Bump versionJosé Bollo1-1/+1
This includes the following changes: * b2329b7 CMakeLists: Use AGLVERSION if set * 2a0ac96 wgtpkg-install: Force uninstall * 91baca1 doc: Changed doc to new format * f031387 afm-unit.conf: force symbolic link on update * 43bc2e5 docs: Improve documentating 'required-binding' * 9e1d25b Merge "docs: Improve documentating 'required-binding'" * 0e0ae55 afm-unit.conf: Restrict service for APIs * 24f0c20 Add the ability to access binding through tcp * 375f481 afm-unit.conf: Enforce starting after network * 19e745e Merge "afm-unit.conf: Restrict service for APIs" * 73f3570 Merge "afm-unit.conf: Enforce starting after network" * d40fc40 afm-urun: Force scan of systemd units * dc0836f Install afm-user-daemon with correct rights * 5f7901d afm-util: Fix report of error It fixes: Bug-AGL: SPEC-1863 Bug-AGL: SPEC-1846 Bug-AGL: SPEC-1836 Bug-AGL: SPEC-1650 Bug-AGL: SPEC-1800 Bug-AGL: SPEC-1230 Change-Id: Ifd1775448db4ebffa4bb656b5bcefaf891c4efa5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-31gpsd-kingfisher-conf: fix PREFERRED_RPROVIDER issueStephane Desneux1-1/+1
virtual/gpsd-conf is a runtime dependency in packagegroup-agl-core-navigation. So, PREFERRED_RPROVIDER must be used in place of PREFERRED_PROVIDER Bug-AGL: SPEC-1861 Change-Id: I15b915c2e7a1410000f7527b13f3206242778bc0 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-31meta-app-framework/base-files: fix /usr/local symlink target pathStephane Desneux1-1/+1
/usr/local should point to ../var/local (and not ../../var/local) Thanks to Vasyl Vavrychuk <vvavrychuk@gmail.com> Bug-AGL: SPEC-1844 Change-Id: I700065290deff979db2e74cb68eae78ef55cda9c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-30Bump afb-test revisionRomain Forlot1-4/+2
Fix afm-test script installation 7b69512 Shellcheck: protect variable against whitespace abede0f Improve exit output message 1a33ac2 Test the LockWait feature 52f416b Unify test launch between target and native 25903e6 Update documentation cef21bd get rid of afb-definitions 02881ee Avoid to kill anything when no config file found 8de7f11 Separation between CB and classic test functions d2fbdb5 Rename test service api to be more discriminant. ca9049a Assert that an event hasn't been received 3db71f8 Script for both native and target launch Change-Id: Ied4a6b704779a3176a0da60e15dee46a2021f54e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-30agl-service-telephony: Set depend of glib-2.0José Bollo1-1/+1
Change-Id: I493d2836677cd105279d784f030f2d5fef36b5c3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-29Add CMake Apps module recipeRomain Forlot3-1/+28
Adds the cmake-apps-module in the SDK and the normal Yocto builds. Bug-AGL: SPEC-1682 Change-Id: Ib8b83dd9664a1566318eb0a140e043c5d82510ce Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-24aglsetup: Fix mix of spaces and tabsJosé Bollo1-4/+4
Change-Id: I6579e0bc79e030b64bfbf936fc90d42298e73732 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-24distro-build-manifest: Improve diagnostic messagesJosé Bollo1-1/+16
Change-Id: I684e30562cfda80abddd16195ec378a5f3e2dfba Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-19meta-agl-bsp: kernel: fix can-bus.cfgKevin Hilman1-1/+0
This config fragment for CAN bus had both an option for enabling as a module: CONFIG_CAN_C_CAN=m and for disabling: # CONFIG_CAN_C_CAN is not set Since the disable came last, disable wins. This caused the C_CAN driver and the C_CAN_PLATFORM driver (used by the TI dra7-evm) to be disabled in the kernel. To fix, remove the option to disable. Change-Id: I5be0cee161318cdfe7deb9c5e9c9f15d79cda7ac Fixes: d870883e7b29d212dc3e2a0e6158d837d4356c6a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-19rcar: gstreamer: Update vspfilter device files when using IMR devicesDamian Hobson-Garcia3-0/+7
The meta-rcar-gen3-adas layer, active on m3ulcb and h3ulcb boards, enables the Renesas IMR device, which takes the first few /dev/videoX device file names, shifting the names of all of the other /dev/video devices. This patch updates the vspfilter configuration files to reflect the change. Change-Id: I326d3f5bb295f813e58d2318310cf86ad52744b3 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2018-10-19Bump afb-test revisionRomain Forlot1-4/+6
Fix afm-test script installation 7b69512 Shellcheck: protect variable against whitespace abede0f Improve exit output message 1a33ac2 Test the LockWait feature 52f416b Unify test launch between target and native 25903e6 Update documentation cef21bd get rid of afb-definitions 02881ee Avoid to kill anything when no config file found 8de7f11 Separation between CB and classic test functions d2fbdb5 Rename test service api to be more discriminant. ca9049a Assert that an event hasn't been received 3db71f8 Script for both native and target launch Change-Id: Ic2b3d68cdb2b57613a0a24e42e43f307b2cae399 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add dummy iiodevice support for testFrederic Marec2-0/+29
Add new fragment iiodevice.cfg to enable dummy devices For iiodevices test Change-Id: I9f635334aec2f9cd675b522b86cdfa3ad8168f07 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-10-12Pull agl-audio-plugin and pulseaudio conditionnalyStephane Desneux3-3/+3
If agl-pulseaudio feature is not set, pulseaudio (or agl-audio-plugin) shouldn't be pulled in images. Currently, agl-service-radio requires either 4a or pulseaudio. So a temporary hack has to be made to remove it from core services packagegroup if dependencies are not met. Bug-AGL: SPEC-1802, SPEC-1811 Change-Id: Ief7a88cc288aba5c818ea7e7cbfede0ffb87c639 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-12Clean-up of wayland-ivi-extension_1.13.0 related legacy stuffMichael Teyfel1-5/+0
Since the agl demo is now using wayland-ivi-extension v2.0.2 everything related to v1.13.0 should be removed. That means all bitbake recipes and also the used patch files. Change-Id: I326c8e13c6084ec2135d6f75d64db260d347491e Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
2018-10-12[RCAR] ADSP enable and add sound hardware abstraction in DTRonan Le Martret2-0/+126
The ADSP on Renesas SoCs required a reserved memory area to become enabled, and this needs to be done manually. This patch adds sound hardware abstraction information for the m3ulcb and m3ulcb-kf (kingfisher) device trees. This is helpful on-board the ADSP for dynamically determining sound hardware at runtime, allowing single binaries to be used between the two boards. Future work will incorporate the h3ulcb and Salvator boards into the abstraction. Bug-AGL: SPEC-1227 Bug-AGL: SPEC-1424 Bug-AGL: SPEC-1571 Change-Id: I78edc5854a95520276bdcd9fd9766a120d2c04d7 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-12[RCAR] Enable Linux-based hypervisor execution in AGLRonan Le Martret2-0/+33
The upstream version of AGL boots Linux in EL1. This mode is not privileged enough to put in place the correct configuration of an hypervisor (e.g., KVM). This patch leverages the ATF rcar platform configuration variables to boot the Linux kernel in EL2, instead of EL1, allowing Linux-based hypervisors such as KVM to configure all the necessary stubs to properly run virtual machines. This patch has been successfully tested with ATF, KVM and AGL rootfs on the Renesas R-Car M3. Changelog: - Added arm-trusted-firmware patch, which makes this work easy to be tested by the community - This patch version does not contain Linux kernel modifications. In fact, these resulted not necessary with the proposed ATF patch and a recent kernel (higher than 4.6) Bug-AGL: SPEC-497 Bug-AGL: SPEC-1571 Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I8d20e36a09be1dba35b10193643ea00e4f388e95 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-12[RCAR] Update RCAR BSP to 3.9Ronan Le Martret1-2/+2
Bug-AGL: SPEC-1571 Change-Id: Ieefd423b79faa220531a887ff167227044ab6064 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-12[RCAR] Change RENESAS_DATADIR valueRonan Le Martret1-0/+2
* AGL doesn't use /usr/local for system files. All the Renesas libraries and binaries will be installed in /usr instead of /usr/local. Bug-AGL: SPEC-1571 Change-Id: Ibc40df5d492517773bf89e4e0f117a02d22d90cd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-09packagegroup-agl-core-boot: add package distro-build-manifestStephane Desneux2-0/+121
The purpose of distro-build-manifest is to generate and distribute build manifests for a given AGL build (generally, an image build). The recipe generates the build manifest 'platform-build-info' at each build (no caching) and this manifest is then stored in 3 locations with different set of data: * image: in /etc/platform-build-info * deploy dir: image/$MACHINE/platform-build-info * sdk: generated but not packaged yet Important Note: the 3 manifests contain at least the 'target manifest' but some extra information are added depending on the target location: * build host information are only available in the deploy dir manifest * SDK specific data are only available in the SDK manifest An example of generated build manifests (sorry for long lines): in target (package distro-build-manifest): ------------------------------------------------------------------------------ DIST_MACHINE="h3ulcb" DIST_FEATURES="agl-appfw-smack agl-audio-4a-framework agl-demo agl-devel agl-hmi-framework agl-netboot agl-profile-graphical agl-profile-graphical-qt5 agl-ptest agl-pulseaudio " DIST_LAYERS="agl-manifest:4f3b4e1 meta-agl-demo:6.90.0-3-gfc32c5e meta-agl-devel:6.90.0-3-gf4b12f5 meta-agl-extra:6.90.0-0-ged8c0a7 meta-agl:6.90.0-20-g46941e2 meta-gplv2:f875c60 meta-intel:8.1-rocko-2.4.2-21-g718bb38 meta-intel-iot-security:v1.0.0-34-g20bbb97 meta-iot-bzh:4.99.3-45-g1de6fff meta-oic:70d5bec meta-openembedded:3525310 meta-qt5:5.2.1+origin/release-445-g682ad61 meta-raspberrypi:8e4c537 meta-rcar:a055159 meta-renesas-rcar-gen3:6.90.0-0-gb3625d6 meta-security:8f6969a meta-security-isafw:489abdc meta-updater:ff555e8 meta-updater-qemux86-64:697632d poky:rocko-18.0.3-0-g7e7ee66" DIST_BUILD_HASH="Fd30d961c-L91230d88" DIST_BUILD_ID="AGL-h3ulcb-Fd30d961c-L91230d88" DIST_BB_MACHINE_ARCH="h3ulcb" DIST_BB_MACHINEOVERRIDES="rcar-gen3:r8a7795:h3ulcb:aarch64:ulcb" DIST_BB_MACHINE_FEATURES="biglittle agl-egvirt gsx multimedia rtc qemu-usermode" DIST_BB_DISTRO_CODENAME="guppy" DIST_BB_DISTRO_FEATURES="acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io largefile systemd opengl wayland pam bluetooth bluez5 surroundview bluetooth netboot smack dbus-cynara xattr automount agl-audio-4a-framework agl-hmi-framework agl-devel pulseaudio sota pam use_eva_pkg h264dec_lib h264enc_lib aaclcdec_lib aaclcdec_mdw ptest gobject-introspection-data ldconfig" DIST_BB_DISTRO_BRANCH_VERSION_TAG="guppy/6.90.0" DIST_BB_AGLVERSION="6.90.0" DIST_BB_AGL_BRANCH="master" DIST_BB_AGLRELEASETYPE="agldevelopment" ------------------------------------------------------------------------------ in deploy dir: ------------------------------------------------------------------------------ [target manifest] + DIST_FEATURES_MD5="d30d961c8981a7badc467aedafb0687b" DIST_BUILD_HOST="devel@bsp-devkit-odin-0-sdx" DIST_BUILD_OS="Debian GNU/Linux 8 (jessie)" DIST_SETUP_TS="20181009_153656_UTC" DIST_SETUP_MANIFEST="/xdt/build/h3ulcb/aglsetup.manifest" DIST_BUILD_TS="20181009_153832_UTC" DIST_LAYERS_MD5="91230d88544a1ac1845d80ad5f083651" DIST_BB_DISTRO="poky-agl" DIST_BB_DISTRO_VERSION="6.90.0+snapshot-20181009" DIST_BB_DISTROOVERRIDES="poky-agl" DIST_BB_TUNE_FEATURES="aarch64" DIST_BB_TUNE_PKGARCH="aarch64" DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb" ------------------------------------------------------------------------------ in SDK: ------------------------------------------------------------------------------ [target manifest] + DIST_BB_DISTRO="poky-agl" DIST_BB_DISTRO_VERSION="6.90.0+snapshot-20181009" DIST_BB_DISTROOVERRIDES="poky-agl" DIST_BB_TUNE_FEATURES="aarch64" DIST_BB_TUNE_PKGARCH="aarch64" DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb" DIST_BB_HOST_SYS="aarch64-agl-linux" DIST_BB_TARGET_SYS="aarch64-agl-linux" DIST_BB_TARGET_VENDOR="-agl" DIST_BB_SDK_ARCH="x86_64" DIST_BB_SDK_VENDOR="-aglsdk" DIST_BB_SDK_VERSION="6.90.0+snapshot" DIST_BB_SDK_OS="linux" ------------------------------------------------------------------------------ Bug-AGL: SPEC-720, SPEC-1741 Change-Id: I934acc87e13d2f6ec867684af515b89a89a89338 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-09aglsetup: generate setup manifest fileStephane Desneux2-0/+195
This patch modifies aglsetup to output the execution context in a "setup manifest" located in $builddir/aglsetup.manifest This file can then be processed by another script (distro-manifest-generator.sh) to generate a complete distro manifest at build time. Bug-AGL: SPEC-720, SPEC-1741 Change-Id: I1f9bc8a6d8bc4c659e59ed0025f71ad9e1c86355 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-08agl-service: telephony: add telephony service recipeMatt Ranostay1-0/+18
Bug-AGL: SPEC-1757 Change-Id: I0dd0c80fc089ce18fce0325fbbe0f17d257418a6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-08pulseaudio-dev included conditionnaly in -crosssdk imagesStephane Desneux2-2/+2
As pulseaudio is now optional, agl-demo-platform-html5-crosssdk and agl-image-graphical-qt5-crosssdk shouldn't include pulseaudio-dev unconditionnaly. This change duplicates in those two images what is done in agl-demo-platform-crosssdk. Bug-AGL: SPEC-1601 Change-Id: Ib75c6a8015567fa6b5acbc6afd98ac06b2550a87 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-08Mutualizes code for ulcb card family conf fileRonan Le Martret5-106/+52
Remove duplicate code between ulcb card configuration card. Since more an more ulcb card and extention, it becomes difficult to maintain the conf file of the ulcb family. Change-Id: Id5648f4e75c464875d3b175c769e1fdd7f4312f5 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-08Fix optee-client buildRonan Le Martret1-0/+1
optee-client fails to compile when enabling FORTIFY_SOURCE=2 option. Change-Id: I4e4a5fea098470f63a3d8b49b9bb4fc8b8c0bbbc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-08Use iperf3 instead of iperf2Changhyeok Bae5-97/+1
iperf3 recipe is in meta-openembedded layer. Change-Id: I1c4f7345615f4ab99b1405a9ed53569ced1bdabe Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-10-05[RCAR] Fix ti-bt package name and revisionRonan Le Martret1-0/+3
* ti-bt needs to have a correct PN and PR to be compliant with dnf and so rpm. Bug-AGL: SPEC-920 Change-Id: I1b83ce54340922a23a6f0de5873e48699c2e1101 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-02Remove pulseaudio from AGL DISTRO_FEATURESRonan Le Martret1-1/+1
Bug-AGL: SPEC-1601 Change-Id: I5f6f82dad72cb5f1570c6354d360cebd056489a1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-02Create a feature to activate pulseaudio in AGLRonan Le Martret2-0/+3
If pulseaudio is wanted you can use the feature agl-pulseaudio, to add pulseaudio to DISTRO_FEATURES, and so, add pulseaudio to AGL distribution. Bug-AGL: SPEC-1601 Change-Id: Ic6fcad968428c9f337f318369eef822e5e9ff84d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-02Fix image build with PR timestampRonan Le Martret1-2/+2
* If we using _append with PKGR the image creation failed. The _append action is done twice and so corrupt the PKGR value. Change-Id: Ia549e83a33ed667cd246a24f9a83a89d9c3f97a9 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-09-29weston-ini-conf.bbappend: Set 720p for Raspberry PiLeon Anavi2-0/+11
Reduce the screen resolution for Raspberry Pi from Full HD to HD Ready (1280x720) to reduce the memory consumption and improve the behaviour of the whole system. This change is applied only for HDMI display on Raspberry Pi due to the limited hardware resources. Bug-AGL: SPEC-1745 Change-Id: Id2fb571b0822f8166086f5ad6a7fcf8ea25c933a Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-09-28Change SDKPATH for something more stable in timeRonan Le Martret1-1/+1
* The SDKPATH must be fix to be used with YoMo. Inside rpm nativesdk file all the path is prefed by SDKPATH/sysroots/${HOSTARCH}-${SDK_VENDOR}-${OSHOST}/ * have a (day) time stamp in ${DISTRO_VERSION} force the rebuild of the package every day. eg: At runtime /etc becomes: (old value): /opt/agl-sdk/6.90.0+snapshot-20180921-aarch64/sysroots/x86_64-aglsdk-linux/etc (new value): /opt/agl-sdk/6.90.0+snapshot-aarch64/sysroots/x86_64-aglsdk-linux/etc in native sdk Bug-AGL: SPEC-921 Bug-AGL: SPEC-1667 Change-Id: I28d7f8d140ba75d9d8c68c84ba5fc697e6011836 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-09-28Add an AGL revision to the RPM packageRonan Le Martret2-17/+97
* To update a rpm file (with dnf) we need to have a valid rpm revision. Let 2 packages pkg_1 and pkg_2 (built in yocto). If pkg_2 is newer than pkg_1, and one wants to be able to update it with dnf, it must respect some rpm naming rules. if ${pkg_2_name} > ${pkg_1_name} -> pkg_2 is newer than pkg_1 elif ${pkg_2_name} = ${pkg_1_name} and ${pkg_2_revision} > ${pkg_1_revision} -> pkg_2 is newer than pkg_1 else -> pkg_2 is equal or older than pkg_1 Currently, the Yocto build process (used by AGL, so whithout special service) doesn't change revisions for a build. So packages are not updatable from a repository with dnf. * This patch adds an option -r|--rpm-revision <schema> to aglsetup.sh so that RPMs produced by bitbake will have correct revisions suitable for binary publishing. <schema> can be: 'prservice[:<address>]' : Use a PR service daemon. if <address> is not specified, the default value 'localhost:0' is used (shortcut for a PR service started by bitbake) 'timestamp' : Use a generated time stamp (UTC). 'value:<revision>' : Use <revision> explicitly. 'none' : Do nothing. p16: change --rpm-revision options parsing, use UTC timestamps, refactor code p19: remove smart parsing of host:port for prservice option - back to dumb option Bug-AGL: SPEC-920 Change-Id: I1f4c9fd093fa350d19450a12ac1847885740596d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-09-28agl-service: hvac: add HVAC service recipeMatt Ranostay1-0/+18
Bug-AGL: SPEC-1757 Change-Id: I4a47f10747eb7221b828957ca4f511bc4a541c2f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-28Move security manager database under /var/localAnton Gerasimov3-6/+6
It is critical for agl-sota feature Bug-AGL: SPEC-1717 Change-Id: Ia4060721e3a092d13934d3af575199e67e356e71 Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
2018-09-27Bump agl-service-can-low-level revisionRomain Forlot1-1/+1
* 3e6d3fa - Reach fixture files in all cases. * 0171561 - Cleaning, set up binding version in config.cmake Change-Id: I68878acbb1e737edbdf88afc5eac83248e56c52d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-27afb-test: Set version from AGLVERSIONRomain Forlot1-1/+1
Change-Id: I2bc00d49e0712523e1d7a65d802adc2e492b479a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-27signal-composer: Set version from AGLVERSIONRomain Forlot1-1/+1
Change-Id: I48497b6a737b0d080bf429764eb0a6a6806a1651 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-27can-low-level: Set version from AGLVERSIONRomain Forlot1-1/+1
Change-Id: I7b4da62501ffdce89c76fdc66094410cb52412a3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-25recipes-multimedia: lightmediascanner: save database to ↵guppy_6.90.0guppy/6.90.06.90.0Matt Ranostay1-1/+1
/tmp/$UID/lightmediascannerd.db To prevent using a corrupted SQLite3 database that is possible with cheap USB media it is better to generate on every bootup. Bug-AGL: SPEC-1744 Change-Id: I2da9f71697ecf04f37f6f0141a46c57c059169b6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-20linux-firmware_%.bbappend: Avoid rpi file duplicationLeon Anavi1-0/+5
In releases based on Yocto/OE Rocko firmware files for bcm43430 and bcm43455 are provided by linux-firmware-raspbian. This fix avoids duplication of firmware files for Raspberry Pi 3 Model B and B+ while building agl-demo-platform-crosssdk. Bug-AGL: SPEC-1729, SPEC-1652 Change-Id: Ic9e918f4ffd915b148530bb8e6bf9a6dc6a61c02 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-09-18agl_raspberrypi3.inc: WiFi on Raspberry Pi 3 B & B+Leon Anavi5-119/+1
Use linux-firmware-raspbian packages for bcm43430 and bcm43455. Bug-AGL: SPEC-1729, SPEC-1652 Change-Id: Ib634ee3351fa91d8d1704656f4a40d1b40cd05e3 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-09-14af-main & af-binder: Set version from AGLVERSIONJose Bollo7-0/+8
Change-Id: Ie1ff83f007d9d8d819829540d51e576f088c97eb Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-09-13Uprev the nogfx machine include to the same stateJan-Simon Möller1-0/+3
as the ordinary m3 build. Change-Id: If07a26f1cb253b9863ea658e6cd122450f03a38b Bug-AGL: SPEC-1640 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-12Move master to guppyJan-Simon Möller1-5/+5
We move master to guppy and development. Change-Id: If6fc9f1e89298f604e94055b75362df7a7cbdde0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>