mirror of
https://github.com/dynup/kpatch
synced 2024-12-15 09:54:29 +00:00
fix calling of kpatch-build from git dir
When calling kpatch-build from the git directory, the patch kmod build fails because it can't find kpatch.h because the symlink is broken. Copy the kpatch.h file (instead of the symlink) to TEMPDIR.
This commit is contained in:
parent
06ed1bdcc0
commit
052f2d8b25
@ -109,7 +109,7 @@ fi
|
||||
|
||||
find_data_dir || (echo "can't find data dir" >&2 && die)
|
||||
|
||||
cp -R "$DATADIR/patch" "$TEMPDIR" || die
|
||||
cp -LR "$DATADIR/patch" "$TEMPDIR" || die
|
||||
cp vmlinux "$TEMPDIR" || die
|
||||
|
||||
echo "Building patched kernel"
|
||||
|
Loading…
Reference in New Issue
Block a user