UC20 Kernel Version

Hi kernel team,

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?

Thanks,

Hi there, any thoughts on the kernal release plan? :slight_smile:

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:

Thanks @ogra for the helpful hints. Where can I find the default kernel parameters used by pc-kernel snap? Is it https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/tree/snapcraft.yaml?

Regards,

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/.

1 Like

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?