summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/files
Commit message (Collapse)AuthorAgeFilesLines
* aktualizr: make use of boot-complete.targetStefan Agner2020-06-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | From the systemd.special(7) man page section boot-complete.target: This target is intended as generic synchronization point for services that shall determine or act on whether the boot process completed successfully. Let's make use of the target. Since aktualizr by default marks a boot as successful, we consider aktualizr.service a service which needs to be executed on successful boot (hence after the boot-complete.target). This allows to declare a service as crucial by simply ordering it before the boot-complete.target. The systemd example service systemd-boot-check-no-failures.service can serve as an example. This change does not add any service dependency by default as boot-complete.target by default does not has any extra dependencies. Note that rebooting in the failure case is not handled by this mechanism. This can be added by using FailureAction. Boot assessement infrastructure got introduced with systemd 240. See also: https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/ Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* Adding collectd coniguration for aktualizrfeat/collectdLaurent Bonnans2020-05-131-0/+9
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: Use systemd IP accounting.feat/track-network-usagePatrick Vacek2020-04-221-0/+1
| | | | | | | This allows you to see how much bandwidth was used with `systemd status aktualizr`. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* fix: run aktualizr service after network is onlinefix/primary-secondary-communication/wait-till-network-upMykhaylo Sul2020-03-122-2/+4
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* aktualizr: relies on nss-lookup.targetMing Liu2020-01-201-1/+1
| | | | | | | aktualizr.service needs run after nss-lookup.target to ensure DNS resolving is ready. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* OTA-2541: Remove Secondary's socket service. Use a regular systemd service ↵Mike Sul2019-05-272-7/+5
| | | | | | to start Seconadry daemon Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* Parametrizable AKTUALIZR_PTEST_PARALLEL_LEVELLaurent Bonnans2019-04-101-2/+4
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add aktualizr-resource-controlLaurent Bonnans2019-03-131-0/+6
| | | | | | For controlling systemd cgroups configuration of the aktualizr daemon Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add working ptest suite for aktualizrLaurent Bonnans2019-03-121-0/+16
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: use config instead of environment variables.fix/master/newline-etcPatrick Vacek2018-11-132-3/+0
| | | | | | | This should make the secondary config dir process better anyway, and it finally gets rid of a hacky workaround that we'd been using for ages. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Add support for rollback on Raspberry PiAnton Gerasimov2018-09-181-3/+1
|
* aktualizr tools: use generic MPL license instead of our own copy.Patrick Vacek2018-07-031-373/+0
|
* Assorted minor cleanup and formatting.Patrick Vacek2018-03-291-0/+1
| | | | | | Includes the suggestion for using /etc/sota/sota.env if it exists as recommended by the discussion here: https://github.com/advancedtelematic/meta-updater/pull/275
* Change port number to match default used elsewherePhil Wise2018-03-261-1/+1
|
* UDP Socket activation for discovery servicePhil Wise2018-03-231-0/+1
| | | | Also, timeout communication to the DUT after 60s.
* Add systemd socket activation for secondaryPhil Wise2018-03-142-0/+14
|
* Add provisioning with CAAnton Gerasimov2018-02-261-0/+10
|
* Add support of ISO/TP legacy secondaries and serial CANAnton Gerasimov2018-01-081-0/+15
|
* Merge pull request #196 from advancedtelematic/feat/PRO-3751/legacyinterfacecajun-rat2017-12-051-1/+2
|\ | | | | Provide user interface to add legacy secondary bridge
| * Provide user interface to add legacy secondary bridgeAnton Gerasimov2017-12-041-1/+2
| |
* | Use *.toml files provided in aktualizr github repoAnton Gerasimov2017-12-043-43/+0
|/ | | | This enables backwards incompatible changes to configuration format
* Remove aktualizr-manual-provision.serviceAnton Gerasimov2017-11-302-13/+0
| | | | We don't support this scenario any more and it makes testing more complicated.
* Add UPTANE key generation capabilityAnton Gerasimov2017-11-101-2/+3
|
* Support pkcs#11 in aktualizr and add softhsm token for testingAnton Gerasimov2017-10-161-0/+17
|
* Move implicit root CA to /usr/lib/sota.Patrick Vacek2017-10-041-1/+1
| | | | It should be able to be updated.
* Create recipe for implicit provisioning file shuffling.Patrick Vacek2017-09-291-0/+11
| | | | | | | | Split aktualizr into basic and native recipes by moving most of the work to an include file. Use aktualizr-implicit-writer (on host) to do the actual work of configuring sota.toml and installing files. Still not quite fully functional.
* Merge pull request #134 from advancedtelematic/refactor/remove_keyidcajun-rat2017-09-131-1/+1
|\ | | | | Remove useless/obsolete --disable-keyid-validation option.
| * Remove useless/obsolete --disable-keyid-validation option.Patrick Vacek2017-08-311-1/+1
| |
* | aktualizr-auto-prov.bb: Aktualizr configuraitonsLeon Anavi2017-09-111-0/+373
|/ | | | | | | Provide Aktualizr systemd service and configurations for manual and autoprovision in a separate recipe. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Remove device section as it is no longer used.Patrick Vacek2017-08-081-4/+0
|
* Call garage-push directly with zip file instead of sending unzipped contents.Patrick Vacek2017-08-072-4/+3
| | | | | Warn if older credential environment variables are set. They are now ignored since the credentials aren't unpacked during building.
* Aktualizr updates, including sync()Phil Wise2017-06-261-1/+1
| | | | | Perform sync() after provisioning Store sota.toml in updatable /usr directory
* Add uptane-capable aktualizrAnton Gerasimov2017-06-142-0/+32
|
* Support Aktualizr in manual-provisioning modePhil Wise2017-05-241-0/+13
Aktualizr currently supports OSTree updates in non-autoprovisioned mode. Add a systemd service to run it in that mode. It uses the same location for the config file as rvi-sota-client (/sysroot/boot/sota.toml) Also, the aktualizr recipe is reformatted according to meta-openembedded/contrib/oe-stylize.py (which follows the OE styleguide)