View Single Post
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#383
Originally Posted by jstokes View Post
Hi maacruz,

Sorry to ask such a dumb question but how do you apply the patches? Some shell for loop or something? That probably won't work because of the different folder references; I'd always be switching the -p number.
Yes, I use a for loop:
Code:
cd /usr/src
tar xf kernel-source-diablo.tar.bz2
cd kernel-source-diablo
for i in ../Diablo-Turbo/kernel-dt-sd/patches/*; do
patch -p1 <$i
done

Last edited by maacruz; 2011-04-09 at 09:36.
 

The Following 2 Users Say Thank You to maacruz For This Useful Post: