The current ST's .bbclass files do not really checks if
ENABLE_PARTITIONS_IMAGE and ENABLE_FLASHLAYOUT_CONFIG are unset.
This silently breaks third-party distributions that use
their own partitions layout and root directory structures.
Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>
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>