I'm assuming separating development and release builds
is a fairly common use case.
The release build would be something like:
- has all the funcions for production
- attack surface is limited (no ssh, only the required apps)
- config files set with real endpoints (logging or crash servers etc.)
But that's not an image you can really develop on given all the constrains.
So there is also a need for a development image:
- inherits the funcions available on production image
- developer convinence over security (debuggers, ssh access etc.)
- configs set not to depend on payed cloud services
Our curent approach is to solve this by having two different
* Simple to implement (dev inherits production and just adds packages)
* You can build both at the same time with the same version
* They have the same runtime name (cause they are the same distro)
* Separating config files is not yet clear
(one way to have two versions of recipes, which was a lot of
Now we're chacking how to solve it by introducing external
How did you apprach it?
Would like to hear you ideas and from the field experiences.
yocto mailing list