On Mon, 2010-09-06 at 21:47 +1000, Russell Stuart wrote: [...] > The steps I used to generate the kernel are: > > $ apt-get source linux-2.6 > $ cd linux-2.6-2.6.32 > $ fakeroot debian/rules source > $ fakeroot debian/rules setup > $ patch -p1 > <.../0001-tun-Don-t-add-sysfs-attributes-to-devices-without-sy.patch > $ ed drivers/net/tun.c # add trace [...]
You are editing in the wrong place. The patch needs to be applied in debian/build/source_amd64_none. The debian/bin/test-patches script can handle this all for you. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.
signature.asc
Description: This is a digitally signed message part