summaryrefslogtreecommitdiffstats
path: root/recipes-sota
Commit message (Collapse)AuthorAgeFilesLines
* Bump aktualizrconnman-fix-masterLaurent Bonnans2019-08-011-1/+1
| | | | | | For the fix in https://github.com/advancedtelematic/aktualizr/pull/1275 Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Dont patch credentialsfeat/OTA-3115/Dont-patch-credentialsZee3141592019-07-301-8/+11
| | | | | | | | | | | | Unzip files in tmp directory, updated comments Fixed a zip bug Grouped elements with warnings With a fancier loop Signed-off-by: Zee314159 <252806294@qq.com>
* Also install net-tools on target for ptestLaurent Bonnans2019-07-181-1/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Bump aktualizr with some ptest fixesLaurent Bonnans2019-07-181-1/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Fix ptest build after recent aktualizr changesLaurent Bonnans2019-07-161-1/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* OTA-2488: Remove SOTA_SECONDARY_CONFIG_DIR configuration variable (old way ↵refact/OTA-2488/virtual-secondary-refactoryMike Sul2019-07-101-11/+1
| | | | | | to configure secondaries). Bump corresponding version of aktualizr. Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* Remove executable access control bits from aktualizr recipe.Patrick Vacek2019-06-051-0/+0
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Rename provisioning methods.Patrick Vacek2019-06-059-83/+83
| | | | | | | | | | | | "Autoprovisioning" or "automatic provisioning" is now known as "shared credential provisioning". "Implicit provisioning" is now known as "device credential provisioning". "HSM provisioning" was always a misnomer, so it is now refered to as "device credential provisioning with an HSM". This includes a bump of the aktualizr version as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: bump garage sign to version 0.7.0-3-gf5ba640.bump-garage-signPatrick Vacek2019-05-281-3/+3
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* OTA-2541: Switch to Aktualizr's version that supports IP Secondaries ↵feat/OTA-2541/preconfigured-secondariesMike Sul2019-05-271-1/+1
| | | | | | preconfig and its tests Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Use local.conf's variables to configure Primary with ↵Mike Sul2019-05-271-8/+0
| | | | | | Secondary(ies) and vice versa Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Remove Secondary's socket service. Use a regular systemd service ↵Mike Sul2019-05-273-11/+6
| | | | | | to start Seconadry daemon Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Network configuration on IP/Posix SecondaryMike Sul2019-05-271-0/+8
| | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* aktualizr-polling-interval: new config fragment.feat/test-polling-intervalPatrick Vacek2019-05-242-0/+31
| | | | | | | | | Can be used for testing purposes after we increase the default polling interval in aktualizr. We no longer recommend anything less than an hour for production use cases, but it's still convenient to poll more frequently while testing. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Make aktualizr-ptest depend on python3-miscLaurent Bonnans2019-05-071-1/+1
| | | | | | Some of our tests use pathlib which ends up in there... Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: Remove aktualizr-check-discovery dependency.Patrick Vacek2019-04-291-2/+1
| | | | | | It no longer exists. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Bump to latest for recovery fixes.Patrick Vacek2019-04-291-1/+1
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Bump aktualizr and garage toolstest/oe-selftest-ptestLaurent Bonnans2019-04-151-4/+4
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Use PARALLEL_MAKE when building aktualizr-ptestLaurent Bonnans2019-04-101-1/+1
| | | | | | | The trick to add it in do_compile from cmake.bbclass does not work with do_compile_ptest_base Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Parametrizable AKTUALIZR_PTEST_PARALLEL_LEVELLaurent Bonnans2019-04-101-2/+4
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add openssl-bin as a aktualizr-ptest requirementLaurent Bonnans2019-04-101-1/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add aktualizr-resource-controlLaurent Bonnans2019-03-132-1/+31
| | | | | | For controlling systemd cgroups configuration of the aktualizr daemon Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Set 'allarch' to aktualizr config recipesLaurent Bonnans2019-03-139-1/+19
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Save space in deployed aktualizr ptesttest/OTA-2137/ptest-runLaurent Bonnans2019-03-121-2/+5
| | | | | | | | | * remove whole RIOT repo * remove intermediary static libraries, only useful during build Should be around 500MB saving in total Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Depend on python3-modules and curl for aktualizr-ptestLaurent Bonnans2019-03-121-1/+1
| | | | | | | For python: less headaches, it's already huge anyway. Curl is needed by some shell-backed tests. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Disable ptest for aktualizr by defaultLaurent Bonnans2019-03-121-0/+4
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add working ptest suite for aktualizrLaurent Bonnans2019-03-122-1/+33
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: draft of enabling ptestPatrick Vacek2019-03-121-1/+6
| | | | | | | | | Original work from Patrick. Laurent: dropped a patch for a change in aktualizr we now support directly Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Bump aktualizrLaurent Bonnans2019-03-121-1/+1
| | | | | | With necessary changes for ptest! Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Use 'printf' instead of 'echo -e'fix/bad-echoLaurent Bonnans2019-03-111-2/+2
| | | | | | Should be less surprising Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: use echo -e when using escape sequencesStefan Agner2019-03-091-2/+2
| | | | | | | | | Some shell require the -e argument when using escape sequences in echo. This has been observed when building images on a Fedora machine, where the configuration files ended up including "\n" sequences instead of newlines. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* Merge pull request #503 from liuming50/fix-fit-conf-packagePatrick Vacek2019-03-071-0/+2
|\ | | | | fit-conf: se PACKAGE_ARCH to ${MACHINE_ARCH}
| * fit-conf: se PACKAGE_ARCH to ${MACHINE_ARCH}Ming Liu2019-03-041-0/+2
| | | | | | | | | | | | | | fit-conf should be a machine specific package instead of being a arch specific package. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* | Simplify garage-sign fetching for aktualizrfix/garage-sign-cachingLaurent Bonnans2019-03-042-41/+7
| | | | | | | | | | | | | | | | | | Two modes: - `GARAGE_SIGN_AUTOVERSION=0`: use archive and version from aktualizr's recipe - `GARAGE_SIGN_AUTOVERSION=1`: let aktualizr fetching it automatically Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Bump aktualizr to last masterLaurent Bonnans2019-03-041-1/+1
|/ | | | | | Includes the new way of fetching garage-signa. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #499 from agners/move-warningPatrick Vacek2019-02-282-3/+4
|\ | | | | Move warning about insecure practise to the correct recipe
| * Move warning about insecure practise to the correct recipeStefan Agner2019-02-272-3/+4
| | | | | | | | | | | | | | | | When SOTA_DEPLOY_CREDENTIALS got introduced deployment of the provisioning credientials has been moved to aktualizr-ca-implicit-prov-creds. Move the warning accordingly. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* | README: document auto-reboot config feature.doc/auto-reboot-configPatrick Vacek2019-02-271-1/+1
|/ | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Suggested-by: Ben Luck <benjamin.luck@here.com>
* Switch to the aktualizr's master headfix/dont-send-mnfst-if-pending-updtsMike Sul2019-02-261-1/+1
| | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* Merge pull request #490 from advancedtelematic/fix/rm-api-gateway-urlPatrick Vacek2019-02-251-1/+6
|\ | | | | aktualizr-auto-prov-creds: remove API Gateway URL if it exists.
| * aktualizr-auto-prov-creds: remove API Gateway URL if it exists.fix/rm-api-gateway-urlPatrick Vacek2019-02-211-1/+6
| | | | | | | | | | | | It will only be used by garage-sign. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge branch 'master' into feat/OTA-2135/auto-rebootfeat/OTA-2135/auto-rebootmike-sul2019-02-211-0/+1
|\|
| * Bump aktualizrbugfix/OTA-1436/secondary-resultsLaurent Bonnans2019-02-111-1/+1
| | | | | | | | | | | | | | To 2aa9d93ccea09ec327789eecf858de561ef632da, which changed the installation result reporting format Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | OTA-2135: Switch to the aktualizr verison that includes the auto reboot ↵Mike Sul2019-02-211-1/+1
| | | | | | | | | | | | functionality Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* | OTA-2135: Aktualizr's config and recipe to auto reboot just after updateMike Sul2019-02-192-0/+23
|/ | | | Signed-off-by: Mike Sul <mykhaylo.sul@innoteka.com>
* aktualizr: split binaries to their own packagesMing Liu2019-02-061-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | This patch mainly aims to fix the following issues: - ${libdir}/sota/conf.d is being put into aktualizr package, but ${libdir}/sota/*.toml is being put into aktualizr-host-tools, this does not make sense, if a end user only install aktualizr-host-tools to a target, he will miss the config files in ${libdir}/sota/conf.d. - A user should be able to install garage-deploy garage-push to a board if he wants to do that by choosing building aktualizr with sota-tools, but now it's not in that case, garage-deploy garage-push are only available for native. - It's not necessary to distinguish native/target when installing systemd services, they will be dropped by sstate from native sysroot any way. - It would be better that all binaries to be put into their own packages, so a end user can choose to install a package only with one binary, rather than having to install the entire aktualizr-host-tools. Introduce per-binary based packages for host tools, and gather all config files to aktualizr-configs, it will be depended by binary packages and main aktualizr package. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* aktualizr: introduce PACKAGECONFIGMing Liu2019-02-061-24/+20
| | | | | | | | | | | | | | | | | | | There are several flaws in current aktualizr recipe: - It builds with 'BUILD_SYSTEMD=ON' by default but does not set DEPENDS to systemd, this is not leading to compilation errors so far because systemd is deployed into recipe sysroot by ostree if 'systemd' exists in DISTRO_FEATURES, but in other cases, it will cause compilation errors. - GARAGE_SIGN_SHA256 is being passed to EXTRA_OECMAKE even it's not set anythere, this will lead a wrong GARAGE_SIGN_SHA256_ARG to be set in cmake files. - pkgconfig is being called in aktualizr CMakeFile, so it needs inherit pkgconfig.bbclass To fix the above flaws, meanwhile to keep the code cleaner, we introduce PACKAGECONFIG to handle the configurations. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* aktualizr: drop duplicated file from FILES_${PN}Ming Liu2019-02-061-1/+0
| | | | | | | "${bindir}/aktualizr-check-discovery" is being set in both FILES_${PN} and FILES_${PN}-tools, drop it from FILES_${PN}. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Add support for device tree overlays in FIT imagesfeat/fit-dtboAnton Gerasimov2019-02-051-0/+22
| | | | Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
* aktualizr: bump to latest 1cad6d10286ade64b24021ca0e23de0d3b64f520Laurent Bonnans2019-01-281-1/+1
| | | | | | | | | - OStree installations are considered complete after a reboot under the new version - image downloads are not parallelized anymore - various enhancements and bug fixes Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>