On Fri, 2007-05-04 at 22:52 +0300, Panu Matilainen wrote:
On Sun, 29 Apr 2007, Johnny Hughes wrote:
We are working out the last remaining technical issue with yum-2.4 on CentOS-3 (that we have found thus far), which is that yum-2.0 (and up2date in C3) sets newly installed kernels to be the default. In EL4, that is handled by the OS script "/sbin/new-kernel-pkg" (provided by mkinitrd), however in EL3 that functionality was done instead by up2date / yum. We won't modify how mkinitrd works on CentOS-3 (that is a very important core package and we don't change that kind of functionality from upstream), thus the only ohter option is to modify yum to do it.
That should be doable from a plugin, without touching yum itself.
This was initially implemented as a plugin. But we decided to integrate this into yum, following the principle of least surprise. E.g. on machines with a modified yum configuration (where plugins are not enabled), a plugin would modify behavior from what it was previously.
-- Daniel