xfs
[Top] [All Lists]

Re: XFS for Linux 1.0.1 Released

Subject: Re: XFS for Linux 1.0.1 Released
From: "D. Stimits" <stimits@xxxxxxxxxx>
Date: Wed, 11 Jul 2001 15:57:28 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <200107102103.f6AL3am18531@xxxxxxxxxxxxxxxxxxxx> <20010711105428.A21601@xxxxxxxxx> <3B4C18A3.185769CD@xxxxxxxxxx> <3B4C6BFF.5939F32D@xxxxxxx> <4.3.2.7.2.20010711224438.0349e6a0@xxxxxxxxxxxxx>
Reply-to: stimits@xxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Seth Mos wrote:
> 
> At 14:43 11-7-2001 -0600, D. Stimits wrote:
> >Eric Sandeen wrote:
> > >
> > > D. Stimits" wrote:
> > >
> > > > Don't trust rpm to update the kernel. Run rpm -i on the source rpm, then
> > > > get the tarball out of /usr/src/redhat/SOURCES/, do a cp -adpR on
> > > > whatever subdir it is to the usual /usr/src/ location after backing up
> > > > (and completely moving out of the way) any old kernels. Then run make
> > > > menuconfig (or some config) manually before doing the rest. You have to
> > > > select initial ram disk support.
> > >
> > > Whoa... at that point, why use RPM?  :)
> > >
> > > If you want to rebuild the kernel, just install the kernel-source RPM,
> > > and build it from /usr/src/linux-2.4
> > >
> > > RPM kernel upgrades have always worked fine for me, just do an "rpm -i"
> > > (as opposed to -U, so you keep your old kernel around for good measure),
> > > then set up lilo to point to the new kernel image.
> > >
> > > Red Hat has a page on how to do this at
> > > http://www.redhat.com/support/docs/howto/kernel-upgrade/kernel-upgrade.html
> > >
> > > -Eric
> >
> >That's basically what I said, rpm -i...but I didn't realize installing
> >the source rpm to the kernel actually placed it in /usr/src/? I assume
> >it'd have to be copied from /usr/src/redhat/SOURCES/something (the
> >.tar.gz should be there, I made the mistake of suggesting it was also
> >unpacked, which it wouldn't be).
> 
> no,
> 
> kernel-source-x.y.z.i386.rpm is the complete source. You can not rebuild this.
> kernel-x.y.z.src.rpm is complete source but this is a SRPM. You can rebuild
> this one with rpm --rebuild. That is a big difference.

When I said "source rpm" I meant the .src.rpm. With the kernel package,
this seems to take on unusual meaning...since it is a source package to
start with, no matter what you label it. I always prefer .src.rpm format
due to the ability to --rebuild, but for kernels I'd just install it to
get the tarball, and unpack it manually. I dislike rpm for anything more
than that on a kernel.

D. Stimits, stimits@xxxxxxxxxx

> 
> Cheers
> 
> --
> Seth
> Every program has two purposes one for which
> it was written and another for which it wasn't
> I use the last kind.


<Prev in Thread] Current Thread [Next in Thread>