> btw the entire "copy and make an initrd" step can be shortened to > > make install > > that copies all needed files, makes an initrd and also adds the new > kernel to grub (or lilo if that's your preferred poison) Right. Sorry, in the spirit of posting answers: 01) download http://mirrors.kernel.org/fedora/core/6/source/SRPMS/kernel-2.6.18-1.2798.fc6.src.rpm 02) rpm -ivh kernel-2.6.18-1.2798.fc6.src.rpm 03) cd /usr/src/redhat/SOURCES; cp linux-2.6-r8129-update.patch . 04) cd /usr/src/redhat/SPECS 05) cp kernel-spec.patch . ; patch -p0 < kernel-spec.patch 06) rpmbuild -ba kernel-2.6.spec 07) cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386/ 08) make 09) make modules_install 10) make install 11) reboot -benjamin
*** kernel-2.6.spec.orig 2006-11-02 01:44:41.000000000 +0100 --- kernel-2.6.spec 2006-11-02 02:03:47.000000000 +0100 *************** Summary: The Linux kernel (the core of t *** 5,11 **** %define buildup 1 # Only used on archs without run-time support (ie ppc, sparc64) ! %define buildsmp 0 %define buildpae 0 # Whether to apply the Xen patches, leave this enabled. %define includexen 1 --- 5,11 ---- %define buildup 1 # Only used on archs without run-time support (ie ppc, sparc64) ! %define buildsmp 1 %define buildpae 0 # Whether to apply the Xen patches, leave this enabled. %define includexen 1 *************** Patch4: git-agpgart.patch *** 306,311 **** --- 306,312 ---- # Patches 10 through 99 are for things that are going upstream really soon. Patch10: linux-2.6-utrace.patch + Patch11: linux-2.6-r8169-update.patch # enable sysrq-c on all kernels, not only kexec Patch20: linux-2.6-sysrq-c.patch *************** cd linux-%{kversion}.%{_target_cpu} *** 817,822 **** --- 818,824 ---- # Rolands utrace ptrace replacement. %patch10 -p1 + %patch11 -p0 # sysrq works always %patch20 -p1
Attachment:
linux-2.6-r8169-update.patch.bz2
Description: BZip2 compressed data
-- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list