[kpatch] one issue on kpatch-build when kernel built outside source tree
Josh Poimboeuf
jpoimboe at redhat.com
Thu Mar 20 13:36:41 UTC 2014
On Thu, Mar 20, 2014 at 03:52:36PM +0800, Jincheng Miao wrote:
> Hi guys,
>
> I built kernel outside the source tree with "O=/path", then I ran
> kpatch-build,
> it told me "can't find file to patch at input line 5".
>
> So I thought kpatch maybe need to consider this situation.
I think you're wanting to build the patch module against a custom
kernel? If so, give it the path to the kernel source with the
--sourcedir flag:
kpatch-build --sourcedir /path/to/kernel/source
--
Josh
More information about the kpatch
mailing list