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

Re: Anaconda upgrades and bootloader options



> > >      2. Update boot loader configuration
> > >               * does not run grub-install
> > >               * When the kernel package is upgraded, it will call
> > >                 'new-kernel-pkg' from it's %scripts and this eventually
> > >                 updates the existing bootloader configuration file (e.g.
> > >                 grub.conf, yaboot.conf, elilo.conf, zipl.conf).
> > 
> >             self.dispatch.skipStep("bootloadersetup", skip = 0)
> >             self.dispatch.skipStep("bootloader", skip = 1)
> >             self.dispatch.skipStep("instbootloader", skip = 0)
> >             self.bl.doUpgradeOnly = 1
> > 
> > This option will cause no changes to be written to grub.conf, but
> > grub-install will still be run.  Whatever the kernel's %post script does
> > will have happened before we hit the instbootloader step.
> 
> If I'm being really picky here, this might be better described as 
> 'Update boot loader', as it's not touching the configuration file. 

That is picky, but more correct, yes.

> What's the usage case for option #2? When would you *want* to run
> grub-install but not change other config options?

You want to update the installation of grub on the system to take
advantage of whatever changes have been made to the package, but don't
want to touch any of your configs?  I dunno.

- Chris


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