In my layer I've defined a separate image for development and a separate one for production, eg myimage-dbg.bb and myimage.bb The difference between them is that the devel one has extra packages installed. So, if you want to build a development image you build the `myimage-dbg` image, else the other one. Now, for production images, I want to disable the serial console login, this is controlled by the SERIAL_CONSOLES variable and is specified in the machine.conf file, so this cannot be added to the image recipes. In order to keep things as simple as I can, and make the choice only once (devel vs production), I want to avoid creating separate machine.conf files for development and production, eg mymachine.conf and mymachine-dbg.conf.

Do you have any suggestion on what's the best and approach ?

Thanks

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to