Thanks a lot for the logs. What has changed in snapd 2.61.1 is not the check for matching gadget to disk sizes in itself but when the check happens: in the past in some cases this check was not being performed when it should. For instance, the newer snapd would not have let you update the gadget defining a 2.5 GB seed partition of a device where the partition is actually 2 GBs. But unfortunately this update already happened.
The way to fix this would be to distribute a new gadget compatible with both disk layouts. For that, there is a new "min-size" field that can be used when describing a partition. So you would have something like:
Thanks a lot for the logs. What has changed in snapd 2.61.1 is not the check for matching gadget to disk sizes in itself but when the check happens: in the past in some cases this check was not being performed when it should. For instance, the newer snapd would not have let you update the gadget defining a 2.5 GB seed partition of a device where the partition is actually 2 GBs. But unfortunately this update already happened.
The way to fix this would be to distribute a new gadget compatible with both disk layouts. For that, there is a new "min-size" field that can be used when describing a partition. So you would have something like:
- name: ubuntu-seed
min-size: 2000M
size: 2500M
...
Once the new gadget is installed in the systems, it should be possible to update pc-kernel.