I’m tracking down not being to install a mender artifact created with mender-artifact 3.5.0 with mender-client 2.1.2. All artifacts have always been created with v3 flag.
Previously using mender-client 2.1.2 with artifact created with mender-artifact 3.2.1 works fine
The error i’m seeing on installation is:
ERRO[0000] Reading headers failed: installer: failed to read Artifact: type_info provides values not yet supported module=standalone
DEBU[0000] statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds module=executor
ERRO[0000] installer: failed to read Artifact: type_info provides values not yet supported module=main
I am using --no-checksum-provide
argument passed to artifact creation process as per the docs.
One important difference seems to be that the type field in the type-info file is empty in the artifact created with 3.5.0 compared to the one created with 3.2.1, and my understanding was that this was a required field. Has something changed? Is it a bug.
I have tested the mender-artifact out of yocto tree and the empty field is reproducible.
the type-info file with mender-artifact 3.2.1:
{"type":"rootfs-image","artifact_depends":{},"artifact_provides":{}}
the type-info file with mender-artifact 3.5.0:
{"type":"","artifact_provides":{"rootfs-image.version":"TY-K-TURN_2_0.0.28-5"},"clears_artifact_provides":["artifact_group","rootfs_image_checksum","rootfs-image.*"]}
I have also testing with latest upstream mender-artifact master (3f3eaa8d6da4c4b7c80909004d3dd7d9dc9c4568) and empty field is still produced.