Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1348 from advancedtelematic/docs/rpi-image-name
Browse files Browse the repository at this point in the history
Docs/rpi image name
  • Loading branch information
pattivacek authored Sep 11, 2019
2 parents 2862155 + 257d8d1 commit 46fbf64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
|====================
Expand Down

0 comments on commit 46fbf64

Please sign in to comment.