summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-08Merge "add feature dependency for agl-demo"Jan-Simon Moeller1-0/+1
2016-11-08Merge "A tool for uploading OSTree objects to a server together with ↵Jan-Simon Moeller3-0/+150
integration code"
2016-11-08A tool for uploading OSTree objects to a server together withAnton Gerasimov3-0/+150
integration code Bug-AGL: SPEC-194 Change-Id: I650e190bbda67ad48233bc5aedc0c10ff14aa58f Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-08Added SOTA_VERSION that is displayed when user runs 'sota-client -v' onAnton Gerasimov1-1/+2
the target machine Change-Id: Ifa04f2fb5f6cd5e0ecd2a14af07128e030a44a8b Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-08Merge "Upgrade to the latest rvi_sota_client"Jan-Simon Moeller1-33/+44
2016-11-07Upgrade to the latest rvi_sota_clientPhil Wise1-33/+44
* Backwards compatibilty for sota.toml files * Run 'sync' after installing a package (prevents RPM database corruption) * Stability fixes Change-Id: Ie3d3e436b754c1950d8ca6e63e2e214f300cf7d5 Signed-off-by: Phil Wise <phil@advancedtelematic.com>
2016-11-07add feature dependency for agl-demoRonan1-0/+1
Change-Id: Ib92ceda385e5e4d9771b4bb999bff983e18d68a6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-04Merge "Smack: fixup of bluetooth socket labelling"Jan-Simon Moeller10-0/+413
2016-11-04Merge "OTA-enabled live image for Porter board"Jan-Simon Moeller2-1/+76
2016-11-04Smack: fixup of bluetooth socket labellingJosé Bollo10-0/+413
The sockets created by kernel thread will now be tagged @ instead of _. This problem was occuring during creation of AF_BLUETOOTH (but is also latent AF_ALG, AF_IUCV, AF_SCTP, AF_TIPC as they don't go through the normal socket creation process within linux). Having the tag @ allows read/write to sockets without special rules and tus solve the problem. This solution from upstream linux patches backported and from a patch made by Samsung for Tizen and that is currently discussed within kernel lists. Also add some improvements of the LSM Smack (valid caching and signal 0). These improvements are backports of patches already available for linux 4.9-rc3. AGL-bug: SPEC-293 (https://jira.automotivelinux.org/browse/SPEC-293) Change-Id: I5999a951a4bbeba7947ebfe5df091de07d59e57e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-03Merge "Allow build without meta-agl-demo"Jan-Simon Moeller2-1/+3
2016-11-03Merge "Update rvi-sota-client"Jan-Simon Moeller9-203/+220
2016-11-02OTA-enabled live image for Porter boardAnton Gerasimov2-1/+76
Bug-AGL: SPEC-307 Change-Id: I74ddc2622048a50243b82fbf023aa05c33322af4 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-02Allow build without meta-agl-demoRonan2-1/+3
Change-Id: Ic78464d6e9c07e205b222b3f0f3d49ed1b928ed6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-10-31Update rvi-sota-clientAnton Gerasimov9-203/+220
Change-Id: I1d5ceb776427298d46ab26dab2c822041dff00e0 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
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