Specifying validation set sequence numbers at image build time

Hey,

It would be really useful to be able to specify a particular sequence of a validation-set at image build time, but without using the sequence number of the validation set in the model assertion itself. If you specify the sequence number in the model assertion the device is locked to that sequence forever, which isn’t desirable for my purposes.

Right now, ubuntu-image just get’s the most recent sequence if no sequence is specified. I’m wondering if a patch that allows specifying a validation-set name and number [ as can be done for snaps currently ] is all that’s required to support this, or if there is something fundamental I’m missing here that would make that feature impractical.

Or, perhaps I’m missing some other way to do this that already exists ?

Thanks,

Just

I’ve had a go at adding support to ubuntu-image - PR raised.

1 Like