Snapd using 100% CPU in x86 VM for 2 minutes after boot?

the slowness on Ubuntu Core arm is caused by two things that i dont think apply on classic installs:

  • generating a device gpg key and serial (details regading classic)
  • copying kernel and bootloader in place onto the vfat partition

(the device key generation bit looks like “generic-serials: true” is required, is that set in the used gadget ? (it seems to fall back to the default key generation otherwise))