[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [suse-security] Creating rpm of locally compiled kernel



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 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?


--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here