summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-auto-prov.bb
Commit message (Collapse)AuthorAgeFilesLines
* aktualizr: use config instead of environment variables.fix/thud/newline-etcPatrick Vacek2018-11-131-1/+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>
* aktualizr: Fix virtual secondary support.Patrick Vacek2018-11-131-3/+0
| | | | | | | | Use /etc/sota/ecus as using /var/sota/ecus was conflicting with the provisioning recipes that also use /var/sota. Not totally ideal, but the best compromise I could find. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Fixes for oe-selftestfeat/OTA-719/nodeployAnton Gerasimov2018-10-011-1/+0
|
* Add SOTA_DEPLOY_CREDENTIALS variable to control whether the built image ↵Anton Gerasimov2018-10-011-14/+6
| | | | should be provisioned
* aktualizr tools: use generic MPL license instead of our own copy.Patrick Vacek2018-07-031-4/+3
|
* aktualizr-auto-prov: Remove redundant '.toml'.Patrick Vacek2018-06-191-2/+2
|
* aktualizr: Upgrade to use simplified implicit_writer config.Patrick Vacek2018-06-041-2/+3
| | | | | | | | There is no longer a need for dumping the whole config, now we can just add what we need to a new config file and use that in addition to the base config. This simplifies several things and fixes a few bugs. Also renamed the configs to make provenance a little clearer.
* aktualizr_*.bb: Minor formatting and fixes.Patrick Vacek2018-06-041-1/+1
| | | | | | | | Move HSM dependencies to aktualizr recipe, since it's aktualizr that can depend on HSM support, not the provisioning prepartion. Remove references to systemd in provisioning recipes, since they have nothing to do with systemd.
* Review shipped directories in aktualizr recipesLaurent Bonnans2018-05-171-0/+1
| | | | Missing directories in FILES_xx were causing bitbake QA errors on sumo
* Update aktualizr config to use default locations.Patrick Vacek2018-05-041-4/+4
| | | | | | Fix permissions, drop explicit aktualizr dependency, put everything in /usr/lib/sota/conf.d, rename with numeric prefixes to make precedence more clear.
* Move example-interface from sota.env to its own recipe.Patrick Vacek2018-05-031-2/+0
| | | | | SOTA_LEGACY_SECONDARY_INTERFACE is now obsolete. Instead, include this: IMAGE_INSTALL_append = " aktualizr-examples aktualizr-example-interface "
* Add SOTA client feature to enable secondary networkPhil Wise2018-03-271-1/+3
| | | | Also add a test for the 'primary-image'
* Add support of ISO/TP legacy secondaries and serial CANAnton Gerasimov2018-01-081-9/+1
|
* Rerun provisioning recipes when credentials have changedAnton Gerasimov2017-12-111-0/+1
| | | | Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
* Consistent indents.Patrick Vacek2017-12-071-8/+10
| | | | OE standard is apparently four spaces.
* Minor fixes and cleanup.Patrick Vacek2017-12-071-4/+4
| | | | | | * hsm-test is no longer used. * Use Yocto variables where suitable. * Eliminate redundant directory slashes.
* Install /var/sota.Patrick Vacek2017-12-061-6/+4
| | | | | If not using SOTA_PROVISIONING_CREDENTIALS, nothing is written to /var/sota but it is still created. Quick fix: install it.
* Always create /usr/lib/sota in autoprov recipeAnton Gerasimov2017-12-051-3/+3
| | | | The directory is required by environment.inc
* Merge pull request #196 from advancedtelematic/feat/PRO-3751/legacyinterfacecajun-rat2017-12-051-1/+3
|\ | | | | Provide user interface to add legacy secondary bridge
| * Fix erroneous do_install_append that should just be do_install.Patrick Vacek2017-12-051-1/+1
| |
| * Provide user interface to add legacy secondary bridgeAnton Gerasimov2017-12-041-0/+2
| |
* | Use *.toml files provided in aktualizr github repoAnton Gerasimov2017-12-041-3/+2
|/ | | | This enables backwards incompatible changes to configuration format
* Remove aktualizr-manual-provision.serviceAnton Gerasimov2017-11-301-4/+3
| | | | We don't support this scenario any more and it makes testing more complicated.
* Clean up recipes according to Yocto recommendations.Patrick Vacek2017-10-251-3/+3
| | | | | * Use ${libdir} and ${bindir} wherever possible. * Use rm -f so that tasks are repeatable.
* Move provisioning out of ostree bbclass into autoprov recipe.Patrick Vacek2017-10-051-6/+29
| | | | | Also remove implicit-prov from DISTRO_FEATURES. Just specify SOTA_CLIENT_PROV directly.
* Create recipe for implicit provisioning file shuffling.Patrick Vacek2017-09-291-3/+3
| | | | | | | | 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.
* aktualizr-auto-prov.bb: Aktualizr configuraitonsLeon Anavi2017-09-111-0/+39
Provide Aktualizr systemd service and configurations for manual and autoprovision in a separate recipe. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>