rpm/modalias-no-kgraft.diff
2014-11-11 12:41:37 +00:00

25 lines
743 B
Diff

From: Michal Marek <mmarek@suse.cz>
Subject: Do not generate supplements for kgraft patches
References: bnc#904848
kgraft-patches are to be automatically installed if a matching kernel is
installed. Generating the KMP supplements thus makes no sense.
Signed-off-by: Michal Marek <mmarek@suse.cz>
---
scripts/find-supplements.ksyms | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- scripts/find-supplements.ksyms.orig
+++ scripts/find-supplements.ksyms
@@ -7,7 +7,7 @@ PACKAGE=$1
case "$1" in
kernel-module-*) ;; # Fedora kernel module package names start with
# kernel-module.
-kernel*) is_kernel_package=1 ;;
+kernel* | kgraft-patch*) is_kernel_package=1 ;;
esac
if ! [ -z "$is_kernel_package" ]; then