From 63fa18d4b6618e82f0ee16051a9d6c1824c72f55 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Wed, 11 Sep 2019 16:23:48 +0200 Subject: [PATCH 1/2] Fix RPi image name and remove broken/redundant link. I was going to fix the link, but it was already right below that line, and the whole sentence was unnecessary anyway. Signed-off-by: Patrick Vacek --- .../ROOT/pages/add-ota-functonality-existing-yocto-project.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ota-client-guide/modules/ROOT/pages/add-ota-functonality-existing-yocto-project.adoc b/docs/ota-client-guide/modules/ROOT/pages/add-ota-functonality-existing-yocto-project.adoc index 620254f5c6..88609e890b 100644 --- a/docs/ota-client-guide/modules/ROOT/pages/add-ota-functonality-existing-yocto-project.adoc +++ b/docs/ota-client-guide/modules/ROOT/pages/add-ota-functonality-existing-yocto-project.adoc @@ -20,7 +20,7 @@ If you already have a Yocto-based project that you want to update using {product 3. Set up your https://www.yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#var-DISTRO[distro]. If you are using "poky", the default distro in Yocto, you can change it in your conf/local.conf to "poky-sota". Alternatively, if you are using your own or a third-party distro configuration, you can add `INHERIT += " sota"` to it, thus combining the capabilities of your distro with meta-updater features. 4. {app-url}/#/profile/access-keys[Create a provisioning key, window="_blank"] and add it to your local.conf. -You can then build your image as usual, with bitbake. After building the root file system, bitbake will then create an https://ostree.readthedocs.io/en/latest/manual/adapting-existing/[OSTree-enabled version] of it, commit it to your local OSTree repo, and push it to OTA Connect. Additionally, a live disk image will be created (normally named `$\{IMAGE_NAME}.-sdimg-ota` e.g. `core-image-raspberrypi3.rpi-sdimg-ota`). You can control this behavior through xref:add-ota-functonality-existing-yocto-project.adoc#_sota_related_variables_in_local_conf[OTA Connect-related variables in your local.conf]. +You can then build your image as usual, with bitbake. After building the root file system, bitbake will then create an https://ostree.readthedocs.io/en/latest/manual/adapting-existing/[OSTree-enabled version] of it, commit it to your local OSTree repo, and push it to OTA Connect. Additionally, a live disk image will be created (normally named `$\{IMAGE_NAME}.wic` e.g. `core-image-minimal-raspberrypi3.wic`). See also: From 257d8d1f251ccff5e290ed84a7ad8972af680b13 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Wed, 11 Sep 2019 16:25:00 +0200 Subject: [PATCH 2/2] That page is no longer a partial page. Signed-off-by: Patrick Vacek --- .../modules/ROOT/pages/build-configuration.adoc | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/ota-client-guide/modules/ROOT/pages/build-configuration.adoc b/docs/ota-client-guide/modules/ROOT/pages/build-configuration.adoc index d06cf3875f..44595bbdbf 100644 --- a/docs/ota-client-guide/modules/ROOT/pages/build-configuration.adoc +++ b/docs/ota-client-guide/modules/ROOT/pages/build-configuration.adoc @@ -7,9 +7,6 @@ We recommend that you link:https://docs.ota.here.com/ota-client/latest/{docname} ==== endif::[] -:page-partial: -// MC: Included in aktualizr/docs/ota-client-guide/modules/ROOT/pages/build-configuration.adoc - .OTA-related options for building disk images [cols="1,2a",options="header"] |====================