summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not wait for qemu network bridge to come up on primaryfix/primary-image-nowaitLaurent Bonnans2018-03-282-2/+11
| | | | It is incorrectly kept in the "Configuring" state by systemd-networkd
* Merge pull request #281 from advancedtelematic/fix/bump-aktualizrPatrick Vacek2018-03-281-1/+1
|\ | | | | Bump aktualizr
| * Bump aktualizrLaurent Bonnans2018-03-281-1/+1
|/ | | | Needed to work with the addition of aktualizr-check-discovery
* Merge pull request #280 from advancedtelematic/bugfix/aktualizr-check-discoveryPatrick Vacek2018-03-281-0/+1
|\ | | | | Add aktualizr-check-discovery to shipped files
| * Add aktualizr-check-discovery to shipped filesLaurent Bonnans2018-03-281-0/+1
|/
* Merge pull request #279 from advancedtelematic/feat/secondarycajun-rat2018-03-287-4/+60
|\ | | | | Improve Secondary support
| * Restrict secondary network to localhostPhil Wise2018-03-271-1/+1
| |
| * Add SOTA client feature to enable secondary networkPhil Wise2018-03-276-3/+59
|/ | | | Also add a test for the 'primary-image'
* Merge pull request #278 from advancedtelematic/feat/udp-socket-activationlbonn2018-03-263-3/+4
|\ | | | | UDP Socket activation for discovery service
| * Bump aktualizr version to get socket activation fixesfeat/udp-socket-activationPhil Wise2018-03-261-1/+1
| | | | | | | | Specifically, cc3a8927 "Fix socket activation when UDP enabled" is required.
| * Change port number to match default used elsewherePhil Wise2018-03-261-1/+1
| |
| * UDP Socket activation for discovery servicePhil Wise2018-03-232-2/+3
|/ | | | Also, timeout communication to the DUT after 60s.
* 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