Hugo Vanwoerkom wrote:
Hi,
In <2.6.23 kernels this site told you how to rebuild the Debian kernel
package:
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
In 2.6.23 I can no longer do it. It fails this:
fakeroot make -f debian/rules.gen setup-i386-none-686
That flavor no longer exists.
Replacing it with:
fakeroot make -f debian/rules.gen setup_i386_none_686
the patching operation fails with:
...
Warning: No version.Debian file, assuming pristine Linux 2.6.23
(+) OK debian/version.patch
(+) OK debian/kernelvariables.patch
(+) OK debian/doc-build-parallel.patch
(+) OK debian/scripts-kconfig-reportoldconfig.patch
(+) OK debian/powerpc-mkvmlinuz-support-ppc.patch
(+) OK debian/powerpc-mkvmlinuz-support-powerpc.patch
(+) OK debian/drivers-ata-ata_piix-postpone-pata.patch
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/Kconfig.rej
2 out of 5 hunks FAILED -- saving rejects to file drivers/net/tg3.c.rej
(+) FAIL debian/dfsg/drivers-net-tg3-fix-simple.patch
make[1]: *** [debian/stamps/source] Error 1
...
And true enough that tg3.c just is not the same.
Has anybody tried this or am I the first one?
So we will see how the compile goes. But commenting
linux-2.6.23/debian/patches/series/1
the entry
#+ debian/dfsg/drivers-net-tg3-fix-simple.patch
seemed to do the trick.
Also instead of:
fakeroot make -f debian/rules.gen setup-i386-none-k7
fakeroot make -f debian/rules.gen binary-arch-i386-none-k7
you have to use:
fakeroot make -f debian/rules.gen setup_i386_none-686
fakeroot make -f debian/rules.gen binary-arch_i386_none_686
but since you are compiling the kernel you can turn K7 on again!
Hugo
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]