Just had a quick chat with Ian here, https://github.com/snapcore/snapd/pull/10902. We’d like to add a snap of which functions will be included in the kernel of >5.6. Now UC20’s kernel is 5.4. Could you please upgrade the kernel to >5.6 for UC20?
Ubuntu Core is tied to the LTS and only the release kernels are supported … if you have a brand store one option would be to maintain your own 5.6 kernel or alternatively buy enablement from canonical for a 5.6 backport:
The official kernels are re-packs of the binary debs, there is not actually anything built from source (snapcraft does not have access to the signing keys for secure boot so the already signed binaries from the deb are re-used) … the linked snapcraft.yaml above is for rolling your own, non-secure-boot kernels locally using snapcraft …
the actual kernel config of the deb packages is generated during build from scripts, the easiest is probably to just download the respective linux-image-generic-* deb, unpack it and there should be the generated config-* in boot/.
I think probably I can give this a try, https://ubuntu.com/core/docs/kernel-building. A bit curious on “non-secure-boot”, can I do a self-signed key and use it for secure boot?
I don’t think you mentioned with platform you are on, but if it’s intel there is a new-ish kernel snap available called intel-kernel that is based on the linux-oem-20.04 packages. That could be enough for your needs in this case.
Thanks @jocado for the update! I didn’t find it on snap store. Do you have the link of intel-kernel project? Would like to take a look into the differences between pc-kernel and intel-kernel.
That’s not quite right, intel-kernel snap is not based on linux-oem-20.04. It is another optimised kernel specially for Intel’s Tiger Lake and Elkhart Lake IoT platforms. Please see https://ubuntu.com/download/iot/intel-iotg. It’s mostly based on the generic Ubuntu kernels with added Intel’s IoT features.
That’s not quite right, intel-kernel snap is not based on linux-oem-20.04. It is another optimised kernel specially for Intel’s Tiger Lake and Elkhart Lake IoT platforms. Please see
In that case I stand corrected. I think I was told it was at some point.
I had initially assumed it too because normally the snaps are based on upstream debs, and the version number schemes were so similar: