Update canonical kernel with custom kernel in the field


#1

A project uses a standard Canonical kernel for the pi3.

They have a branded store that does not inherit from the Ubuntu store except for a few white-listed snaps.

They want to be able to modify the kernel later and update devices using it over-the-air that were built with the standard kernel.

What is the recommended way to accomplish this?

Maybe they could customize the standard kernel snap and publish it in their branded store, but then the snap name would not indicate that it was a fork.


#2

it would likely involve updating the model assertion and snapd considering the changes that this entails, it is something planned but not yet clearly designed or implemented


#3

i’d really start with a custom kernel from the start then and simply manually import a renamed pi2-kernel snap from the main store until they need an actual rebuilt one …