[kpatch] [PATCH RFC] kpatch-build: support build out-of-tree modules

Xie XiuQi xiexiuqi at huawei.com
Wed Aug 26 00:57:25 UTC 2015


On 2015/8/25 23:28, Josh Poimboeuf wrote:
> On Tue, Aug 25, 2015 at 10:25:38PM +0800, Xie XiuQi wrote:
>> usage:
>> 	kpatch-build -s <kernel source dir> -m <mod dir> xxx.patch
>>
>> The process like bellow:
>> 1) Building original module(s)
>> 2) Save *.o and *.ko to $OBJDIR
>> 3) make clean
>> 4) Building patched module(s)
>> 5) Find changed objects with cmp
>> 6) Build patch modules
>>
>> Here, I just do a simple comparison with cmp tool to find changed objects.
>>
>> Signed-off-by: Xie XiuQi <xiexiuqi at huawei.com>
>
> Xie,
>
> Any chance you can open a pull request at
> https://github.com/dynup/kpatch?  We try to track all our development
> and code-related discussion there so we don't lose track of anything.

OK, I will.

Thanks!

>
> Thanks!
>




More information about the kpatch mailing list