Skip to content

Commit

Permalink
readme: Add section guiding testing on devices
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Detsch <[email protected]>
  • Loading branch information
detsch committed Nov 21, 2024
1 parent 4acec0a commit daf5045
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,18 @@ done
Aktualizr-lite provides an API that can be used for creating a custom update client.
An example of such client is available at https://github.com/foundriesio/sotactl
### Testing Changes on Device
The easiest way to build an aktualizr-lite executable that is compatible with the LmP environment used in a device
is to use `bitbake` in conjunction with the Yocto layers from the device's Factory.
In order to use a local source tree during build, a custom bitbake workflow can be employed, as described in
https://foundries.io/insights/blog/yocto-hack-for-everyone/.

When dealing with hardware independent logic,
the recommended way of testing is using the [containerized development environment](#development-and-testing-in-containerized-environment).
Alternatively, a Qemu environment can also be used.
The specific instructions on use of Qemu as a FoundriesFactory device varies according to the architecture in use:
- [X86-64](https://docs.foundries.io/94/user-guide/qemu/x86_64.html)
- [ARM64](https://docs.foundries.io/94/user-guide/qemu/arm64.html)
- [ARM](https://docs.foundries.io/94/user-guide/qemu/arm.html)

0 comments on commit daf5045

Please sign in to comment.