summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #204 from advancedtelematic/bugfix/example-interfacePatrick Vacek2017-12-131-1/+4
|\ | | | | Properly install example-interface on target and remove it on host.
| * Only install example-interface if explicitly asked for.Patrick Vacek2017-12-121-1/+2
| | | | | | | | | | To do so, use this in local.conf: SOTA_CLIENT_FEATURES = "secondary-example"
| * Properly install example-interface on target and remove it on host.Patrick Vacek2017-12-121-1/+3
| |
* | Don't run implicit_writer if SOTA_PACKED_CREDENTIALS is not set.Patrick Vacek2017-12-131-2/+4
| | | | | | | | | | This basically cripples implicit provisioning but at least it bitbakes without error.
* | Fix variable expansion problem when SOTA_PACKED_CREDENTIALS is not set.Patrick Vacek2017-12-131-1/+1
|/ | | | | Reported by Stevan, traced to the problem by me, actually fixed by Anton.
* Rerun provisioning recipes when credentials have changedAnton Gerasimov2017-12-114-0/+4
| | | | Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
* Consistent indents.Patrick Vacek2017-12-074-8/+16
| | | | OE standard is apparently four spaces.
* Merge pull request #200 from advancedtelematic/bugfix/cleanupOYTIS2017-12-073-10/+10
|\ | | | | Minor fixes and cleanup.
| * Minor fixes and cleanup.Patrick Vacek2017-12-073-10/+10
| | | | | | | | | | | | * hsm-test is no longer used. * Use Yocto variables where suitable. * Eliminate redundant directory slashes.
* | Deploy OSTree image without a branch nameAnton Gerasimov2017-12-071-1/+1
|/
* 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-055-2/+26
|\ | | | | 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
| |
| * Add support for virtual secondariesAnton Gerasimov2017-12-041-1/+8
| |
| * Provide user interface to add legacy secondary bridgeAnton Gerasimov2017-12-045-1/+18
| |
* | Use *.toml files provided in aktualizr github repoAnton Gerasimov2017-12-047-51/+10
|/ | | | This enables backwards incompatible changes to configuration format
* Add spaces before "_append" clausesAnton Gerasimov2017-12-011-2/+2
| | | | Under some conditions missing space can lead to a corrupted environment variable
* Remove aktualizr-manual-provision.serviceAnton Gerasimov2017-11-305-21/+7
| | | | We don't support this scenario any more and it makes testing more complicated.
* Bump aktualizr version for C++98 standard fix.Patrick Vacek2017-11-271-1/+1
|
* Actually do something with aktualizr-info.Patrick Vacek2017-11-271-0/+2
|
* Bump aktualizr version for goodAnton Gerasimov2017-11-241-1/+1
| | | | Should fix PRO-4260
* Rename repo.url -> tufrepo.urlAnton Gerasimov2017-11-231-1/+1
| | | | Also pass this URL to garage-sign
* Check if the package and UPTANE target got to the backendAnton Gerasimov2017-11-211-1/+1
|
* Merge pull request #179 from advancedtelematic/bugfix/PRO-4260/createtokenOYTIS2017-11-162-2/+1
|\ | | | | Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakes
| * Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakesAnton Gerasimov2017-11-162-2/+1
| | | | | | | | | | 'SOTA_CLIENT_PROV = "aktualizr-hsm-test-prov"' should set in local.conf in order to build with softhsm
* | Merge pull request #174 from ↵cajun-rat2017-11-151-0/+1
|\ \ | | | | | | | | | | | | advancedtelematic/feat/PRO-4199/oe-selftest-sota-tools Feat/pro 4199/oe selftest sota tools
| * | Basic garage-deploy test.Patrick Vacek2017-11-131-0/+1
| | |
* | | Use ${libdir} instead of /usr/lib.Patrick Vacek2017-11-131-3/+3
|/ /
* / Add UPTANE key generation capabilityAnton Gerasimov2017-11-102-4/+4
|/
* Remerge aktualizr recipes.Patrick Vacek2017-10-273-47/+40
| | | | | | | | | | | I found the trick to allow specifiying target vs native variables and tasks. It's a bit wordy but better than having three separate files for the aktualizr recipe. Oddly and annoyingly, while only "aktualizr" must be specified in sota_bleeding.inc, both "BRANCH_pn-aktualizr" and "BRANCH_pn-aktualizr-native" must be specified in local.conf to correctly use a given branch.
* Clean up recipes according to Yocto recommendations.Patrick Vacek2017-10-254-13/+13
| | | | | * Use ${libdir} and ${bindir} wherever possible. * Use rm -f so that tasks are repeatable.
* Use garage-push from aktualizr repo.Patrick Vacek2017-10-242-3/+5
| | | | | | No need for sota-tools repo anymore. Bump aktualizr version to get necessary build fix.
* Fix harmless error from not installing garage_deploy.Patrick Vacek2017-10-162-1/+2
|
* Support pkcs#11 in aktualizr and add softhsm token for testingAnton Gerasimov2017-10-164-2/+53
|
* Bump aktualizr version for implict_writer support.Patrick Vacek2017-10-061-1/+1
|
* Move provisioning out of ostree bbclass into autoprov recipe.Patrick Vacek2017-10-052-8/+29
| | | | | Also remove implicit-prov from DISTRO_FEATURES. Just specify SOTA_CLIENT_PROV directly.
* Move implicit root CA to /usr/lib/sota.Patrick Vacek2017-10-042-2/+2
| | | | It should be able to be updated.
* Create recipe for implicit provisioning file shuffling.Patrick Vacek2017-09-296-23/+94
| | | | | | | | 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.
* Make it easier to build from branches and run a specific imagePhil Wise2017-09-131-1/+3
| | | | | | | | | | Is is now easy to build a specific branch by adding the following line to local.conf BRANCH_pn-aktualizr = "mybranchname" Also, the run-qemu-ota script can also take a path to an image file, which is useful for long-term test images.
* Merge pull request #136 from advancedtelematic/feat/PRO-3805/p11testcajun-rat2017-09-131-0/+5
|\ | | | | Add recipes to test pkcs11 functionality in Aktualizr
| * Add recipes to test pkcs11 functionality in AktualizrAnton Gerasimov2017-09-131-0/+5
| |
* | Merge pull request #134 from advancedtelematic/refactor/remove_keyidcajun-rat2017-09-132-2/+2
|\ \ | |/ |/| Remove useless/obsolete --disable-keyid-validation option.
| * Remove useless/obsolete --disable-keyid-validation option.Patrick Vacek2017-08-312-2/+2
| |
* | aktualizr-auto-prov.bb: Aktualizr configuraitonsLeon Anavi2017-09-112-0/+412
| | | | | | | | | | | | | | Provide Aktualizr systemd service and configurations for manual and autoprovision in a separate recipe. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* | aktualizr_git.bb: remove systemd service and configurationsLeon Anavi2017-09-111-20/+0
|/ | | | | | | Split Aktualizr binary and systemd service and configurations by moving them to another recipe. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Merge pull request #129 from advancedtelematic/bugfix/cruftPatrick Vacek2017-08-311-1/+1
|\ | | | | Remove BUILD_TESTS=OFF because it does nothing.
| * Remove BUILD_TESTS=OFF because it does nothing.Patrick Vacek2017-08-211-1/+1
| | | | | | | | | | | | Aktualizr tests are no longer built with 'make all' and there is no longer a variable named BUILD_TESTS so setting it is neither necessary nor meaningful.
* | 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-073-7/+6
|/ | | | | Warn if older credential environment variables are set. They are now ignored since the credentials aren't unpacked during building.