hhoffstaette / kernel-patches

Custom Linux kernel patches
39 stars 7 forks source link

Better shell command for patching #1

Closed dirk-olmes closed 9 years ago

dirk-olmes commented 9 years ago

I use the following comand for kernel patching:

foreach f (~/Projekte/Linux/kernel-patches/4.1/*.patch);
    patch -p1 -s < $f || echo "could not apply $f";
end

As opposed to the command mentioned in the README, it will print any patch file that did not apply cleanly.

hhoffstaette commented 9 years ago

This is what I use as well; the line in the README is mostly for simplicity.

hhoffstaette commented 9 years ago

I've added the error handling to the README. Thanks. :)