summaryrefslogtreecommitdiffstats
path: root/meta-sota
AgeCommit message (Collapse)AuthorFilesLines
2017-04-04Update SOTA-related softwareAnton Gerasimov7-63/+191
Support for grub2 has been added, rust's json parser temporarily replaced with python-canonicaljson because of compatibility issues. Change-Id: I6665ed3ad56afc90f0e82eb90993c8656be16d5f Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-03-17remove PR from recipesRonan Le Martret1-2/+0
Yocto uses meanwhile 'prserv' to generate the value for PR. Change-Id: Ifa2905f8bfada7564d68db2d00bc4f0d9e4a2757 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-27Use latest version of pseudo with buggy POSIX ACL fixed.Anton Gerasimov1-0/+5
There is no open Jira ticket for that, details can be found in comments to SPEC-254 starting with Jan-Simon's comment on 26th of October. Change-Id: I00c016005f0adfe289acab2b68a461d94f34b992 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-02-24Update OSTree to acquire Smack-related patchAnton Gerasimov1-3/+2
This version should have the issue with repo corruption after pull on Smack-enabled systems fixed. Bug-AGL: SPEC-386 Change-Id: I4485596ce9abf47e7fa8b8a90f94c212178df8f1 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-02-09Update sota softwareAnton Gerasimov5-81/+120
Update includes: - latest version of OSTree (2017.1) - latest versions of sota-client and sota-tools - fix for lshw recipe under morty Change-Id: Ic65fbf1cb0608143e49dc5d241b7d84940126e26 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-01-26Move feature code into the meta recipesRonan1-0/+15
* Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf * move feature/agl-demo to meta-agl-demo Change-Id: I6db3956da8091bf583b20fce7dc184bfe622a85a Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-26Fix u-boot patches from meta-raspberrypi for raspberrypiRonan1-0/+6
* The patch "0003-Include-lowlevel_init.o-for-rpi2.patch" is not complacente with u-boot 2016.11 from meta-sota. * The version of u-boot from yocto 2.2 Morty is 2016.03 Change-Id: I5bbc2683ca159a6c537c08a484e22fa8da260da3 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-18Merge "Changes to pseudo have been merged into poky, this recipe is no more ↵Jan-Simon Moeller4-63/+0
needed."
2017-01-17Image creation has changed a bit in morty, fix OSTree-related typesAnton Gerasimov5-4/+15
accordingly Bug-AGL: SPEC-413 Change-Id: If7dbf01eb277143e41b602a977b0ef6110a5664d Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-01-17Changes to pseudo have been merged into poky, this recipe is no moreAnton Gerasimov4-63/+0
needed. Bug-AGL: SPEC-406 Change-Id: I5db0db2a31497c59550b8bd2d28e9df7f4317cfc Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-01-13replace deprecated function base_containsRonan1-1/+1
* replace base_contains by bb.utils.contains * base_contains is deprecated use bb.utils.contains instead * yocto version: 2.2 Change-Id: Ie36940f57ec82028487de5c5b3326054cb250eee Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-11Fix build of u-boot with gcc6 on mortyJan-Simon Möller4-4/+179
Add header file for gcc6 to u-boot. Change-Id: Idc5b95f2b41a7c0468b5b07883bcf11d4b48b164 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10Fix ostree compilation with mortyJan-Simon Möller1-1/+2
Change-Id: I50af71c6a67a207e460254a6af9d0dd8e4ca68c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10Fix build of libgsystem on mortyJan-Simon Möller1-2/+3
Add the dependency gtk-doc-native and enforce autoreconf to run. Change-Id: Iff565cb8193f17d9ab9cfca7e5323440515ccb15 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-10Remove old append file to pseudoJan-Simon Möller1-3/+0
This file is no longer needed as it was replaced with a backport. Change-Id: If29e17dcefa4fd471686f16637e0ca67936b079d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-09rvi-sota-client: Update and fix rust-opensslLeon Anavi1-41/+37
Update the version of RVI SOTA Client as well as all crates on which it depends. Furthermore the patch includes improvements for the deployment of the systemd service and removes the old work around for rust-openssl. Dbus has been moved from RDEPENDS to DEPENDS to ensure that RVI SOTA client will be built successfully. Bug-AGL: SPEC-385 Change-Id: If276aac45b582d7d1ddb5b702fb4f40937d38e75 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2017-01-09libgit2: Remove recipe from meta-agl-extraLeon Anavi3-25/+0
Remove the Yocto/OE recipe for libgit2 from meta-agl-extra and use the one from layer meta-rust. Recipe libgit2 is required only for building RVI SOTA client which anyway depends on meta-rust. Bug-AGL: SPEC-385 Change-Id: I2be01d8280687b77840f693ccddc0f10732245ab Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2017-01-04Add flags supporting CMA operation on RPIJan-Simon Möller2-2/+14
These flags are needed for proper CMA (graphics/video) on rpi3. Mitigates SPEC-390. Change-Id: I48c79a9d8cbb2017f8fff30dfa9a83be1da845e1 Bug-AGL: SPEC-390 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-27Update default branch name in the documentationAnton Gerasimov1-6/+7
Bug-AGL: SPEC-381 Change-Id: I1244bbd1c80982f7486090fb4abab5fb2e88f560 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-12-12update README markdownRonan1-30/+46
Change-Id: I8df2f8cdf75eff6daed1f8e64c748d989f2da887 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-12-05Update rvi-sota-clientAnton Gerasimov1-2/+2
A bug causing deploying the same tree twice was fixed in this version. [v2] Another fixed bug, should be clean now Change-Id: I0afef39a0734405e3b7318ccec1103594d2316b4 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-29Add dependency on curl.Anton Gerasimov1-2/+2
Without explicitly stated dependency the recipe will fail sometimes depending on the order bitbake executes its jobs. Updating sota-tools to make it crash during configuration phase as well. Change-Id: I265f9d1f11c42c6e203d04f2b23a55f18de0fc1b Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-23Bump versions of meta-sota utilitiesAnton Gerasimov5-31/+21
Authenticated OSTree pull and push is added to sota_tools, ostree and sota-client. Change-Id: I36a4d3d24826ab8776bc980b50aef8606af9e7a8 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-12Add ota draft for ota imageJan-Simon Möller1-0/+72
Change-Id: I42debe5e710d9b1fc90f68a5d49e7fbb3e709cf4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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-04Merge "OTA-enabled live image for Porter board"Jan-Simon Moeller2-1/+76
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-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 Gerasimov1-3/+5
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 Moeller9-3/+244
2016-10-27OSTree-enabled image for raspberry PiAnton Gerasimov10-4/+245
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-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-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-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-26Added initramfs image and fixed several error to make AGL rootfsAnton Gerasimov10-204/+665
bootable as an OSTree deployment Bug-AGL: SPEC-253 Change-Id: If636a282d51a64c73c46ce70a361518c1f70cdd6 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
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>