Re: linux/scripts/patch-kernel

Keith Owens (kaos@audio.apana.org.au)
Thu, 7 Mar 1996 20:35:25 +1100 (EST)


On Tue, 5 Mar 1996, Mike Castle wrote:

> Do I have a broken tool somewhere that causes the following to
> fail?
> nexus@thune[6:52pm]/usr/src(331) tar xzf linux-1.3.70.tar.gz
> nexus@thune[6:54pm]/usr/src(332) sh linux/scripts/patch-kernel

scripts/patch-kernel was itself patched at 1.3.69, alas it's wrong. I've
mailed a patch to the maintainer, in the meantime edit scripts/patch-kernel,
replace

if (gunzip -dc $patchdir/$patch | grep -v '^\\' | patch -p1 -s -E -d $sourcedir)

with

if ! (gunzip -dc $patchdir/$patch | grep -v '^\\' | patch -p1 -s -E -d $sourcedir)