summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* 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-121-1/+17
| | | | 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>
* Simplify garage-sign fetching for aktualizrfix/garage-sign-cachingLaurent Bonnans2019-03-041-5/+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>
* 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 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>
* 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>
* 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>
* aktualizr: Bump to latest (d00d1a04cc2366d1a5f143b84b9f507f8bd32c44).Patrick Vacek2018-11-291-1/+1
| | | | | | Some OSTree improvements, reboot detection, retry failed downloads. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: fix hardware ID config section.Patrick Vacek2018-11-221-1/+1
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Allow setup custom hardware_idfeat/hardware_idSerhiy Stetskovych2018-11-221-0/+4
| | | | Signed-off-by: Serhiy Stetskovych <patriotyk@gmail.com>
* aktualizr: Bump to latest and fix names.Patrick Vacek2018-11-161-3/+3
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: use config instead of environment variables.fix/master/newline-etcPatrick Vacek2018-11-131-0/+1
| | | | | | | This should make the secondary config dir process better anyway, and it finally gets rid of a hacky workaround that we'd been using for ages. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: improve secondary config directory logic.Patrick Vacek2018-11-131-3/+7
| | | | | | Use -d and warn if directory is invalid. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Fix virtual secondary support.Patrick Vacek2018-11-131-0/+7
| | | | | | | | Use /etc/sota/ecus as using /var/sota/ecus was conflicting with the provisioning recipes that also use /var/sota. Not totally ideal, but the best compromise I could find. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: bump to latest for server URL newline fix.Patrick Vacek2018-11-091-1/+1
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: Remove implicit_writer. It is now unused.refactor/master/rm-implicit-writerPatrick Vacek2018-10-291-2/+1
| | | | Bump to the latest version as well.
* Remove aktualizr hacks related to ubuntu supportfix/secondaries-pathLaurent Bonnans2018-10-251-4/+2
|
* Update aktualizr example secondary config pathLaurent Bonnans2018-10-251-3/+3
|
* aktualizr: remove BUILD_ISTOP flag.refactor/remove-legacy-secondariesPatrick Vacek2018-10-091-1/+0
|
* aktualizr: remove example-interface.Patrick Vacek2018-10-091-3/+1
|
* aktualizr: bump to latest.Patrick Vacek2018-10-021-1/+1
| | | | Includes test fixes and async downloads.
* Fixes for oe-selftestfeat/OTA-719/nodeployAnton Gerasimov2018-10-011-4/+2
|
* Add SOTA_DEPLOY_CREDENTIALS variable to control whether the built image ↵Anton Gerasimov2018-10-011-5/+4
| | | | should be provisioned
* Remove aktualizr dep on u-boot-fw-utils in generalLaurent Bonnans2018-09-181-2/+1
| | | | Should only be needed when using the u-boot env rollback feature
* Add support for rollback on Raspberry PiAnton Gerasimov2018-09-181-0/+4
|
* Update `installed_versions` passing to new locationLaurent Bonnans2018-09-181-1/+1
|
* aktualizr: Latest version with fixed libp11 paths.fix/testtoken-openssl-binPatrick Vacek2018-09-171-1/+1
|
* softhsm-testtoken: Update paths for token import.refactor/OTA-900/hsm-prov-path-masterPatrick Vacek2018-09-141-1/+1
| | | | And bump aktualizr recipe
* aktualizr: bump to latest (062ab7756c375ee2c913d3197cafe4ee2f97ef2a).bugfix/aktualizr-etc-masterPatrick Vacek2018-09-031-1/+1
| | | | Includes fixes for Ubuntu 18.04.
* aktualizr: bump to latest version (fad299b846b9c1b58a9c1f715f4c26c69610d02c).Patrick Vacek2018-09-031-1/+1
|
* aktualizr: bump to latest for key rotation and storage updates.bugfix/unknown-signatures-masterPatrick Vacek2018-08-081-1/+1
| | | | | Work around a bug in oe-selftest with migration and aktualizr-info interplay by forcing --allow-migrate for now.
* Bump Aktualizr revision to fix HSM bugPhil Wise2018-08-021-1/+1
|
* aktualizr: bump to latest and accommodate hmi_stub.Patrick Vacek2018-07-261-1/+2
|
* aktualizr: bump to latest for PRO-H#3 sprint.Patrick Vacek2018-07-171-1/+1
|
* aktualizr: bump to latest (72abac76184c84b9a5beb0dfbb103a13b9bfb2ae).Patrick Vacek2018-07-061-1/+1
|
* aktualizr: Get latest for PRO-H#2 sprint.Patrick Vacek2018-07-021-1/+1
|
* Bump Aktualizr versionPhil Wise2018-06-201-1/+1
|
* Compatibility with latest aktualizrPhil Wise2018-06-151-2/+9
| | | | Note that the HsmTests still sometimes fail
* Merge remote-tracking branch 'github/rocko' into ↵Patrick Vacek2018-06-041-0/+1
|\ | | | | | | bugfix/implicit-and-certs-master