Thanks! I was being impatient and figured that why I wouldn’t spend my saturday building kernel for the first time in my life. It went really well thanks to your build.sh script! Managed to get this working with next changes:
root@build-kernel2:~/osmc# git diff package/kernel-osmc/patches/vero364-000-add-kernel-config.patch
diff --git a/package/kernel-osmc/patches/vero364-000-add-kernel-config.patch b/package/kernel-osmc/patches/vero364-000-add-kernel-config.patch
index 5c556ccc..fecd6b83 100644
@@ -468,7 +468,8 @@
+# CONFIG_NET_KEY is not set
-+# CONFIG_IP_ADVANCED_ROUTER is not set
Now I just need to figure out how to disallow repository to update this self-baked kernel. All in all, I would still prefer you to build it to official OSMC kernel, but this’ll do for the time being.