In my Yocto build I have to build different images for the same machine. The problem I am facing is that when I build one images, all the artifacts of the previous image are deleted from the deploy directory.
I have included INHERIT += "rm_work"
in the local.conf
but I don't think this is causing issues, as I have also added RM_WORK_EXCLUDE += " ${IMAGE_NAMES}"