[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Patching a kernel.



Marino Fernandez verraste ons met de boodschap:

> root@lifebook:/usr/src# bzip2 -dc xfs-2.4.20-all-i38620030114.bz2 | patch -p1

you might want to run 'patch' in the kernel source directory:

cd /usr/src
ln -sf kernel-source-2.4.20 linux
cd linux
bzip2 -dc ../xfs-2.4.20-all-i38620030114.bz2 |patch -p1

btw, it's considered a bad habit to play around as root (reminds me of a
qoute by Vineet Kumar :-)). after a 'adduser <me> src', you can do all
compiling stuff as a regular user. only the 'dpkg -i' part needs root,
you can compile kernels as yourself using 'fakeroot make-kpkg [...]'.

-- 
Joris



Reply to: