Is there an example for building an image of a directory that runs a script afterwards?

hey everyone,

There is a write up on how to create a directory module and how to enable the target device to receive to it.

There is also a write up on how to create a script executing module and how to enable the target device to receive to it.

I tried to combine both of these example into a single module that would download directory onto the target device and then it would run a script responsible for building binaries.

Does there exist an already designed module build script that accomplishes that or a tutorial/write up to do so?

regards

cp

Hi @ChocolatePie I’m not aware of anything that documents precisely that. I think your best approach is to use the directory module with an appropriate state script to do the building after the directory is installed.

Drew