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 > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 01-16-2009, 09:06 PM
Will Woods
 
Default Only run selectBestKernel, selectBootloader, etc. for new installs.

Since we run selectBestKernel, selectBootloader, etc. for new
installs, upgrades will always have a kernel and bootloader and
other necessary packages installed. It used to be harmless to run
them anyway, but now forcing things into the package set will break
preupgrade. See RHBZ #476714.
---
yuminstall.py | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index c62c09b..4826c03 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1325,11 +1325,12 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
self.ayum.dsCallback = dscb

# do some sanity checks for kernel and bootloader
- self.selectBestKernel(anaconda)
- self.selectBootloader()
- self.selectFSPackages(anaconda.id.fsset, anaconda.id.diskset)
-
- self.selectAnacondaNeeds()
+ if not anaconda.id.getUpgrade():
+ # New installs only - upgrades will already have all this stuff.
+ self.selectBestKernel(anaconda)
+ self.selectBootloader()
+ self.selectFSPackages(anaconda.id.fsset, anaconda.id.diskset)
+ self.selectAnacondaNeeds()

if anaconda.id.getUpgrade():
self.ayum.update()
--
1.6.0.6

_______________________________________________
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 03:22 PM.

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