Accepting request 260857 from home:michal-m:branches:Base:System

- 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
This commit is contained in:
Michael Schröder 2014-11-11 12:41:37 +00:00 committed by Git OBS Bridge
parent 48ff97361e
commit 117274622b
3 changed files with 32 additions and 1 deletions

24
modalias-no-kgraft.diff Normal file
View File

@ -0,0 +1,24 @@
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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 11 10:51:37 UTC 2014 - mmarek@suse.cz
- Do not generate supplements for kgraft patches (bnc#904848)
new patch: modalias-no-kgraft.diff
-------------------------------------------------------------------
Mon Oct 6 15:08:17 CEST 2014 - mls@suse.de

View File

@ -129,6 +129,7 @@ Patch92: find-lang-python.patch
Patch93: weakdepscompat.diff
Patch94: checksepwarn.diff
Patch95: fixsizeforbigendian.diff
Patch96: modalias-no-kgraft.diff
Patch6464: auto-config-update-aarch64-ppc64le.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
@ -216,7 +217,7 @@ rm -f rpmdb/db.h
%patch -P 60 -P 61 -P 65 -P 66 -P 67 -P 68 -P 69
%patch -P 70 -P 71 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
%patch -P 85
%patch -P 92 -P 93 -P 94 -P 95
%patch -P 92 -P 93 -P 94 -P 95 -P 96
%ifarch aarch64 ppc64le
%patch6464