Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2015-03-25 13:10:24 +0100
committerMichal Marek <mmarek@suse.cz>2015-03-25 13:10:52 +0100
commitc62c11aecd4e3f8822e1b835fea403acc3148c5a (patch)
treeafbc19a42d902db8799f3906cb3e379ec50db83c
parent1ff4e48dc0dcc80c9155832505dc62b76e2dfe05 (diff)
Require exact kernel version in the patch
References: bnc#920615 Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--kgr_patch_main.c2
-rw-r--r--rpm/kgraft-patch.changes5
2 files changed, 7 insertions, 0 deletions
diff --git a/kgr_patch_main.c b/kgr_patch_main.c
index e4ca9c5..1b78958 100644
--- a/kgr_patch_main.c
+++ b/kgr_patch_main.c
@@ -1,12 +1,14 @@
#include <linux/kgraft.h>
#include <linux/module.h>
#include <linux/types.h>
+#include <linux/vermagic.h>
#include "uname_patch/kgr_patch_uname.h"
static struct kgr_patch patch = {
.name = "kgraft-patch-@@RPMRELEASE@@",
.owner = THIS_MODULE,
+ .vermagic = VERMAGIC_STRING,
.replace_all = true,
.immediate = true,
.patches = {
diff --git a/rpm/kgraft-patch.changes b/rpm/kgraft-patch.changes
index c438ebe..589568f 100644
--- a/rpm/kgraft-patch.changes
+++ b/rpm/kgraft-patch.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Mar 25 12:09:38 UTC 2015 - mmarek@suse.cz
+
+- Require exact kernel version in the patch (bnc#920615).
+
+-------------------------------------------------------------------
Tue Mar 24 11:14:47 UTC 2015 - mmarek@suse.cz
- Add the git commit and branch to the package description (bnc#920633)