summaryrefslogtreecommitdiffstats
path: root/recipes-sota
Commit message (Collapse)AuthorAgeFilesLines
* Bump Aktualizr versionPhil Wise2018-06-201-1/+1
|
* aktualizr-*-prov: read config files from STAGING_DIR_HOST.Patrick Vacek2018-06-193-10/+7
| | | | | | | | | | STAGING_DIR_NATIVE does not get populated as I had previously believed. Native recipes do not get packaged, so although we want to use a native executable, we need to get the config files from the aktualizr-host-tools package built by the aktualizr (target) recipe. Thanks to Andre McCurdy and Khem Raj for insight on how to get this right.
* aktualizr-auto-prov: Remove redundant '.toml'.Patrick Vacek2018-06-191-2/+2
|
* Merge pull request #341 from advancedtelematic/fix/testsPatrick Vacek2018-06-153-4/+9
|\ | | | | Compatibility with latest aktualizr
| * Compatibility with latest aktualizrPhil Wise2018-06-153-4/+9
| | | | | | | | Note that the HsmTests still sometimes fail
* | ostree: improve package split logic and define extra packagesRicardo Salveti2018-06-121-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-06-121-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-06-121-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-06-121-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-06-121-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-06-121-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-06-121-1/+2
| | | | | | | | | | | | Ostree is LGPLv2+ and not GPLv2+. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* | ostree: cosmetics: fix indentationRicardo Salveti2018-06-121-11/+10
|/ | | | Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* Bugfix: strip whitespace and newlines from tuf URL in credentials.zipJon Oster2018-06-121-1/+1
|
* Merge remote-tracking branch 'github/rocko' into ↵Patrick Vacek2018-06-042-1/+2
|\ | | | | | | bugfix/implicit-and-certs-master
| * Bump PR to flush old sstate caches that were built in-treePhil Wise2018-06-011-1/+1
| | | | | | | | | | | | The change that removes autotools-brokensep breaks people who have old sstate caches that were built in-tree. Bump the PR to flush these out of the system.
| * Get ready for aktualizr-repo toolPhil Wise2018-06-011-0/+1
| |
* | aktualizr: Upgrade to use simplified implicit_writer config.Patrick Vacek2018-06-045-10/+20
| | | | | | | | | | | | | | | | There is no longer a need for dumping the whole config, now we can just add what we need to a new config file and use that in addition to the base config. This simplifies several things and fixes a few bugs. Also renamed the configs to make provenance a little clearer.
* | aktualizr_*.bb: Minor formatting and fixes.Patrick Vacek2018-06-045-7/+8
|/ | | | | | | | Move HSM dependencies to aktualizr recipe, since it's aktualizr that can depend on HSM support, not the provisioning prepartion. Remove references to systemd in provisioning recipes, since they have nothing to do with systemd.
* ostree: Don't use autotools-brokensep.Patrick Vacek2018-05-231-2/+2
| | | | | The only reason we needed it was because of a relative path that I've now made absolute.
* Merge pull request #313 from advancedtelematic/fix/qa-shipped-fileslbonn2018-05-175-2/+6
|\ | | | | Review shipped directories in aktualizr recipes
| * Review shipped directories in aktualizr recipesLaurent Bonnans2018-05-175-2/+6
| | | | | | | | Missing directories in FILES_xx were causing bitbake QA errors on sumo
* | Remove aktualizr-common because schemas are embeddedPhil Wise2018-05-171-10/+2
|/
* Move log-debug from 90 to 05.Patrick Vacek2018-05-172-3/+3
| | | | | | This way it will probably the first config read, meaning it will be applied earlier in the config processing flow. It still means that at the moment, no message about reading the log-debug.toml appears, though.
* aktualizr_git: remove duplicate installsLaurent Bonnans2018-05-161-7/+2
| | | | | If it's in `do_install_append`, no need to also put it in `do_install_append_class-native`
* ostree: remove python from rdependsRicardo Salveti2018-05-161-2/+1
| | | | | | | Python is not needed by ostree itself (no script or utility using python), so remove it from the rdepends list. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* ostree: fix systemd service files permissionRicardo Salveti2018-05-151-2/+2
| | | | | | | | | Fix the following boot warning: systemd[1]: Configuration file /usr/lib/systemd/system/ostree-remount.service is marked executable. Please remove executable permission bits. Proceeding anyway. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* aktualizr: include default configs as part of host-toolsRicardo Salveti2018-05-111-0/+10
| | | | | | | Provide the default sota configs as part of host-tools so they can be used by aktualizr_cert_provider and aktualizr_implicit_writer. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* Bump Aktualizr version to get P11 fixesPhil Wise2018-05-111-1/+1
|
* Put extra configs in their own files.Patrick Vacek2018-05-096-3/+12
| | | | | | This is more reliable and readable than just dumping things with echo. Plus it is easier for setting permissions, and it fixes some obscure problem with line endings that only happens on shovel.
* Bump aktualizr. Don't build load tests.Patrick Vacek2018-05-081-2/+3
|
* 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.
* 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-035-9/+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.
* Bump Aktualizr to get PRO-5211 Report network infoPhil Wise2018-04-231-1/+1
|
* Decode bytes.Patrick Vacek2018-04-131-1/+1
|
* 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.
* Assorted minor cleanup and formatting.Patrick Vacek2018-03-293-2/+4
| | | | | | 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
* Bump aktualizrLaurent Bonnans2018-03-281-1/+1
| | | | Needed to work with the addition of aktualizr-check-discovery
* Add aktualizr-check-discovery to shipped filesLaurent Bonnans2018-03-281-0/+1
|
* Add SOTA client feature to enable secondary networkPhil Wise2018-03-272-2/+5
| | | | Also add a test for the 'primary-image'
* 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-231-0/+1
| | | | Also, timeout communication to the DUT after 60s.
* Add systemd socket activation for secondaryPhil Wise2018-03-143-1/+28
|
* Add secondary-image to meta-updaterPhil Wise2018-03-141-18/+24
| | | | | | 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 remote-tracking branch 'ats/pyro' into test/PRO-4481/hsm-rockoPatrick Vacek2018-02-271-2/+2
|\ | | | | | | Bring in updates to oe-selftest.