New kernel, should be the default
Panu Matilainen
pmatilai at welho.com
Sat Oct 9 15:06:02 UTC 2004
On Sat, 2004-10-09 at 17:45, seth vidal wrote:
> > Whether to default to new kernel which can be unwanted in certain
> > situations or not is a policy question which doesn't belong to rpm
> > level. Doesn't belong to depsolvers either. All we really need is
> > something like /etc/sysconfig/kernel where you can put
> > MAKEDEFAULT=yes|no
> > and make new-kernel-pkg honor that, eg:
> >
> > --- new-kernel-pkg.orig 2004-10-09 16:35:56.000000000 +0300
> > +++ new-kernel-pkg 2004-10-09 16:43:37.403284208 +0300
> > @@ -22,6 +22,8 @@
> > grubby=/sbin/grubby
> > fi
> >
> > +[ -f /etc/sysconfig/kernel ] && . /etc/sysconfig/kernel
> > +
> > cfgGrub=""
> > cfgLilo=""
> > runLilo=""
> > @@ -87,6 +89,8 @@
> > return
> > fi
> >
> > + [ "$MAKEDEFAULT" = "yes" ] && makedefault="--make-default"
> > +
> > INITRD=""
> > if [ -f $initrdfile ]; then
> > [ -n "$verbose" ] && echo "found $initrdfile and using it with grubby"
>
> I'd agree here. This is one of the reasons why I've been trying to get
> that code out of yum and into user editable modules.
Yup. Don't put the code back, lets get this fixed where it belongs.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135161
- Panu -
More information about the fedora-test-list
mailing list