On Fri, 2010-06-25 at 12:01 +0100, Berni Elbourn wrote:
Re: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570350
Sorry but the patch at the bottom of the thread doesn't seem to like me:
Preparation:
apt-get source linux-2.6
apt-get install build-essential fakeroot
apt-get build-dep linux-2.6
cd linux-2.6-2.6.26
fakeroot debian/rules source
fakeroot make -f debian/rules.gen setup_amd64_none_amd64
Applying the patch:
red:~/linux-2.6-2.6.26# patch -p1<
../linux-patches/0001-pid_ns-zap_pid_ns_processes-fix-the-child_reaper-cha.patch
patching file kernel/pid_namespace.c
Hunk #1 FAILED at 179.
1 out of 1 hunk FAILED -- saving rejects to file kernel/pid_namespace.c.rej
[...]
You're trying to apply the patch in the wrong directory. The top level
contains Linux 2.6.26, unmodified except for DFSG-compliance. You need
to apply the patch in debian/build/source_amd64_none, where the source
is copied and patched prior to building the package.
However, given that the patch filename ends in '~' it seems that I
accidentally sent the wrong version of the patch. Also, I think we
should actually apply a second patch. So, please try the two attached
patches.
Ben.