Closed atharvanan1 closed 4 years ago
Azure has a Yocto layer! This should install the runtime environment needed for iotedge. I am working on adding this layer to a Yocto build to test it out.
Tested with a build for Azure Yocto Layers - needs validation
Facing some issue with building the application. Possibly, there is an error in our makefile configuration, or the proprietary libraries have some error that needs to be patched.
Currently blocked - it looks like meta-iot-cloud layer might not be building the azure iot sdk quite right. The build of that layer succeeds, but when we try to build our app based on the libraries that got installed, there are some build errors (looks like include path errors)
Developed a CMake based compilation solution to fix include path errors.
Blocker: Compilation gives linker error, as certain libraries are not present
Libraries not present:
prov_auth_client
hsm_security_client
parson
uhttp
These libraries are not present in sysroot
A solution seems to be adding individual recipes for building these libraries. Dan had tried using a patch to modify how the meta-iot-cloud recipes built everything, however it ran into an issue - link.
His suggestion was to build each libraries individually, so we will now try to integrate that into our solution
Further progress was made. Identified three methods to solve this problem:
azure_app builds and is present in rootfs with 5517f162ee7d42902146bf4a508b04a05cdc88ec
Add applications from Application Repository. Set them up as per hello-world recipe.
DoD: Applications are present in rootfs. They run as intended and pass the tests.
Blocker: #2 #3 (resolved)