Michael Schröder
117274622b
- Do not generate supplements for kgraft patches (bnc#904848) new patch: modalias-no-kgraft.diff OBS-URL: https://build.opensuse.org/request/show/260857 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=347
25 lines
743 B
Diff
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
|