xfs
[Top] [All Lists]

Re: XFS for Linux 1.0.1 Released

To: stimits@xxxxxxxxxx
Subject: Re: XFS for Linux 1.0.1 Released
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Wed, 11 Jul 2001 22:48:07 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3B4CBA71.D1D4E781@idcomm.com>
References: <200107102103.f6AL3am18531@jen.americas.sgi.com> <20010711105428.A21601@ii.uib.no> <3B4C18A3.185769CD@idcomm.com> <3B4C6BFF.5939F32D@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
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.


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>