summaryrefslogtreecommitdiffstats
path: root/recipes-sota
Commit message (Collapse)AuthorAgeFilesLines
* README: document auto-reboot config feature.backport/rocko/auto-reboot-etcPatrick 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 headMike Sul2019-02-261-1/+1
| | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* aktualizr-auto-prov-creds: remove API Gateway URL if it exists.Patrick Vacek2019-02-261-1/+6
| | | | | | It will only be used by garage-sign. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* OTA-2135: Aktualizr's config and recipe to auto reboot just after updateMike Sul2019-02-262-0/+23
| | | | Signed-off-by: Mike Sul <mykhaylo.sul@innoteka.com>
* ostree: upgrade to v2018.9Ricardo Salveti2019-02-201-2/+3
| | | | | | | | | | Update libostree to the v2018.9 release. Upstream release notes since v2018.7: - https://github.com/ostreedev/ostree/releases/tag/v2018.8 - https://github.com/ostreedev/ostree/releases/tag/v2018.9 Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* aktualizr and image_types_ota: more curly braces.Patrick Vacek2019-02-201-2/+2
| | | | | | | | Just trying to be careful and consistent. I didn't change every variable in places where it seemed like it was obvious that we were dealing with purely local variables. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* meta: replace bberror with bbfatalMing Liu2019-02-201-1/+1
| | | | | | | | | When calling bbfatal, it reports error message and exit 1, it should be used to replace of 'bberror && exit 1' to avoid being redundant. Also fixed some incorrect bberror usages and typos. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #477 from ↵Ben Luck2019-02-191-1/+1
|\ | | | | | | | | advancedtelematic/bugfix/OTA-1436/rocko-secondary-results Bump aktualizr (rocko)
| * Bump aktualizrbugfix/OTA-1436/rocko-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>
* | 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-25/+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-291-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).feat/rocko/hardware-id-etcPatrick 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-291-1/+1
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Allow setup custom hardware_idSerhiy Stetskovych2018-11-291-0/+4
| | | | Signed-off-by: Serhiy Stetskovych <patriotyk@gmail.com>
* aktualizr: Bump to latest and fix names.Patrick Vacek2018-11-292-6/+6
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* aktualizr: use config instead of environment variables.fix/rocko/newline-etcPatrick Vacek2018-11-137-14/+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-133-10/+11
| | | | | | | | 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.Patrick Vacek2018-10-291-2/+1
| | | | Bump to the latest version as well.
* Remove aktualizr hacks related to ubuntu supportLaurent Bonnans2018-10-291-4/+2
|
* Update aktualizr example secondary config pathLaurent Bonnans2018-10-291-3/+3
|
* ostree: drop libgsystem dependencyStefan Agner2018-10-291-1/+1
| | | | | | | OSTree removed libgsystem dependency since v2016.8. Drop it from the OSTree recipe too. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* aktualizr: remove BUILD_ISTOP flag.Patrick Vacek2018-10-291-1/+0
|
* aktualizr: remove example-interface.Patrick Vacek2018-10-293-26/+1
|
* ostree: Correction: it depends on bison-native for configuration.refactor/backport-ostree-upgrade-rockoPatrick Vacek2018-10-101-1/+1
|
* ostree: add missing bison dependency.Patrick Vacek2018-10-101-1/+1
|
* ostree: upgrade to v2018.7+Ricardo Salveti2018-10-101-4/+3
| | | | | | | | | | | | | | | | | | Upgrade OSTree to a git revision ahead of the v2018.7 release in order to include additional memory leak fixes. Upstream release notes since v2017.13+: - https://github.com/ostreedev/ostree/releases/tag/v2017.14 - https://github.com/ostreedev/ostree/releases/tag/v2017.15 - https://github.com/ostreedev/ostree/releases/tag/v2018.1 - https://github.com/ostreedev/ostree/releases/tag/v2018.2 - https://github.com/ostreedev/ostree/releases/tag/v2018.3 - https://github.com/ostreedev/ostree/releases/tag/v2018.4 - https://github.com/ostreedev/ostree/releases/tag/v2018.5 - https://github.com/ostreedev/ostree/releases/tag/v2018.6 - https://github.com/ostreedev/ostree/releases/tag/v2018.7 Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* ostree: improve package split logic and define extra packagesRicardo Salveti2018-10-101-17/+17
| | | | | | | Define extra packages to cover the bash-completion and dracut related files, as they are not necessarily required by ostree. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: improve systemd dependency checksRicardo Salveti2018-10-101-17/+5
| | | | | | | | No need to define SYSTEMD_REQUIRED and no need to manually install the service files, as that is already handled by ostree and the systemd bbclass. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: cleanup depends and rdependsRicardo Salveti2018-10-101-3/+2
| | | | | | | | Remove gtk-doc-native from DEPENDS and also remove util-linux-* packages from RDEPENDS as the dependencies for the required libraries are already populated by OE. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: no need to disable systemd when building nativeRicardo Salveti2018-10-101-7/+0
| | | | | | | | Maintaining different build flags for target and native just makes it harder to maintain the recipe and it is not really needed as systemd-native is already available for systems building systemd. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: cleanup configure and build flagsRicardo Salveti2018-10-101-1/+2
| | | | | | | | Set the standard CFLAGS variable instead of defining it via EXTRA_OECONF and also remove the configure flags that are automatically enabled based on the build depends. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: use do_configure_prepend and avoid customizing do_compileRicardo Salveti2018-10-101-7/+3
| | | | | | | Prefer prepend (autogen) and also avoid customizing do_compile as exporting BUILD_SYS and HOST_SYS is already enough. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: fix license and add homepage descriptionRicardo Salveti2018-10-101-1/+2
| | | | | | Ostree is LGPLv2+ and not GPLv2+. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: cosmetics: fix indentationRicardo Salveti2018-10-101-11/+10
| | | | Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* aktualizr: bump to latest.feat/import-installed-versions-rockoPatrick Vacek2018-10-021-1/+1
| | | | Includes test fixes and async downloads.
* Fixes for oe-selftestAnton Gerasimov2018-10-024-5/+4
|
* Add SOTA_DEPLOY_CREDENTIALS variable to control whether the built image ↵Anton Gerasimov2018-10-027-103/+87
| | | | should be provisioned
* aktualizr-uboot-env-rollback: Use generic MPL-2.0 license.Patrick Vacek2018-10-021-5/+1
|
* aktualizr tools: use generic MPL license instead of our own copy.Patrick Vacek2018-10-029-766/+11
|
* aktualizr: bump to latest for campaign and test fixes.Patrick Vacek2018-09-211-1/+1
|
* Update `installed_versions` passing to new locationLaurent Bonnans2018-09-211-1/+1
|
* softhsm-testtoken: Update paths for token import.Patrick Vacek2018-09-211-1/+1
| | | | And bump aktualizr recipe
* Merge pull request #377 from advancedtelematic/bugfix/lshw-aktualizr-etc-rockoBen Luck2018-09-041-1/+1
|\ | | | | | | | | | | Bugfix/lshw aktualizr etc rocko @patrickvacek Looks good to me :)
| * aktualizr: bump to latest (062ab7756c375ee2c913d3197cafe4ee2f97ef2a).bugfix/lshw-aktualizr-etc-rockoPatrick Vacek2018-09-031-1/+1
| | | | | | | | Includes fixes for Ubuntu 18.04.
| * aktualizr: bump to latest version (fad299b846b9c1b58a9c1f715f4c26c69610d02c).Patrick Vacek2018-08-311-1/+1
| |
* | Remove aktualizr dep on u-boot-fw-utils in generalfix/u-boot-fw-utils-dependLaurent Bonnans2018-08-231-2/+1
|/ | | | Should only be needed when using the u-boot env rollback feature