summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test aktualizr-example-interface package (PRO-5336).feat/PRO-5308/config-dirsPatrick Vacek2018-05-041-0/+9
| | | | | Not much else from the example configs that is easy to test with oe-selftest.
* Update aktualizr config to use default locations.Patrick Vacek2018-05-049-31/+28
| | | | | | Fix permissions, drop explicit aktualizr dependency, put everything in /usr/lib/sota/conf.d, rename with numeric prefixes to make precedence more clear.
* Update README with aktualizr config management (PRO-5329).Patrick Vacek2018-05-031-4/+18
|
* Create aktualizr-log-debug recipe as an example (and debugging aid).Patrick Vacek2018-05-031-0/+23
|
* Provide recipe to disable sending ip (PRO-5297).Patrick Vacek2018-05-031-0/+23
| | | | Obviates the need for SOTA_CLIENT_FEATURES = "disable_send_ip".
* Move example-interface from sota.env to its own recipe.Patrick Vacek2018-05-036-10/+397
| | | | | SOTA_LEGACY_SECONDARY_INTERFACE is now obsolete. Instead, include this: IMAGE_INSTALL_append = " aktualizr-examples aktualizr-example-interface "
* Add sqlite3 to aktualizr dependencies.Patrick Vacek2018-05-031-1/+1
| | | | It's worked fine without it, but better to be explicit.
* Merge pull request #305 from advancedtelematic/fix/var-sota-permsPatrick Vacek2018-04-302-6/+10
|\ | | | | Fix /var/sota perms
| * Add missing delay in loop.Phil Wise2018-04-301-6/+8
| |
| * Fix permissions of /var/sota in image_types_otaPhil Wise2018-04-271-0/+2
|/ | | | We should also do this in the recipes
* Merge pull request #302 from advancedtelematic/feat/pro-5211-rockoBen Luck2018-04-241-1/+1
|\ | | | | Bump Aktualizr to get PRO-5211 Report network info
| * Bump Aktualizr to get PRO-5211 Report network infoPhil Wise2018-04-231-1/+1
|/
* Merge pull request #297 from advancedtelematic/bugfix/decodelbonn2018-04-131-1/+1
|\ | | | | Decode bytes.
| * Decode bytes.Patrick Vacek2018-04-131-1/+1
|/
* Merge pull request #291 from advancedtelematic/feat/garage-sign-auto-versioncajun-rat2018-04-132-6/+39
|\ | | | | Feat/garage sign auto version
| * If GARAGE_SIGN_VERSION is not provided, ask the server for a version.Patrick Vacek2018-04-132-1/+26
| | | | | | | | | | Get the server URL out of the credentials and ask what version the server is using.
| * Pass requested garage-sign version to aktualizr.Patrick Vacek2018-04-131-5/+13
| | | | | | | | | | | | | | | | | | | | Set GARAGE_SIGN_VERSION in local.conf to request a specific version, e.g.: GARAGE_SIGN_VERSION = "cli-0.3.0-5-g5908997.tgz" If unset, the default (latest version) will be used. Set GARAGE_SIGN_SHA256 in local.conf to specify a hash to check, e.g.: GARAGE_SIGN_SHA256 = "94f5db1accbbbaa279f7ac5a2e618f5448adeafbe32d6cbc90c8604054ab653e" If unset, the sha256 is not computed.
* | Merge pull request #289 from advancedtelematic/docs/reorg-and-toccajun-rat2018-04-132-13/+26
|\ \ | |/ |/| Move dev settings to main README. Add table of contents.
| * Move dev settings to main README. Add table of contents.Patrick Vacek2018-04-032-13/+26
| |
* | Merge pull request #290 from advancedtelematic/fix/linux-new-kernelPatrick Vacek2018-04-091-3/+0
|\ \ | |/ |/| Stop forcing Linux 4.4 on qemux86-64
| * Stop forcing Linux 4.4 on qemux86-64Laurent Bonnans2018-04-061-3/+0
| | | | | | | | The mentioned issue doesn't seem to exist anymore
* | Merge pull request #283 from advancedtelematic/refactor/cleanupPatrick Vacek2018-03-296-8/+27
|\ \ | |/ |/| Assorted minor cleanup and formatting.
| * Assorted minor cleanup and formatting.Patrick Vacek2018-03-296-8/+27
|/ | | | | | 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
* 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