I’ve been working on this topic for many hours, now. I already have experience with Kernel compiling on “regular” linux systems, but I have a small embedded box here, which has Ubuntu Core installed.
Ubuntu Core 16 comes with Kernel 4.4, but I need some more advanced Kernel as 4.4 is lacking a feature, that I need.
First thought: Why not download the Ubuntu Core 18 kernel snap and just try to install that? I mean, after all it’s just a kernel and on “regular” Linux I never had trouble with updating a kernel…
After rebooting with the Ubuntu Core 18 Kernel, all I get is:
error invalid xz chunk
you need to load the kernel first
OK. Maybe some change from Ubuntu Core 16 to Ubuntu Core 18, so I had a look at:
I installed Ubuntu 16 LTS into a virtual machine, downloaded the latest kernel from kernel.org. Added the missing files from the sample-kernels repository (I also had to disable building with firmwares) and ran “snapcraft”. After some time I finally got a finished kernel snap.
But now, when trying to install (with --dangerous), all I get is:
cannot replace signed kernel snap with an unasserted one
I’m out of ideas now. Can someone help me with getting the kernel updated on my Ubuntu Core 16 system?