FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-15-2010, 07:52 PM
David Lehman
 
Default Remove old kernels with new bootloader (#633234)

Ack for master and f14-branch.

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
 

Thread Tools




All times are GMT. The time now is 07:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org