Custom Image Type
I ran into a problem with a custom image type class. I called the class image_types_ota.bbclass.
When I try to use it I am getting these error messages for two predefined image recipes (but only for these two, for any other image recipe it is fine):
ERROR: /develop/projects/tcu/build/../poky/meta/recipes-rt/images/core-image-rt-sdk.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ota' - possibly invalid type name or missing support class
ERROR: /develop/projects/tcu/build/../meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-base.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ota' - possibly invalid type name or missing support class
ERROR: Failed to parse recipe: /develop/projects/tcu/build/../poky/meta/recipes-rt/images/core-image-rt-sdk.bb
I have no idea what in these two image recipes could trigger this error message.
Thanks,
Rudi
Quoted 19 lines · Rudolf J Streif
I ran into a problem with a custom image type class. I called the class image_types_ota.bbclass.
When I try to use it I am getting these error messages for two predefined image recipes (but only for these two, for any other image recipe it is fine):
ERROR:
/develop/projects/tcu/build/../poky/meta/recipes-rt/images/core-image-rt-sdk.bb:
NoIMAGE_CMDdefined forIMAGE_FSTYPESentry 'ota' - possibly invalid
type name or missing support class
ERROR:
/develop/projects/tcu/build/../meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-base.bb:
NoIMAGE_CMDdefined forIMAGE_FSTYPESentry 'ota' - possibly invalid
type name or missing support class
ERROR: Failed to parse recipe:
/develop/projects/tcu/build/../poky/meta/recipes-rt/images/core-image-rt-sdk.bb
Quoted 3 lines
I have no idea what in these two image recipes could trigger this error message.
hard to tell without knowing how ota class is being plugged in or what its content is.
Do you define IMAGE_FSTYPES:ota ... somewhere ?
Quoted 13 lines
Thanks,
Rudi-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56327): https://lists.yoctoproject.org/g/yocto/message/56327
Mute This Topic: https://lists.yoctoproject.org/mt/89469318/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Thanks, Khem.
Quoted 20 lines · Khem Raj
Quoted 18 lines · Rudolf J Streif
I ran into a problem with a custom image type class. I called the class image_types_ota.bbclass.
When I try to use it I am getting these error messages for two predefined image recipes (but only for these two, for any other image recipe it is fine):
ERROR:
/develop/projects/tcu/build/../poky/meta/recipes-rt/images/core-image-rt-sdk.bb:
NoIMAGE_CMDdefined forIMAGE_FSTYPESentry 'ota' - possibly invalid
type name or missing support class
ERROR:
/develop/projects/tcu/build/../meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-base.bb:
NoIMAGE_CMDdefined forIMAGE_FSTYPESentry 'ota' - possibly invalid
type name or missing support class
ERROR: Failed to parse recipe:
/develop/projects/tcu/build/../poky/meta/recipes-rt/images/core-image-rt-sdk.bb
Quoted 6 lines
Quoted 3 lines
I have no idea what in these two image recipes could trigger this error message.
hard to tell without knowing how ota class is being plugged in or what its content is.
Do you define IMAGE_FSTYPES:ota ... somewhere ?
The image class defines IMAGE_CMD. There is not much to it for now:
OTA_ROOTFS_MD5 ?= "rootfs.md5"
IMAGE_CMD:ota () {
build_ota="${WORKDIR}/build-ota"
# rootfs
md5sum ${IMAGE_ROOTFS} > ${build_ota}/OTA_ROOTFS_MD5
}What I don't see is why these two are the only image recipes this is occurring with. All the other image recipes do not throw a parser error.
Quoted 13 lines
Quoted 13 lines
Thanks,
Rudi-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56327): https://lists.yoctoproject.org/g/yocto/message/56327
Mute This Topic: https://lists.yoctoproject.org/mt/89469318/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700