yum: how to stop upgrading kernel ?

Guillermo Garron guillermo.fedora at gmail.com
Mon Jul 10 03:12:36 UTC 2006


That looks great! can you please give the example of your shell-script?

thanks a lot,

Regards,
Guillermo


On 7/9/06, Mike Schultz <mjschultz at gmail.com> wrote:
> > (note : reason is I'm using some applications that need recompilation of
> their
> > specific modules per kernel which start to be cumbersome as kernel is
> often
> > upgraded)
>
> Though this isn't directly relevant to excluding the kernel packages
> from updating, I thought you might want to consider this as an
> alternative.
> You can make a simple script which will check if the specific module
> exists for the kernel (most are in /lib/modules/<kernel_version>/ or a
> sub-folder thereof) on every reboot.  For example, I just upgraded
> from 2.6.17-1.2139_FC5 to 2.6.17-1.2145_FC5, my computer booted up ran
> a shell script the checked if the kernel module existed ( if [ -e
> "/lib/modules/`uname -r`/misc/ndiswrapper.ko" ]; then ...) and built
> it when the check failed.
> That way you can keep the kernel up-to-date and not worry about having
> to recompile everything with upgrades.
>
> Just my two cents.
>
> -m
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list