I’m trying to find the sources for my specific kernel, 4.12.14-lp151.28.20-default, and actually a number of other SUSE kernels, for various versions of SUSE enterprise linux and OpenSUSE, for instance: 4.12.14-25.13-default
kernel-source is the primary repository. Other (patched sources) is derived and generated from it. Each commit in derived repository includes text that refers to kernel-source commit (suse-commit tag). Like
libnvdimm/altmap: Track namespace boundaries in altmap(bsc#1150305).
I am not sure what is the most simple way to jump from kernel-source to patched kernel if that is what you need. You can use “git log --grep=‘suse-commit: $COMMIT’” but that is probably not the most efficient method.
I would suggest you try opensuse-kernel mailing list if you have more specific questions.
The issue I have is I want to be able to find the kernel source for all potentially released kernels, not necessarily just the ones that I have installed.
It looks like these commits all correspond to a commit by “Kernel Build Daemon”, so maybe it’s possible for me to walk the openSUSE-15.1 branch looking for these commits, and grab the config, then
somehow find the matching already patched kernel tree?
I’m trying to make a fallback mechanism that would be able to provide header bundles for an eBPF tracer to computers which may have out of date headers that are no longer being kept as a package in the openSUSE or SUSE Enterprise linux repositories.
I tried using the repositories first, and just the RPM packages provided, but it doesn’t keep an indefinite record (Maybe there is an archive somewhere?).
We have some customers that are on old SUSE kernels who refuse to upgrade due to internal policies.
Thanks for the help , if I can’t resolve the above strategy, then I will go ask on the specific kernel related forum.
It looks like, at least, all of the SUSE Enterprise 15 kernels are tagged somewhere, so I can at least start with just supporting SUSE Enterprise Linux 15.
Instead of re-inventing the wheel and re-building what may or may not have existed,
You might browse through the repositories at the following link…
You’ll find the last release for each repository that reached EOL.
Of course you won’t get every kernel that has ever been released, but you should see a number of the most important ones… both the kernel included in the DVD and the last kernel released in an OSS-update repo