summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Minor README improvements.docs/morty/supported-branchesPatrick Vacek2019-09-161-2/+4
| | | | | | | | * Add link to the docs portal. * Backport the first line from 8ee9e9c0 and 230d0b58. * Update a link that still pointed at atsgarage.com! Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* The source of truth for the supported branches is the docs portal.Patrick Vacek2019-09-161-10/+2
| | | | | | | | | A cherry-pick of: 948c3ea4e9a7e79d1de4a09e452fbdbbd5772073 f2dcc347e576dc30ca1ac750a1c9d341a3d41dd5 (partial) e307742ffd9a255f6e029c93a14c506409508a4b Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #463 from advancedtelematic/test/morty-oe-selftestPatrick Vacek2019-03-143-0/+728
|\ | | | | Test/morty oe selftest
| * libp11: remove another unused output file.test/morty-oe-selftestPatrick Vacek2019-01-291-0/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * oe-selftest: Fix native binary execution.Patrick Vacek2019-01-291-9/+3
| | | | | | | | | | | | This fixes SotaToolsTests and AktualizrToolsTests. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * First attempt at backporting oe-selftest to morty.Patrick Vacek2019-01-292-0/+733
|/ | | | | | | | | | | | | Still failing: updater.SecondaryTests updater.SotaToolsTests updater.AktualizrToolsTests updater.HsmTests updater.ImplProvTests Mostly seems related to running host-side tools. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #450 from leon-anavi/mortyPatrick Vacek2019-01-2953-456/+1570
|\ | | | | Backporting latest Aktualizr to branch Morty
| * Backporting supplementary recipes from RockoLeon Anavi2019-01-2521-0/+446
| | | | | | | | | | | | | | | | Backport additional recipes for sota, support and test from branch rocko as well as the class target_version_example. Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * ostree: cleanup and update init.shLeon Anavi2019-01-252-51/+24
| | | | | | | | | | | | | | | | | | Cleanup of the Yocto/OE recipe for OSTree based on the work from the branches for newer Yocto releases. Use the same version of init.sh as in branch rocko. Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * aktualizr-ca-implicit-prov-creds: aktualizr-cert-providerLeon Anavi2019-01-241-3/+3
| | | | | | | | | | | | | | | | | | Minor changes because aktualizr_cert_provider has been renamed to aktualizr-cert-provider and some of the name of command-line arguments have been also changed. Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * aktualizr: handle SOTA_HARDWARE_IDLeon Anavi2019-01-241-0/+4
| | | | | | | | | | | | | | | | Backport the brief bit of logic for handling SOTA_HARDWARE_ID from the recipe in the branches for newer releases. Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * sota.bbclass: add h3ulcbLeon Anavi2019-01-241-0/+1
| | | | | | | | | | | | | | Add h3ulcb to be consistent with other branches. Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * *.adoc: Update CONTRIBUTING and READMELeon Anavi2019-01-242-33/+161
| | | | | | | | | | | | | | | | Add CONTRIBUTING.adoc and update README.adoc to match the versions of both files from branch Rocko. Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * sota.bbclass: Set fs typeLeon Anavi2019-01-071-1/+1
| | | | | | | | | | | | | | Set fs type depending on the bootloader and the machine to ext4.gz or ext4.gz.u-boot. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * sota_qemux86-64.bbclass: Increase free spaceLeon Anavi2019-01-071-0/+2
| | | | | | | | | | | | | | | | | | Increase the free space in QEMU images to avoid errors from Aktualizr while pulling updates, such as: object: min-free-space-percent '3%' would be exceeded, at least 10.2 kB requested Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * scripts: Backporting scripts for QEMULeon Anavi2019-01-073-116/+149
| | | | | | | | | | | | | | Backporting scripts for running images in QEMU from branch Sumo to branch Morty. Add *.pyc files to .gitignore. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * aktualizr: Bump to d00d1a04cc2366d1a5f143b84b9f507f8bd32c44Leon Anavi2019-01-0217-62/+396
| | | | | | | | | | | | | | Backport latest Aktualizr and use the same version as in branches Sumo and Thud. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * classes: Backporting classes from SumoLeon Anavi2019-01-024-192/+313
| | | | | | | | | | | | | | Backport SOTA specific classes needed for latest version of Aktualizr from branch Sumo to Morty. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * ostree: Bump to v2018.7Leon Anavi2019-01-021-11/+21
| | | | | | | | | | | | | | Upgrade ostree version from v2017.3 to v2018.7 because this version is known to work with the latest version of Aktualizr. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * asn1c: Backporting from branch SumoLeon Anavi2019-01-022-0/+61
| | | | | | | | | | | | | | Backport asn1c from branch Sumo because the latest version of Aktualizr depends on it. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * libsodium: Support building it nativelyLeon Anavi2019-01-021-0/+1
|/ | | | | | | Add support to build libsodium-native as it will be required for building a newer version of aktualizr-native. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Merge pull request #220 from advancedtelematic/bugfix/PRO-4632/morty-pseudo-bugscajun-rat2018-01-102-9/+2
|\ | | | | Bugfix/pro 4632/morty pseudo bugs
| * Ignore configuration templates to avoid duplicate inclusion of stuffAnton Gerasimov2018-01-051-9/+1
| | | | | | | | | | | | | | | | | | Cherry-picked (e31b5428a4dff2b5d68daf34f079c4789c0c5d4b) from pyro, but leaving out the IMAGE_ROOTFS_EXTRA_SPACE part. This fixes a bug that was rather tough to track down. The duplicated layer meant that the same patch for pseudo was getting applied twice, which caused a loud error instead of just getting skipped.
| * Backport sqlite3 position-independent code fix for pseudo.Patrick Vacek2018-01-051-0/+1
|/ | | | | | | | | | | | | | | | | | Original message from pyro branch of poky: commit 2ec48473e2f17f6e232aa32ff749b220d9d1bf8f Author: Ross Burton <ross.burton@intel.com> Date: Thu Dec 1 14:56:23 2016 +0000 sqlite: build position-independent code pseudo links against this and uses PIC, so some toolchain combinations will refuse to link against sqlite unless it is also PIC. (From OE-Core rev: 6a58e12d19c539deac9e90679a68438497a42fa4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge pull request #168 from advancedtelematic/bugfix/qemuoverlay-mortyOYTIS2017-11-081-1/+1
|\ | | | | Fix race condition in run-qemu-ota
| * Fix race condition in run-qemu-otaAnton Gerasimov2017-11-081-1/+1
|/
* Merge pull request #153 from advancedtelematic/bugfix/PRO-4141/posixaclOYTIS2017-11-072-0/+77
|\ | | | | Backport bugfix for POSIX ACL from pyro
| * Backport bugfix for POSIX ACL from pyroAnton Gerasimov2017-10-302-0/+77
| |
* | Merge pull request #152 from advancedtelematic/bugfix/PRO-4012/basehash-mortycajun-rat2017-11-031-5/+1
|\ \ | |/ |/| Remove IMAGEDATESTAMP to make sstate input deterministic (morty)
| * Remove IMAGEDATESTAMP to make sstate input deterministicAnton Gerasimov2017-10-301-5/+1
|/
* Merge pull request #132 from mobiwize/mortyBen Luck2017-09-113-0/+47
|\ | | | | Fix cronie and OSTree conflicts
| * Fix cronie and OSTree conflictsGuy Shapiro2017-08-243-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | The cronie recipe needs the `/var/spool/cron` directory to operate. Other recipes, such as ntp, modify files in that directory to create periodic jobs. The OSTree image class ignores files on `/var/` as they are system persistent and not managed by OSTree. This commit modifies the cronie recipe to use `/usr/share/cronie-spool/` and makes the image generation class move the files from `/var/spool/cron` into that path.
* | Merge pull request #135 from ↵Jon Oster2017-09-051-2/+25
|\ \ | | | | | | | | | | | | advancedtelematic/feat/PRO-3923-add-persistence-option-qemu-script PRO-3923 Add persistence option to run-qemu script
| * | PRO-3923 Add persistence option to run-qemu scriptJon Oster2017-09-051-2/+25
|/ /
* | Merge pull request #130 from leon-anavi/mortyBen Luck2017-08-281-2/+2
|\ \ | |/ |/| ostree_git.bb: Depends on xz for liblzma
| * ostree_git.bb: Depends on xz for liblzmaLeon Anavi2017-08-231-2/+2
|/ | | | | | | | Move Yocto/OE recipe xz from the run-time dependencies to the dependencies because liblzma is required for the successful configuration of OSTree. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Merge pull request #126 from leon-anavi/mortyBen Luck2017-08-221-7/+16
|\ | | | | Show warnings if credentials are not provided
| * Show warnings if credentials are not providedLeon Anavi2017-08-171-7/+16
| | | | | | | | | | | | | | Print warnings if variable SOTA_PACKED_CREDENTIALS is not set or if the specified file does not exist. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* | Merge pull request #123 from dl9pf/patch-11Ben Luck2017-08-221-0/+1
|\ \ | | | | | | Set IMAGE_OVERHEAD_FACTOR for fixed initrd size
| * | Set IMAGE_OVERHEAD_FACTOR for fixed initrd sizeJan-Simon Möller2017-08-141-0/+1
| |/ | | | | | | | | | | Set IMAGE_OVERHEAD_FACTOR = "1.0" Otherwise the initrd was 12M due to the default overhead (x1.3).
* | Merge pull request #121 from advancedtelematic/feat/bump-sotaBen Luck2017-08-221-2/+3
|\ \ | | | | | | update sota-client to d41540a5
| * | update sota-client to d41540a5Robert Danitz2017-08-141-2/+3
| |/
* | Merge pull request #127 from leon-anavi/PRO-3776Ben Luck2017-08-221-1/+9
|\ \ | |/ |/| scripts/envsetup.sh: Use machine specific local.conf
| * scripts/envsetup.sh: Use machine specific local.confLeon Anavi2017-08-181-1/+9
|/ | | | | | | | | | | Use the configurations for local.conf provided by layer meta-updater-* (depending on the machine) if variable TEMPLATECONF has not been set. Otherwise, if the variable is not set or if the layer does not provide any configurations then the default will be used (just as before this change). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Merge pull request #119 from advancedtelematic/bugfix/treehub.jsonOYTIS2017-08-111-0/+3
|\ | | | | Delete treehub.json from the credentials package on the device
| * Delete treehub.json from the credentials package on the deviceAnton Gerasimov2017-08-101-0/+3
|/
* Merge pull request #110 from advancedtelematic/bugfix/PRO-3484/avoid-build-unzipOYTIS2017-08-108-61/+28
|\ | | | | Bugfix/pro 3484/avoid build unzip
| * Remove device section as it is no longer used.Patrick Vacek2017-08-081-4/+0
| |
| * Prepare credentials correctly for rvi-sota-client.Patrick Vacek2017-08-073-6/+5
| | | | | | | | | | | | | | | | | | Unzip credentials archive and create files as appropriate, since none of that is necessary for aktualizr anymore. This is now done in the sota_provision script. It apparently does not work in the rvi-sota-client recipe, but this solution is perhaps even cleaner anyway.
| * Minor documentation typo/grammar fix.Patrick Vacek2017-08-071-1/+1
| |