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 Kernel Team

 
 
LinkBack Thread Tools
 
Old 02-13-2009, 05:17 PM
Chris Lumens
 
Default If we'd show package selection on kickstart installs, also show tasksel.

---
kickstart.py | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 08f27e9..9a7099f 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1216,7 +1216,6 @@ def setSteps(anaconda):
dispatch.skipStep("betanag")
dispatch.skipStep("regkey")
dispatch.skipStep("installtype")
- dispatch.skipStep("tasksel")
dispatch.skipStep("network")

# Don't show confirmation screens on non-interactive installs.
@@ -1232,22 +1231,21 @@ def setSteps(anaconda):
# If the package section included anything, skip group selection unless
# they're in interactive.
if ksdata.upgrade.upgrade:
- ksdata.skipSteps.append("group-selection")
+ ksdata.skipSteps.extend(["tasksel", "group-selection"])

# Special check for this, since it doesn't make any sense.
if ksdata.packages.seen:
warnings.warn("Ignoring contents of %packages section due to upgrade.")
elif havePackages(ksdata.packages):
if interactive:
- ksdata.showSteps.append("group-selection")
+ ksdata.showSteps.extend(["tasksel", "group-selection"])
else:
- ksdata.skipSteps.append("group-selection")
+ ksdata.skipSteps.extend(["tasksel", "group-selection"])
else:
- ksdata.skipSteps.append("group-selection")
if ksdata.packages.seen:
- ksdata.skipSteps.append("group-selection")
+ ksdata.skipSteps.extend(["tasksel", "group-selection"])
else:
- ksdata.showSteps.append("group-selection")
+ ksdata.showSteps.extend(["tasksel", "group-selection"])

if not interactive:
for n in ksdata.skipSteps:
--
1.6.0.3

_______________________________________________
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 01:25 PM.

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