mirror of https://github.com/dynup/kpatch
put localversions file in SRCDIR, not OBJDIR
The kernel Makefile look for localversion in the source tree, not the object tree. The absense from the source tree results in a patch module that will not load because the kernel versions don't match. Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
parent
6a36470123
commit
d62798fde8
|
@ -100,7 +100,7 @@ else
|
|||
|
||||
cd "$SRCDIR"
|
||||
cp .config "$OBJDIR" || die
|
||||
echo "$LOCALVERSION" > "$OBJDIR/localversion" || die
|
||||
echo "$LOCALVERSION" > "$SRCDIR/localversion" || die
|
||||
fi
|
||||
|
||||
echo "Building original kernel"
|
||||
|
|
Loading…
Reference in New Issue