I am trying to bake one of my apps into the legato OS so that I can create a .CWE and replace the base OS with a modified version that includes my app.
I can compile the app and install it via an update but I would like to be able to have this app be installed, should the legato system be marked as bad - resulting in a rollback. I want the rollback to include my app.
I can successfully compile and get the CWE file if I do not include my app in the default.sdef file - which shows that the OS is compiling to an image correctly without the new app.
Upon adding the path to the app folder unders the apps section of the default.sdef file and trying to compile, I get an error as follows:
error: Can’t find definition file (assetData.adef) or binary app (assetData.wp77xx.app) for app specification ‘/home/mangoh/.leaf/wp77-legato_20.04.0-202004151904/apps/ED2/assetData’.
Note: Looked in the following places:
‘modules/WiFi’
Why cant the assetData.adef or app specification be found?
Why is it looking in modules/WiFi, and how can I expand this to look where it needs to look?