From dffb9966e81b43462b5672bd0847c234d7f4813f Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 17:57:05 +0000 Subject: Apply patch 0005-Fix-livepatch-enabled-kernel-detection-in-kpatch-scr.patch patch_name: 0005-Fix-livepatch-enabled-kernel-detection-in-kpatch-scr.patch present_in_specfile: true --- diff --git a/kpatch/kpatch b/kpatch/kpatch index 8789825..1ba0425 100755 --- a/kpatch/kpatch +++ b/kpatch/kpatch @@ -136,7 +136,7 @@ find_core_module() { } core_loaded () { - grep -q -e "T klp_register_patch" -e "T kpatch_register" /proc/kallsyms + grep -q -e "T klp_enable_patch" -e "T kpatch_register" /proc/kallsyms } get_module_name () {