[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH - rhel6-branch master] On text kickstart installs, doBasePackageSelect still needs to run (#559593).



Ack.

On 02/02/2010 03:48 PM, Chris Lumens wrote:
This method is what calls kickstart.selectPackages, so not running it means the
%packages section of the kickstart file will never be applied.
---
  backend.py |    2 +-
  text.py    |    1 -
  2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/backend.py b/backend.py
index e8e1c84..a677dbb 100644
--- a/backend.py
+++ b/backend.py
@@ -307,7 +307,7 @@ def doBasePackageSelect(anaconda):
      anaconda.backend.resetPackageSelections()
      if anaconda.isKickstart:
          kickstart.selectPackages(anaconda)
-    else:
+    elif anaconda.id.displayMode != 't':
          anaconda.id.instClass.setPackageSelection(anaconda)
          anaconda.id.instClass.setGroupSelection(anaconda)

diff --git a/text.py b/text.py
index 1adc6a3..3a8eaad 100644
--- a/text.py
+++ b/text.py
@@ -662,7 +662,6 @@ class InstallInterface:
          anaconda.dispatch.skipStep("filtertype")
          anaconda.dispatch.skipStep("filter")
          anaconda.dispatch.skipStep("cleardiskssel")
-        anaconda.dispatch.skipStep("basepkgsel")
          anaconda.dispatch.skipStep("group-selection")

  def killSelf(screen):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]