struct image_version {
    uint8_t iv_major;
    uint8_t iv_minor;
    uint16_t iv_revision;
    uint32_t iv_build_num;
};
I realize this isn't the same struct used in the newt and newtmgr tools, but I assume the same uint32_t constraints are valid.

If a magic number of some sort is defined, perhaps it makes sense to use that in images to flag them as pre-releases as well? I guess that should be user-defined behaviour, but it would perhaps have implications with newt and newtmgr when working with images.

Is there a way to flag an image as pre-release or 'not for production' today (which also makes me wonder about perhaps having an expiration date but this is getting way off topic from the original thread)?

Reply via email to