summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Hardcode garage sign version for demofeat/PRO-5211/oslo-pyroLaurent Bonnans2018-04-201-0/+2
|
* Add support for disable_send_ip client featureAnton Gerasimov2018-04-203-0/+26
|
* Sync with aktualizr repoAnton Gerasimov2018-04-201-1/+1
|
* Backport GARAGE_SIGN_VERSION variable from rockoAnton Gerasimov2018-04-202-1/+27
|
* Version with telemetry enabledAnton Gerasimov2018-04-201-4/+4
|
* Merge pull request #294 from advancedtelematic/bugfix/kRejectAll-pyroBen Luck2018-04-1815-134/+366
|\ | | | | Bugfix/k reject all pyro
| * Move dev settings to main README. Add table of contents.Patrick Vacek2018-04-122-13/+26
| | | | | | | | Cherry-pick of be74b1ee32332c81d604550c1cf51d7c3eb5590f from rocko.
| * Bump aktualizr and fix related minor issues.Patrick Vacek2018-04-122-2/+6
| | | | | | | | For now, ignore the aktualizr secondaries.
| * Update patch to work with OPENSSL_VERSION_NUMBER 0x100020ef.Patrick Vacek2018-04-121-1/+1
| | | | | | | | Cherry-pick of 321509af3eb079dffd230d9417586dce11884be9 from rocko.
| * Add EVP_PKEY_meth_get* replacement functions to use with OpenSSL 1.0.2m as wellAnton Gerasimov2018-04-122-1/+44
| | | | | | | | | | | | | | I couldn't find the reason why these functions are not present in libopenssl.so, but apparently it doesn't affect 1.0.2k Cherry-pick of fe5193054cfc6e815fdd91baa0f24111461d7dd4 from rocko.
| * Add a basic raspberry pi test.Patrick Vacek2018-04-121-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. Cherry-pick of 81b2fa6bf0b5d7d68dc81c83ecc1ba15cba2ac9b from rocko.
| * Mention SOTA_PACKED_CREDENTIALS in oe-selftest section of docs.Patrick Vacek2018-04-121-4/+6
| | | | | | | | | | | | Also fix a broken link. Cherry-pick of 97ea268738bbacbe383d20f0ae9b1df7aff2b58a from rocko.
| * Add qemu layer for qemu tests if not present.Patrick Vacek2018-04-121-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. Cherry-pick of 0fb122d88290a7476d694547f4d05a15d5ec38d1 from rocko.
| * oe-selftest improvements.Patrick Vacek2018-04-121-58/+52
| | | | | | | | | | | | | | | | | | * 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. Cherry-pick of c0d6f4c7949ddfc01977096b985c46c28aa8ed4f from rocko.
| * Assorted minor cleanup and formatting.Patrick Vacek2018-04-124-8/+23
| | | | | | | | | | | | | | | | | | 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 Partial cherry-pick of 71c528ab616a707f4125727c8c5a4e4da5a36c94 from rocko.
| * Update documentation and fix broken link.Patrick Vacek2018-04-121-1/+1
| | | | | | | | Cherry-pick of 48d6d6f7508fd5ab373703af5b0bd99e7e1a20ff from rocko.
| * Add SRCREV_pn-aktualizr to documentation.Patrick Vacek2018-04-121-2/+2
| | | | | | | | Cherry-pick of 2d3e4530c07df2ad0cab16d90ede7f9c482c7022 from rocko.
| * Minor changes to keep hsm and implicit recipes consistent.Patrick Vacek2018-04-122-7/+8
| | | | | | | | | | | | | | At present they should be very similar. The only outstanding difference (other than the HSM parts) is whether the root CA is installed. Cherry-pick of 5f033dd60d20ce332d3f1d8d44e296791660d6d3 from rocko.
| * Remove aktualizr's jansson dependenciesLaurent Bonnans2018-04-121-1/+1
| | | | | | | | | | | | This was needed for GENIVI support, which got dropped recently Cherry-pick of c9c54186bb714fb5952705a95ca72a39228b9353 from rocko.
| * Patch asn1c skeletons file discoveryLaurent Bonnans2018-04-122-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | The OpenEmbedded native build process interferes with asn1c's method to find its required data: asn1c-native is moved after being built but the data directory is hardcoded from configure time in asn1c. There is an alternative detection method builtin in asn1c, used for development. Let's just hack into that and target '../share/asn1c' from the binary directory. Cherry-pick of 79497c99576f3f3f68d82d25f266d4b421af510f from rocko.
| * Add asn1c dependency for aktualizrLaurent Bonnans2018-04-122-1/+17
| | | | | | | | Cherry-pick of 45bd8d6995119b84d9622dd8ce3d1fedfa2ed0ef from rocko.
| * Revert "Fix minor ovmf compilation bug only present in pyro."Patrick Vacek2018-04-032-28/+0
|/ | | | | | | This reverts commit 2dbeaf315ff9cf8cce1d0a3276fd561163db6237. It has since been added to poky (dd44b2c92f40d0b010336c8af8ea337763e55cf9), so it is no longer necessary to include it here.
* Merge pull request #270 from advancedtelematic/bugfix/fix-image-size-pyroBen Luck2018-03-131-1/+1
|\ | | | | successful builds on QA
| * 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 #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.