[PATCH] Provide ways in kickstart to skip kernel and bootloader (#1074522).

Vratislav Podzimek vpodzime at redhat.com
Mon Mar 17 08:52:39 UTC 2014


On Fri, 2014-03-14 at 17:34 -0400, David Shea wrote:
> On 03/14/2014 03:20 PM, Chris Lumens wrote:
> > This patch (along with those in pykickstart and blivet) allows for a kickstart
> > file to do the following:
> >
> > (1) Prevent any kernel package from being installed by putting "-kernel" in the
> > %packages section.
> >
> > (2) Prevent any bootloader package from being installed (and therefore, any
> > bootloader config from being written) by putting "bootloader --disabled" in
> > the command section.
> > ---
> >   anaconda.spec.in                 | 4 ++--
> >   pyanaconda/install.py            | 4 +++-
> >   pyanaconda/packaging/__init__.py | 3 +++
> >   3 files changed, 8 insertions(+), 3 deletions(-)
> 
> You need to update the superclass of pyanaconda.kickstart.Bootloader. 
> Also, will skipping the progress_report call around Installing 
> bootloader mess up the progress bar? (I'm actually not sure since it's 
> at the end).
Yeah, there should be one less step in case the bootloader is not being
installed. On the other hand, I think we have wrong numbers there anyway
and setting progress bar to 100 % in the end covers that.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list