\begin{Rob B}
> 
> OK ... this is what I have so far ...
> 
> aylee:/usr/src/kernel-source-2.4.14$ export PATCH_THE_KERNEL=YES
> aylee:/usr/src/kernel-source-2.4.14$ sudo
> make-kpkg --revision=loop.1.0 --added_patches xfs configure
> aylee:/usr/src/kernel-source-2.4.14$ sudo make config
> <configure, configure>
> aylee:/usr/src/kernel-source-2.4.14$ sudo make-kpkg kernel_image
> <compile, compile>

much of the joy of make-kpkg is that you don't have to be root to build
kernels.

% tar jxf /usr/src/kernel-source-2.4.14.tar.bz2 -C /tmp
% cd /tmp/kernel-source-2.4.14
% export PATCH_THE_KERNEL=YES
% fakeroot make-kpkg --config=xconfig --revision=loop.1.0 kernel_image
% sudo dpkg -i ../kernel-image-2.4.14_loop.1.0_*.deb

since i'm usually upgrading an existing kernel, i copy /boot/config-2.4.13
(or whatever) into .config before running make-kpkg (and leave out
the "--config=xconfig", since "--config=oldconfig" is what i want then)

> make[3]: Entering directory `/usr/src/kernel-source-2.4.14/kernel'
> make[3]: *** No rule to make target
> `/usr/src/kernel-source-2.4.14/include/linux/modversions.h', needed by
> `sched.o'.  Stop.

somehow you missed a "make dep". you could try "make-kpkg clean" and
then a rebuild. without seeing the relevant parts of the build output
i don't really know what went wrong.

-- 
 - Gus
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to