InitRamfs x86_64 producing mender files

When creating a yocto x86_64 image with mender i get duplicate images created in deploy folder prefixed core-image-minimal-initramfs* as well as the normal images. surely this isnt required as INITRAMFS_FSTYPES only contains “cpio.gz”.

How can i stop this as its uses twice the storage size.

Found the problem, I stupidly has the mender features enable and disable declarations in the machine.conf, when it should be in my image recipe bb file so that they don’t also get applied to core-image-minimal-initramfs IMAGE_FSTYPES

Unfortunately on clean build and retest this creates an image that only boots to grub so it seems like i cannot have the mender enable disable declarations in the image recipe. Hence i’m back to having large mender image file for the core-image-minimal-initramfs and core-image-minimal.
Is there a specific way that i can stop mender creating its files for the core-image-minimal-initramfs image