summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #277 from advancedtelematic/feat/pro-5060-run-qemu-otacajun-rat2018-03-229-1/+76
|\ | | | | run-qemu-ota support for secondaries
| * Fix up testsPhil Wise2018-03-201-0/+1
| |
| * Add a --secondary-network option to run-qemu-otaPhil Wise2018-03-198-1/+75
|/ | | | | This sets up a simulated 'in vehicle' network. Add support for a Primary node with a DHCP server and a secondary node with a DHCP client.
* Merge pull request #276 from advancedtelematic/feat/pro-5060/meta-updatercajun-rat2018-03-166-22/+119
|\ | | | | Add secondary-image to meta-updater
| * Add systemd socket activation for secondaryPhil Wise2018-03-144-1/+33
| |
| * Add secondary-image to meta-updaterPhil Wise2018-03-144-22/+87
|/ | | | | | This required splitting the aktualizr package into several components, in order to be able to either install the primary 'aktualzr' or the secondary 'aktualizr-secondary'.
* Merge pull request #268 from advancedtelematic/test/better-oe-selftestcajun-rat2018-03-082-75/+195
|\ | | | | Test/better oe selftest
| * Add a basic raspberry pi test.test/better-oe-selftestPatrick Vacek2018-03-021-16/+98
| | | | | | | | | | | | | | | | | | | | There's not much we can do, since booting the device via a test is not practical. Still, it's useful to make sure that we can build the image. If trying to build the image in an environment designed for qemu, this takes some trickery to set things up just right. Also consistently set up layers before setting the MACHINE, since the sanity checker sometimes complains otherwise.
| * Mention SOTA_PACKED_CREDENTIALS in oe-selftest section of docs.Patrick Vacek2018-03-011-4/+6
| | | | | | | | Also fix a broken link.
| * Add qemu layer for qemu tests if not present.Patrick Vacek2018-02-281-8/+53
| | | | | | | | | | | | | | | | The layers required for the grub test are now also only added if not already present. This should make the tests runnable from an environment configured for raspberry pi.
| * oe-selftest improvements.Patrick Vacek2018-02-281-60/+51
| | | | | | | | | | | | | | * Check successful provisioning with autoprov and grub. * Refactor provisioning check into an independent function. * Rename QemuTests to AutoProvTests since that's what it is now. * Be more explicit about MACHINE.
* | Merge pull request #262 from advancedtelematic/feat/fitimage-rpicajun-rat2018-03-081-4/+13
|\ \ | | | | | | Use FIT image on RPi
| * | Use FIT image on RPiAnton Gerasimov2018-02-221-4/+13
| | |
* | | Merge pull request #271 from advancedtelematic/bugfix/fix-image-size-rockoPatrick Vacek2018-03-071-1/+1
|\ \ \ | |_|/ |/| | Fix calculate_size in case $SIZE < $MIN
| * | Fix calculate_size in case $SIZE < $MINMatthias Andreas Benkard2018-03-071-1/+1
|/ / | | | | calculate_size had a typo that made one of the cases fail. This patch fixes it.
* | Merge pull request #267 from advancedtelematic/test/PRO-4481/hsm-rockoPatrick Vacek2018-02-284-68/+322
|\ \ | | | | | | Test/pro 4481/hsm rocko
| * | Merge remote-tracking branch 'ats/pyro' into test/PRO-4481/hsm-rockoPatrick Vacek2018-02-274-68/+322
|/| | | | | | | | | | | Bring in updates to oe-selftest.
| * | Merge pull request #261 from advancedtelematic/test/PRO-4853/impl-prov-selftestBen Luck2018-02-271-61/+108
| |\ \ | | | | | | | | oe-selftest for implicit provisioning
| | * | Fix typo in oe-selftestLaurent Bonnans2018-02-271-1/+1
| | | |
| | * | Less redundant bitbaking in oe-selftestLaurent Bonnans2018-02-271-12/+2
| | | |
| | * | Factorize aktualizr native helper in oe-selftestLaurent Bonnans2018-02-271-75/+43
| | | |
| | * | Test implicit provisioning with oe-selftestLaurent Bonnans2018-02-271-0/+89
| |/ /
| * | Merge pull request #264 from advancedtelematic/bugfix/PRO-4936/repocloseBen Luck2018-02-261-1/+1
| |\ \ | | | | | | | | Pull new aktualizr with fixed fd leak
| | * | Pull new aktualizr with fixed fd leakAnton Gerasimov2018-02-261-1/+1
| |/ /
| * | Merge pull request #260 from advancedtelematic/test/PRO-4481/hsmBen Luck2018-02-223-69/+275
| |\ \ | | | | | | | | Test/pro 4481/hsm
| | * | Fix minor logging issue.Patrick Vacek2018-02-211-5/+2
| | | | | | | | | | | | | | | | No need for the extra bitbake of aktualizr-native.
| | * | Refactor oe selftestsLaurent Bonnans2018-02-201-51/+70
| | | | | | | | | | | | | | | | Factorize the call of aktualizr-native commands in each testing class
| | * | Bump aktualizr to fix a CMAKE_BUILD_TYPE bug.Patrick Vacek2018-02-201-1/+1
| | | |
| | * | Replace write_config with append_config.Patrick Vacek2018-02-201-8/+9
| | | | | | | | | | | | | | | | Also fix a minor provisioning check ordering problem.
| | * | oe-selftest standardization and general improvement.Patrick Vacek2018-02-201-30/+42
| | | |
| | * | Better oe-selftest documentation.Patrick Vacek2018-02-201-13/+27
| | | | | | | | | | | | | | | | Also clean up some minor formatting.
| | * | Rename run_command to qemu_command.Patrick Vacek2018-02-201-11/+11
| | | | | | | | | | | | | | | | | | | | This helps distinguish it from runCmd, which is how you run commands in the shell.
| | * | Use some regex to get a little fancier.Patrick Vacek2018-02-201-0/+23
| | | |
| | * | Test provisioning with HSM.Patrick Vacek2018-02-202-8/+89
| | | |
| | * | Add test_cert_provider_local_output.Patrick Vacek2018-02-201-16/+55
| | | | | | | | | | | | | | | | Improve some organization and logging.
| | * | Test that implicit_writer and cert_provider work.Patrick Vacek2018-02-202-13/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This required setting the LD_LIBRARY_PATH to get some dependencies that are liable to conflict with the host's normal installation. I adapted that for the sota_tools tests as well for good measure. Also, we now actually install cert_provider in the native build.
| | * | Only expect credentials in the image if using autoprov.Patrick Vacek2018-02-201-0/+1
| |/ / | | | | | | | | | | | | The credentials test was failing if any other provisioning recipe was specified.
| * | Merge pull request #258 from advancedtelematic/bugfix/p11-fixesBen Luck2018-02-192-7/+8
| |\ \ | | | | | | | | Bugfix/p11 fixes
| | * | No longer require engine-pkcs11.Patrick Vacek2018-02-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | It was merged into the libp11 package. Bump aktualizr to use the correct default path (and fix some various OSTree issues). Add opensc as it was previously a transitive dependency.
| | * | Bump aktualizr and fix some installation complaints.Patrick Vacek2018-02-091-1/+2
| | | |
| | * | Remove manual installation of /usr/lib/sota/schemasPhil Wise2018-02-061-6/+6
| | | | | | | | | | | | | | | | | | | | As of 6c0dd6c87f4f4027e9b89f9a9e0dc12ef386d39d these are installed with a normal 'make install' (via cmake)
| * | | Merge pull request #257 from advancedtelematic/test/oe-selftest-backportBen Luck2018-02-164-18/+71
| |\ \ \ | | |/ / | |/| | Test/oe selftest backport
| | * | Fix minor ovmf compilation bug only present in pyro.Patrick Vacek2018-02-132-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not appear to be a problem on rocko, and it wasn't a problem for me on pyro when I last checked less than a month ago. It actually only broke the native build. This has been fixed upstream at some point, anyway.
| | * | Add tests for aktualizr-info.Phil Wise2018-02-131-16/+40
| | | | | | | | | | | | | | | | Cherry-pick of c64b399633975bc05856e5eded519c4f22adfe44 from rocko.
| | * | Add a helpful hint for the oe-selftest grub problem.Patrick Vacek2018-02-131-1/+2
| | | | | | | | | | | | | | | | | | | | Partial cherry-pick of b605cf215ff4cef35c3f62fee0ec14e3c8d5ba22 from rocko.
| | * | Fix flag deprecation warning.Patrick Vacek2018-02-131-1/+1
| |/ / | | | | | | | | | | | | Partial cherry-pick of 84baa1c3d8f996f7daf2d8aa3d26197378218f21 from rocko.
* | | Merge pull request #266 from advancedtelematic/fix/rm-jansson-deplbonn2018-02-271-1/+1
|\ \ \ | | | | | | | | Remove aktualizr's jansson dependencies
| * | | Remove aktualizr's jansson dependenciesLaurent Bonnans2018-02-271-1/+1
|/ / / | | | | | | | | | This was needed for GENIVI support, which got dropped recently
* | | Merge pull request #259 from advancedtelematic/feat/PRO-4854/caOYTIS2018-02-263-1/+85
|\ \ \ | | | | | | | | Add provisioning with CA
| * | | Add provisioning with CAAnton Gerasimov2018-02-263-1/+85
|/ / /