There is a case that I bitbake my-image when INITRAMFS_IMAGE is my-image-initramfs. In this case my-image is a substring of my-image-initramfs, causing ST's flashlayout and partitions classes accidentally skip adding their tasks. This patch makes sure to use exact string match during variable checks. Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>