summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-31Move RPi specific bbappends to meta-agl-bspAnton Gerasimov2-4/+0
Bug-AGL: SPEC-254 Change-Id: Ic87171163ad81b8fd9f96a5e1d22b9b9522485c2 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-28Move machine-dependent sota configuration to machine templatesAnton Gerasimov2-25/+6
Change-Id: Iaf00906eb44f50490a67e5f5e5ca229fd1f76028 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-27Double size of OTA ramdisk to 16MPhil Wise1-1/+1
The ramdisk size on qemux86-64 was 9MB, decompressed, which was causing a kernel panic on boot. Double it to 16MB. Change-Id: I11e28977b1342d3d8cb5c43de5105ac288d097f2 Signed-off-by: Phil Wise <phil@advancedtelematic.com>
2016-10-27Merge "OSTree-enabled image for raspberry Pi"Jan-Simon Moeller10-5/+260
2016-10-27OSTree-enabled image for raspberry PiAnton Gerasimov11-6/+261
Bug-AGL: SPEC-254 v2 [jsmoeller]: change rpi fdt addr to 200M (fix cma), re-add inherit gobject-introspection (!) v3 [oytis]: move boot logic to editable uEnv.txt Change-Id: Ic54aadc8377ed1e2a8f2f4ab87db2a7a6660cd15 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-26Fix build of ostree on host systemJan-Simon Möller1-1/+1
Host systems without gobject-introspection natively will fail the build. Add the proper dependencies and wrappers to the recipe. Fixes: tmp/sysroots/x86_64-linux/usr/bin/g-ir-compiler --includedir=. OSTree-1.0.gir -o OSTree-1.0.typelib | Could not find GIR file 'Gio-2.0.gir'; check XDG_DATA_DIRS or use --includedir | error parsing file OSTree-1.0.gir: Failed to parse included gir Gio-2.0 Change-Id: I2ae926c10aec0bb93c25707917f47ea22da3b870 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-25ostree_git.bb: Upgrade to v2016.12Leon Anavi1-1/+1
Upgrade OSTree to v2016.12 which was released on 24 October 2016. Bug-AGL: SPEC-194 Change-Id: Ia4d937df4386925407d7e3187172be52a9154ae3 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-10-24FWK: Adaptations for jethroJosé Bollo4-5/+71
Since introduction of ambient capabilities, systemd deprecated the use of Capabilities. With systemd 229 activated with krogoth, the use of Capabilities does nothing. This commits avoids to use SecureBits and Capabilities. It now relies on the fact that post installations are setting the capabilities to the file: - setcap cap_mac_override,cap_dac_override=ep afm-system-daemon - setcap cap_mac_override,cap_mac_admin,cap_setgid=ep afm-user-daemon Using p (permitted) instead of i (inherited) that was previously used. It also includes evolutions of the security model to be synchronized with the deletion of 'User'. The recommended version to use now is the commit 20bbb97f6d5400b126ae96ef446c3e60c7e16285. Change-Id: Id24ce7c7651e2fdf8d66b6e8286268e7d88508a0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-19Merge "Fix build of libgsystem in sota feature"Jan-Simon Moeller1-1/+1
2016-10-19Only build u-boot in otaimg for qemux86, otherwise it should be managedAnton Gerasimov1-2/+5
by live image recipe Bug-AGL: SPEC-296 Change-Id: Idbb00f33fd04b2a2d9fa8c615347f9b85d917d4a Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-18Fix build of libgsystem in sota featureJan-Simon Möller1-1/+1
libgsystem_git.bb needs gobject-introspection in the inherit statements. Add it there to fix the build. Change-Id: I43c25ed02b15b7a1f53ab5111813c09a5c6b84fa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-18Merge "Bump OSTree version to v2016.11"Jan-Simon Moeller5-5/+29
2016-10-18Merge "Fix initramfs build for sota"Jan-Simon Moeller1-1/+3
2016-10-12Bump OSTree version to v2016.11Anton Gerasimov5-5/+29
Bug-AGL: SPEC-285 Change-Id: Ie76e8bbad1f272cfc0bc34654a708d3ae233dde0 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-12Fix initramfs build for sotaJan-Simon Möller1-1/+3
The initramfs_fstypes default to cpio.gz, we need ext4.gz. Change-Id: Ib35e7ff23767fbe02b25f7605a22fcfb7b5899c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-10[sota][rpi2/3] Fix multiple provider issue when agl-sota is enabledJan-Simon Möller1-0/+2
Without this changeset, we have a multiple provider warning when building for the rpi. NOTE: multiple providers are available for virtual/bootloader (u-boot, u-boot-ota) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/bootloader Change-Id: I5dbf98841ac171bbd4a925786fd7f2849fb7e36b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-04Tuned initrd image and pseudo environment to fix bugs with extendedAnton Gerasimov10-375/+157
security attributes. Bug-AGL: SPEC-259 Change-Id: I44499ce3f5f1924aecf63689a93d1f20e779225e Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-28Fixed a typo in configuration template that prevented the image fromAnton Gerasimov1-1/+2
building. Bug-AGL: SPEC-253 Change-Id: Iaba028604f164f16e05015fe34ff0013ff6e1865 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-26Added initramfs image and fixed several error to make AGL rootfsAnton Gerasimov11-205/+673
bootable as an OSTree deployment Bug-AGL: SPEC-253 Change-Id: If636a282d51a64c73c46ce70a361518c1f70cdd6 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-20app-framework: ImprovementsJosé Bollo2-2/+2
Within app-framework-binder: - fixes read and write lock (EAGAIN) - fixes SIGPIPE handling - improves the documentation Within app-framework-main: - improves documentation (for config.xml) - fixes setting of permissions Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: If860d00204f82ee85ed1fd4ca9ac9820b844085f
2016-09-15ostree_git.bb: Upgrade to v2016.10Leon Anavi1-1/+1
Upgrade OSTree to v2016.10 which was released on 08 September 2016. Bug-AGL: SPEC-194 Change-Id: I20d8214a227259635a388fdd037a0144451e7ac5 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-15ostree_git.bb: Deploy installed files in /usr/libLeon Anavi1-0/+2
Minor bug fix to deploy installed files of OSTree in /usr/lib/girepository-1.0. Bug-AGL: SPEC-194 Change-Id: I31fdffbf248623eeff7e7ba5607e3534d700be50 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-13Merge "Build OSTree natively, and its dependencies as well"Jan-Simon Moeller7-15/+44
2016-09-13Merge "ostree_git.bb: Upgrade OSTree to v2016.9"Jan-Simon Moeller1-1/+1
2016-09-13Merge "ostree_git.bb: Bug fixes"Jan-Simon Moeller1-0/+12
2016-09-13Merge "libgsystem_git.bb: Bug fixes"Jan-Simon Moeller1-0/+16
2016-09-12Change do_rootfs to do_image_* after respective change in poky.Anton Gerasimov2-4/+3
Bug-AGL: SPEC-249 Change-Id: Ib5d725f203c0b0545b7c6b3196afb149ac8015c2 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-12Merge "Adds image type for OSTree deployment sysroot"Jan-Simon Moeller1-0/+87
2016-09-12Build OSTree natively, and its dependencies as wellAnton Gerasimov7-15/+44
Bug-AGL: SPEC-245 Change-Id: Ia5631d786c3375ba3aa0bc6ac75ebaeb358e7b03 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-05app-framework: improvementsJosé Bollo2-2/+2
- Adds the handling of a root for HTTP files with the option --roothttp - Improves API for openning localized data - Adds the handling of language Change-Id: Ia0c6e840265595b6e0415e8ea7a9e6585d8bb88d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-02ostree_git.bb: Upgrade OSTree to v2016.9Leon Anavi1-1/+1
OSTree has been upgraded to the latest version v2016.9 which was released on 31 August. This release contains mostly minor fixes. Bug-AGL: SPEC-194 Change-Id: Id7a1cce825aacbb069fd86bc7e81bb7fca46042b Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-02ostree_git.bb: Bug fixesLeon Anavi1-0/+12
Fixes for OSTree recipe: * Export staging directories, host and build system, * Deploy installed files in /usr/lib and /usr/share. Bug-AGL: SPEC-194 Change-Id: Ieda8c03f24c571827e91b0e72acad515f0cf14ff Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-02libgsystem_git.bb: Bug fixesLeon Anavi1-0/+16
Fixes for LibGSystem recipe: * Export staging directories, host and build system, * Deploy installed files in /usr/lib and /usr/share. Bug-AGL: SPEC-194 Change-Id: I9e564088d545525c791426f6a80a870f5b6b45b5 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-01Merge "Force u-boot (or another virtual/bootloader if overriden by user) to ↵Jan-Simon Moeller2-1/+2
build with otaimg"
2016-09-01Merge "Improves the handling of upgrade for websockets"Jan-Simon Moeller3-19/+84
2016-09-01Adds image type for OSTree deployment sysrootAnton Gerasimov1-0/+87
Bug-AGL: SPEC-246 Change-Id: I1390d1aae652f84b61a3b9ca33ae886c138edc50 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-01Force u-boot (or another virtual/bootloader if overriden by user) toAnton Gerasimov2-1/+2
build with otaimg Bug-AGL: SPEC-236 Change-Id: I60f5b535467819cd03a591a12b725f2d7fc2cd31 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-08-29Improves the handling of upgrade for websocketsJosé Bollo3-19/+84
The previous implmentation wasn't enough good to allow the websocket handshake by any client. In particular, the Qt client wasn't able to connect to binder's websockets. Also upgrade to MHD 0.9.49 (compatible with krogoth) Change-Id: Ib5800a4ff6c3d5e6bb11359266867fde52c06dce Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-29Replaced links to libgcc functions for 64-bit integer divisions withAnton Gerasimov2-1/+143
ipxe implementation to get rid of multilib Bug-AGL: SPEC-242 Change-Id: I43589a295fd1e499c03c0ff77f04f9af7f1518b0 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-08-29Merge "Replaced functionality in qemux86-ota machine with algsetup.sh ↵Jan-Simon Moeller5-48/+33
feature. otaimg is now a live image."
2016-08-19Replaced functionality in qemux86-ota machine with algsetup.sh feature. ↵Anton Gerasimov5-48/+33
otaimg is now a live image. Bug-AGL: SPEC-236 Change-Id: I5a56ffbdb098c1b4eb33fceeae32e28611b83fb7 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-08-19ostree: upgrade to v2016.8Leon Anavi1-1/+1
OSTree has been upgraded to the latest version v2016.8 which was released on 9 August. Bug-AGL: SPEC-194 Change-Id: I2cc81ca8b788241f0a11a68ea3b7565fdb09eb81 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-08-16Add support for emulating OSTree updates in qemux86: new live image,Anton Gerasimov13-0/+2147
u-boot that can be used as BIOS, machine that uses both and fork of poky runqemu supporting the new live image. Bug-AGL: SPEC-236 Change-Id: Id99d122c05a00eb94902e8f6907455a1e681f2a3 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-08-10app-framework: fix minor bugsJosé Bollo2-2/+2
- fix event propagation to services - fix memory leaks Change-Id: I73432fd9f4a144d2790a7a67d471045048b5e537 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-03libgsystem: Change source repository and versionLeon Anavi1-2/+2
Use the Git repository from GitHub and replace AUTOREV with the latest version known to work (aka head from master branch). Bug-AGL: SPEC-202 Change-Id: Ib59a7a59896feaa3d34ca1e55799251a96a5243d Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-08-02ostree: systemd is required as a dependencyLeon Anavi1-2/+2
Fix error libsystemd.la: No such file or directory by adding systemd as a dependency of OSTree. Bug-AGL: SPEC-229 Change-Id: Iac0cf7381564a7867e514b22082e6cafe7fefbaa Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-07-18meta-app-framework: install missing libafbwsc libraryManuel Bachmann1-2/+3
libafbwsc is a C WebSockets helper library needed for most native apffw clients, such as the default provided one, "afb-client-demo". Change-Id: I321f62cbd6a04bc3e4b91e4de544865c83397979 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-07-15ostree: systemd servicesLeon Anavi1-1/+17
Ensure that systemd services ostree-prepare-root and ostree-remount are installed and deployed. Change-Id: I5774ade1278cb1429c583a21066c51432d0c1a2a Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-07-15ostree: use stable release v2016.7Leon Anavi1-1/+1
Use a tag of a stable release instead of the latest source code from the master branch. Change-Id: Ic99bfa8a81562a33d68e5e4520a0cc64fd561bfc Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-07-15Merge "meta-app-framework: sync with latest af-main sources"Jan-Simon Moeller2-1/+3