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. I would appreciate some hints on how to achieve this. -- Simon Oliver
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).
Markus -- __________________ /"\ Markus Gaugusch \ / ASCII Ribbon Campaign markus@gaugusch.at X Against HTML Mail / \
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 It looks like rpm expects the tar file to have a different name: I traced back and found that the rpm build comamnd was as expected: rpm -ta /usr/src/linux-2.4.20.SuSE/../kernel-2.4.2064GBSMP.tar.gz ; \ Any ideas? -- Simon Oliver
On Monday 14 July 2003 03:03, Simon Oliver 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.
I would appreciate some hints on how to achieve this.
-- Simon Oliver
List the files that are contained within either k_deflt or k_athlon that are located on your installation medium -- CD.DVD,etc...... This should give you an idea what files are needed. It may be easier to dump the contents from the rpm's into a directory and just use the spec file with a few minimal alterations. Then build till your hearts content! ;) -- Thomas Jones Linux-Howtos Network Administrator OpenGPG Key: 0x6A3DF6E9
participants (3)
-
Markus Gaugusch
-
Simon Oliver
-
Thomas Jones