summaryrefslogtreecommitdiffstats
path: root/meta-sota
AgeCommit message (Collapse)AuthorFilesLines
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>
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-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 Moeller1-0/+1
build with otaimg"
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 Gerasimov1-0/+1
build with otaimg Bug-AGL: SPEC-236 Change-Id: I60f5b535467819cd03a591a12b725f2d7fc2cd31 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
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 Moeller4-48/+21
feature. otaimg is now a live image."
2016-08-19Replaced functionality in qemux86-ota machine with algsetup.sh feature. ↵Anton Gerasimov4-48/+21
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-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>