you might need to contact distributor to get a tool to enlarge the legato partition in order to install your legato.cwe
Or you can just install the .update file which will install the application in userapp partition
Another option is to embed your .update file in yocto.cwe, and install it in runtime: