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

Re: linux-image package /boot/config file not re-usable for a compilation of linux-source package



On Mon, 2006-04-24 at 10:34 -0500, David McGiven wrote:
> Dear Debian users,
> 
> I'm using Debian Sarge in one of my machines. I wanted to install a newer
> kernel (Sarge comes with 2.6.8).
> 
> Instead of using the kernel.org vanilla kernel source package, I decided
> that using the debian source package from testing would be better.
> 
> I downloaded it from :
> http://packages.debian.org/testing/devel/linux-source-2.6.15
> 
> I installed it and it drops a file in /usr/src/linux-source-2.6.15.tar.bz2
> 
> I extracted it. Then instead of configuring it, I wanted to be it the
> debian way.
> 
> I then downloaded the debian binary package from testing from :
> http://packages.debian.org/testing/base/linux-image-2.6.15-1-686-smp
> 
> I do this just to take the .config file and be able to do a make oldconfig
> afterwards.
> 
> I extracted the contents of linux-image-2.6.15-1-686-smp_2.6.15-8_i386.deb
> 
> dpkg-deb -x linux-image-2.6.15-1-686-smp_2.6.15-8_i386.deb /tmp
> 
> I copied the config file to the source directory
> 
> cp /tmp/boot/config-2.6.15-1-686-smp /usr/src/linux-source-2.6.15
> 
> cd /usr/src/linux-source-2.6.15
> 
> make oldconfig
> 
> And now it asks me for HEAPS of questions.
> 
> How is this possible ? The config file that comes with the binary package
> is supposed to be from the same version as the kernel source package. Why
> it asks those questions about old and new config parameters then ?
> 
> Thanks in advance.

Given that I have rebuilt the debian kernels many times, making it so
could include patches the old patch way...(back when the *COOL* patches
were pre-empt and a few other neat things, around the 2.4.20 era)

I don't know if you know it, but there is a tremendous amount of work
that has been done in making it possible for you to do just what you
want to do.

There are some issues that need to be ironed out, but in general I use:

        make-kpkg

maintained by Manoj Srivastava.

Excellent Excellent package. I'd investigate this avenue if I were you.
-- 
greg, greg@gregfolkert.net

The technology that is 
Stronger, Better, Faster: Linux

Use Debian GNU/Linux, its a bazaar thing

NOTICE: Due to Presidential Executive Orders, the 
National Security Agency may have read this email 
without warning, warrant, or notice, and certainly 
without probable cause. They may do this without 
any judicial or legislative oversight. You have no 
recourse nor protection.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: