Where is the location of bitbake script command to create and save rootfs.ubifs file

Hi,

I have ccimx6ulsbc dev board with dey-2.2r2 yocto

I want to save another copy of the images generated by bitbake. I have find xxx-boot.ubifs in the ./meta-digi/meta-digi-arm/classes/image_types_digi.bbclass
mkfs.ubifs …
but I have hard time to find the similar for the rootfs.ubifs, so I can generate another copy of the rootfs.ubifs file with a different name.

Thank you,

David Zhou

found:
./poky/meta/classes/image_types.bbclass
IMAGE_ROOTFS

David