mirror of
https://github.com/dynup/kpatch
synced 2025-05-05 01:17:57 +00:00
During review of PR #1163, Josh reported: When trying this out, I think I found that kernel_is_rhel() is broken for z-stream kernels. It expects a "." after the el8, like ".el8.", but [rhel-8] z-stream kernels have the minor version appended to the major version like ".el8_3". Tweak the regex pattern in kernel_is_rhel() to account for such z-stream kernel versions. At the same time, add .el9 to the regex in preparation of rhel-9. Reported-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-cc | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-intermediate.h | ||
kpatch.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h | ||
Makefile |