summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* aktualizr: Don't put unused configs in the image.feat/thud/2020.10Patrick Vacek2020-10-301-6/+3
| | | | | | | | | | | | | | | | | Because every aktualizr package was depending on aktualizr-configs, all of the default configs were getting installed to /usr/lib/sota, despite that by default none of them were ever used on the device. That dependency has been removed. The provisioning recipes still install the recipes they need to the default location that aktualizr actually uses (/usr/lib/sota/conf.d). If you want to use anything else, a specific recipe should be created to do so. This change rendered the aktualizr-host-tools package useless, so it has been removed. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Upgrade to 2020.10 releaseAnatoliy Odukha2020-10-291-4/+4
| | | | Signed-off-by: Anatoliy Odukha <aodukha@gmail.com>
* aktualizr: Upgrade to 2020.9 release.feat/thud/2020.9Patrick Vacek2020-08-261-4/+4
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to latest and install headers in dev package.Patrick Vacek2020-08-261-2/+4
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to 2020.8 release.feat/thud/2020.8Patrick Vacek2020-07-091-4/+4
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Put aktualizr-info in a separate package and use it in Secondaries.Patrick Vacek2020-07-081-5/+7
| | | | | | | | | We did the work a while ago to make aktualizr-info work for Secondaries, but until now we weren't putting the tool into the secondary-image we use for testing. Now it's there. Actually, it's in every image that inherits from sota.bbclass, which is probably a good thing. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Bump aktualizr to 2020.7 revisionLaurent Bonnans2020-06-021-4/+4
| | | | | | And garage-sign to 0.7.1-4 Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* sota_sanity.bbclass: introduce sota_check_boolean_variableMing Liu2020-06-021-2/+2
| | | | | | | | | | The current sanity check are too strict for some boolean variables, introduce sota_check_boolean_variable to allow a boolean value to be set like yes/y/true/t/1 or no/n/false/f/0. Also change to use oe.types.boolean to check their values. Signed-off-by: Ming Liu <ming.liu@toradex.com>
* aktualizr: Update to 2020.6 release and garage-sign 0.7.1.feat/thud/2020.6Patrick Vacek2020-04-301-4/+4
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to 2020.5 and get garage-sign from the new AWS bucket.feat/thud/2020.5Patrick Vacek2020-04-021-5/+5
| | | | | | | Also bump the garage-sign version. New version includes fixes for supporting targets > 2 GB. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to 2020.4 and latest garage-sign.Patrick Vacek2020-03-241-4/+4
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Fix aktualizr-ptest shlib yocto errorsLaurent Bonnans2020-03-241-0/+2
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: remove unnecessary rm.Patrick Vacek2020-03-241-3/+0
| | | | | | | libuptiny (the "partial" subdirectory) and its dependencies were removed from the aktualizr repo a while ago. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Update to 2020.3 release.feat/thud/2020.3Patrick Vacek2020-02-281-4/+4
| | | | | | Update garage-sign to the latest as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Update aktualizr recipe to use new .so namesLaurent Bonnans2020-02-281-7/+7
| | | | | | Aktualizr and garage-sign are also bumped in the process. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Bump a new aktualizr versionfeat/thud/2020.2Mykhaylo Sul2020-01-301-1/+1
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* aktualizr: Remove unused hmi-stub and examples package.Patrick Vacek2020-01-291-5/+1
| | | | | | | | hmi-stub was replaced by libaktualizr-demo-app and is no longer part of this recipe. That leaves the aktualizr-examples package empty, so just get rid of it. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to latest.feat/thud/2020.1Patrick Vacek2020-01-201-4/+4
| | | | | | Bump garage-sign as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* OTA-4174: Make an ostree update a default on IP SecondaryMykhaylo Sul2020-01-201-1/+1
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* Adapt to shared libraries changes in aktualizrLaurent Bonnans2020-01-151-3/+17
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Update aktualizr to 2019.11feat/thud/2019.11Laurent Bonnans2019-12-121-4/+4
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Set PKCS11_ENGINE_PATH when using aktualizr with HSMLaurent Bonnans2019-12-121-2/+3
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: Upgrade to 2019.10 release and latest garage-sign.feat/thud/2019.10Laurent Bonnans2019-11-201-4/+4
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Remove systemd packaging.Patrick Vacek2019-11-201-1/+0
| | | | | | That dependency and build flag have been removed as they were unused. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Fix aktualizr-ptest breakagefeat/thud/2019.9-backportLaurent Bonnans2019-10-291-0/+4
| | | | | | The compile step was removed by mistake in ec1ac0617b120813d6450dffe1aa8d4868e37332! Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: remove systemd from PACKAGECONFIG.Patrick Vacek2019-10-291-1/+1
| | | | | | | The systemd functionality in aktualizr is not currently used for anything, so there's no reason to use it. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to 2019.9 release and latest garage-sign.Patrick Vacek2019-10-291-4/+4
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Split aktualizr hwid config to another recipeLaurent Bonnans2019-10-211-5/+1
| | | | | | So that we can fix the ${MACHINE} dependency issues Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Fix aktualizr version reporting in yocto imageLaurent Bonnans2019-10-211-5/+9
| | | | | | | | | | Stop overriding AKTUALIZR_VERSION with the recipe version which is mostly bogus. And bump aktualizr to make sure we're using a version which fails at configure time if no version was specified. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Give names to different SRC_URI in aktualizr recipeLaurent Bonnans2019-10-211-5/+4
| | | | | | To make it self-documenting and extendable Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: aktualizr-repo was renamed to uptane-generator.backport/thud/2019.7Patrick Vacek2019-09-111-5/+5
| | | | | | Also bump to 2019.7 release of aktualizr and latest garage-sign. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: latest garage-sign with expiration support.Patrick Vacek2019-09-111-3/+3
| | | | | | | Use GARAGE_TARGET_EXPIRES or GARAGE_TARGET_EXPIRE_AFTER (but not both!) to set the garage-sign parameters. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Bump aktualizr and garage-sign versions to the latest.Patrick Vacek2019-08-151-4/+4
| | | | | | | Both include support for mutual TLS in the garage tools. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> (cherry-picked from commit 8fa3a60d39476903745cb80f6130bb8c412e0694)
* Fix ptest build after recent aktualizr changesLaurent Bonnans2019-07-191-1/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* OTA-2488: Remove SOTA_SECONDARY_CONFIG_DIR configuration variable (old way ↵Mike Sul2019-07-191-11/+1
| | | | | | to configure secondaries). Bump corresponding version of aktualizr. Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* Remove executable access control bits from aktualizr recipe.Patrick Vacek2019-06-051-0/+0
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Rename provisioning methods.Patrick Vacek2019-06-051-8/+7
| | | | | | | | | | | | "Autoprovisioning" or "automatic provisioning" is now known as "shared credential provisioning". "Implicit provisioning" is now known as "device credential provisioning". "HSM provisioning" was always a misnomer, so it is now refered to as "device credential provisioning with an HSM". This includes a bump of the aktualizr version as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: bump garage sign to version 0.7.0-3-gf5ba640.Patrick Vacek2019-06-051-3/+3
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* OTA-2541: Switch to Aktualizr's version that supports IP Secondaries ↵Mike Sul2019-06-051-1/+1
| | | | | | | preconfig and its tests Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* OTA-2541: Use local.conf's variables to configure Primary with ↵Mike Sul2019-06-051-8/+0
| | | | | | | Secondary(ies) and vice versa Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* OTA-2541: Remove Secondary's socket service. Use a regular systemd service ↵Mike Sul2019-06-051-4/+1
| | | | | | | to start Seconadry daemon Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* OTA-2541: Network configuration on IP/Posix SecondaryMike Sul2019-06-051-0/+8
| | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Make aktualizr-ptest depend on python3-miscLaurent Bonnans2019-05-131-1/+1
| | | | | | Some of our tests use pathlib which ends up in there... Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: Remove aktualizr-check-discovery dependency.Patrick Vacek2019-04-291-2/+1
| | | | | | It no longer exists. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to latest for recovery fixes.Patrick Vacek2019-04-291-1/+1
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Bump aktualizr and garage toolsLaurent Bonnans2019-04-291-4/+4
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Use PARALLEL_MAKE when building aktualizr-ptestLaurent Bonnans2019-04-291-1/+1
| | | | | | | The trick to add it in do_compile from cmake.bbclass does not work with do_compile_ptest_base Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add openssl-bin as a aktualizr-ptest requirementLaurent Bonnans2019-04-291-1/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add aktualizr-resource-controlLaurent Bonnans2019-04-291-1/+25
| | | | | | For controlling systemd cgroups configuration of the aktualizr daemon Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Save space in deployed aktualizr ptestLaurent Bonnans2019-04-291-2/+5
| | | | | | | | | * remove whole RIOT repo * remove intermediary static libraries, only useful during build Should be around 500MB saving in total Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>