From: Andreas Johansson <ajo@wopr.campus.luth.se>
Subject: Re: Update to run your 2.0.33 kernel on Red Hat Linux 5.0
Date: Mon, 23 Feb 1998 07:06:26 +0100 (MET) [thread overview]
Message-ID: <f7fbadedab517f6e819dcd040e78feca.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.96.980222200606.16357F-202000@hvdkooij.dyn.ml.org>
On Sun, 22 Feb 1998, Hugo van der Kooij wrote:
> 2.3. Patching the kernel
>
> Now we are going to apply that patches.
>
> But before we do we have to make some extra links so the patches won't
> hurt us.
:) Would you please elaborate?
> cd /usr/src
> ln -s linux old
> ln -s linux new
>
> Now those are in place we can patch the lot.
>
> cd /usr/src
> gzip -d < alpha-patches-2.0.32-0.1.gz | patch -p0
> gzip -d < alpha-RLIMIT-patches-2.0.33.gz | patch -p0
> gzip -d < alpha-em86-patches-2.0.33.gz | patch -p0
Not to bitch about your fine kernel compilation document, but really, why
don't you check out 'man patch' rather than trying to work around to
problem of only using patch -p0 all the time?
The "right" way to apply patches that include the original directories
'old' and 'new' would be to cd into /usr/src/linux. There, use patch -p1
instead of -p0 to strip the 'old' and 'new' directories away from each
file to patch.
So, you should have done like this:
cd /usr/src/linux
gzip -d < ../alpha-patches-2.0.32-0.1.gz | patch -p1
gzip -d < ../alpha-RLIMIT-patches-2.0.33.gz | patch -p1
gzip -d < ../alpha-em86-patches-2.0.33.gz | patch -p1
> And now we can remove those ackward links.
>
> cd /usr/src
> rm old
> rm new
... and we don't need to do this! :)
/Andreas
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1998-02-23 6:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.96.980222200606.16357F-202000@hvdkooij.dyn.ml.org>
1998-02-23 6:06 ` Andreas Johansson [this message]
1998-02-23 8:14 Update to run your 2.0.33 kernel on Red Hat Linux 5.0 warp
[not found] <Pine.LNX.3.96.980223064943.19202B-100000@wopr.campus.luth.se>
1998-02-23 6:59 ` Hugo van der Kooij
-- strict thread matches above, loose matches on Subject: below --
1998-02-22 19:10 Hugo van der Kooij
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox