On Wed, 2010-09-15 at 12:09 -0700, Brian C. Lane wrote:
> NOTE: I've tested this against f13 to f14 update with new bootloader and with upgrade bootloader. Works fine.
>
> This fixes 0783c488cdda8e7157511df1365ccc5ec95a2d33 so that old kernels
> are removed only when a new bootloader is installed, but not for a
> bootloader upgrade.
> ---
> pyanaconda/yuminstall.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
> index 876a843..11f014a 100644
> --- a/pyanaconda/yuminstall.py
> +++ b/pyanaconda/yuminstall.py
> @@ -408,7 +408,7 @@ class AnacondaYum(YumSorter):
> self.anaconda.methodstr = self.anaconda.intf.methodstrRepoWindow(self.anacon da.methodstr or "cdrom:")
>
> self.doConfigSetup(root=self.anaconda.rootPath)
> - if not self.anaconda.upgrade:
> + if not self.anaconda.bootloader.doUpgradeOnly:
> self.conf.installonlypkgs = []
>
> def _switchCD(self, discnum):
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list