Mailinglist Archive: opensuse (2425 mails)
|< Previous||Next >|
Re: [SLE] Re: Kernel SRPMS?
- From: jboonen@xxxxxxxxxxxxxx (jboonen@xxxxxxxxxxxxxx)
- Date: Fri, 09 Jun 2000 18:29:12 +0200
- Message-id: <39411B58.4D8AB070@xxxxxxxxxxxxxx>
The reason why i want to have the suse version of 2.2.16 is that the
have patched quite a few things like reiserfs etc.
By the way how can i build a lx_suse.rpm via build -bb lx_suse.rpm spec
Jon Pennington wrote:
> On Thu, Jun 08, 2000 at 10:38:56PM -0500, Kelley Spoon wrote:
> > On Thu, 8 Jun 2000, David Porter wrote:
> > > * Kelley Spoon <kspoon@xxxxxxxxxxxxx>:
> > >
> > > That's right. At least with 6.2, the kernel source is called lx_suse.rpm and
> > > is located in the d1 section of the first disk.
> > lx_suse.rpm just provides the kernel sources. What I'm looking for is the
> > SRPM (has the spec file) so I can rebuild the binary RPMs.
> Here's the thing; your question was (partially) answered, but you are
> looking for the wrong thing. SuSE, unlike Red Hat, does not `build a
> binary RPM' for the kernel. The breakdown is like so:
> lx_suse.rpm contains the full kernel source for the appropriate version.
> This is not necessarily what you need, however. When YaST (during
> installation) asks you what kernel type (there are a handful) you need
> for doing the installation, a .config file *for* that kernel is dropped
> in /usr/src/linux by default. A standard installation uses the
> linclude.rpm file instead of lx_suse.rpm, which is the kernel headers.
> Your solution is as follows:
> 1) Find the configuration file, which should be /usr/src/linux/.config,
> and put it some place safe, like /root
> 2) Get the 2.2.16 kernel source, perhaps like
> cd /usr/src/
> rm linux # this is only a symlink; go ahead and remove it
> wget ftp://ftp.kernel.org/pub/linux/kernel/v2.2/linux-2.2.16.tar.bz2
> # must have wget installed; if you don't have it, you'll love it ;)
> tar xIvf linux-2.2.16.tar.bz2 # unpacks the kernel source
> mv linux linux-2.2.16
> ln -sf linux-2.2.16 linux # resets the symlink
> 3) Put the .config file in /usr/src/linux again, and `make oldconfig
> menuconfig', which will set up the menuconfig options as SuSE had them,
> and then allow you to add support for your 3ware controller.
> 4) make dep clean modules modules_install bzImage bzlilo
> Reboot, and that should be it. IMNSHO, SuSE's method makes a helluva
> lot more sense than `building a binary kernel RPM'.
> -=|JP|=- "Why, oh, why didn't I take the blue pill?"
> Jon Pennington | Atipa Linux Solutions -o)
> jpennington@xxxxxxxxx | http://www.atipa.com /\\
> Kansas City, MO, USA | 816-595-3000 x1550 _\_V
> 6D04 39E0 CAE9 9ADA 2CA3 2EBE 898A 6C37 CA1E A29C
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
|< Previous||Next >|