Susi-Security wrote:
Am Montag, 14. Juli 2003 12:54 schrieb Simon Oliver:
Markus Gaugusch wrote:
Some time ago someone suggested that we create rpms (or dummy rpms) for locally compiled kernels so that yast update doesn't overwrite the local kernel.
Use "make rpm" instead of "make bzImage modules" to create an RPM of the kernel. But I think it would be easier for you if you used fou4s and use the IgnoreList and RemarkList features (to ignore kernel upates or only notify the user, but don't install them).
When I "make rpm" I get the following error:
... kernel-2.4.2064GBSMP/./.version File /usr/src/kernel-2.4.20.tar.gz: No such file or directory make: *** [rpm] Error 1
maybe you've to change the file: ./include/linux/version.h too.
It says: #define UTS_RELEASE "2.4.20-64GB-SMP" #define LINUX_VERSION_CODE 132116 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) But rpm is looking for "/usr/src/kernel-2.4.20.tar.gz". So I decided to download the vanilla 2.4.20 kernel source form ftp.kernel.org and found that it won't compile with the C compiler that comes with SuSE 8.2 (3.3 20030226). Is the SuSE kernel source patched to make it work with gcc 3.3? I ask because I'm having problems compiling 'enbd' on SuSE 8.2 and I'm begining to wonder there are problems with the SuSE kernel source tree or gcc 3.3 it self. -- Simon Oliver