image_types_ota: remove explicit IMAGE_FSTYPES check
OpenEmbedded makes sure that IMAGE_CMD_type gets only called if the
type is in IMAGE_FSTYPE. There is no need to explicitly check for it.
@@ -159,18 +159,11 @@ create_ota () {
}
IMAGE_CMD_ota-ext4 () {
-
- if ${@bb.utils.contains('IMAGE_FSTYPES', 'ota-ext4', 'true', 'false', d)}; then
- # create ext4
create_ota "ext4"
- fi
}
IMAGE_CMD_ota-tar () {
- if ${@bb.utils.contains('IMAGE_FSTYPES', 'ota-tar', 'true', 'false', d)}; then
- # create tarball
create_ota "tar"
- fi
}
do_otasetup[doc] = "Sets up the base ota rootfs used for subsequent image generation"
