kernel 2.4.20-31

Michal Jaegermann michal at harddata.com
Fri Apr 23 23:28:56 UTC 2004


Before a corresponding "legacy" release for 2.4.20-31 kernel will
be available you can recompile src.rpm from RH9 updates with the
following patch to a spec file:

--- kernel-2.4.spec	Tue Apr 13 14:50:56 2004
+++ kernel-2.4.legacy.spec	Fri Apr 23 17:14:41 2004
@@ -21,7 +21,7 @@
 # that the kernel isn't the stock RHL kernel, for example by
 # adding some text to the end of the version number.
 #
-%define release 31.9
+%define release 31.7.legacy
 %define sublevel 20
 %define kversion 2.4.%{sublevel}
 # /usr/src/%{kslnk} -> /usr/src/linux-%{KVERREL}
@@ -31,8 +31,8 @@
 %define all_x86 i386 i686 i586 athlon
 #define all_x86 i686 i386 i586 athlon
 
-%define nptlarchs %{all_x86}
-#define nptlarchs noarch
+#%define nptlarchs %{all_x86}
+%define nptlarchs noarch
 
 # disable build root strip policy
 %define __spec_install_post /usr/lib/rpm/brp-compress || :

The only thing missing here is a relevant %changelog entry.
See RHSA-2004:166-01 for why you may want to do that.

I am running such kernel right now without, not very surprisingly,
any ill effects.  I am not so sure about RH8 but something similar,
or even the same, will work there too.

  Michal





More information about the fedora-legacy-list mailing list