Can't build pi3 image when model has "store" field

Error msg is:
Fetching core
Fetching pi2-kernel
error: cannot find snap “pi2-kernel”: snap not found

If I simply remove the “store” key/val from the model (and resign it of course), the image is built as expected.

$ snap list ubuntu-image
Name Version Rev Developer Notes
ubuntu-image 1.1+snap2 66 canonical classic

$ apt policy ubuntu-image
ubuntu-image:
Installed: (none)

$ snap version
snap 2.28.1
snapd 2.28.1
series 16
ubuntu 16.04
kernel 4.4.0-96-generic

It’s probably complaining that it can’t find the given kernel on the provided store front.

Yes, that’s it. thanks Gustavo.

1 Like