Re: yum: how to stop upgrading kernel ?

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

 



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@xxxxxxxxx> 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@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux