Skip to content

Commit

Permalink
moving add_yast2_dependencies to a previous point in order to notify …
Browse files Browse the repository at this point in the history
…libyzpp
  • Loading branch information
schubi2 committed Nov 20, 2015
1 parent 7bd3244 commit 1ab4645
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/clients/inst_autosetup.rb
Expand Up @@ -337,8 +337,18 @@ def main
return :abort if Popup.ConfirmAbort(:painless) if UI.PollInput == :abort

Progress.NextStage

# Evaluating package and patterns selection.
# Selection will stored in PackageAI.
AutoinstSoftware.Import(Ops.get_map(Profile.current, "software", {}))

# Add additional packages in order to run YAST modules which
# has been defined the AutoYaST configuration file.
# Selection will stored in PackageAI.
add_yast2_dependencies if AutoinstFunctions.second_stage_required?

# Adding selections (defined in PackageAI) to libzypp and solving
# package dependencies.
if !AutoinstSoftware.Write
Report.Error(
_("Error while configuring software selections.\nTry again.\n")
Expand Down Expand Up @@ -389,8 +399,6 @@ def main

Progress.Finish

add_yast2_dependencies if AutoinstFunctions.second_stage_required?

@ret = ProductControl.RunFrom(
Ops.add(ProductControl.CurrentStep, 1),
true
Expand Down

0 comments on commit 1ab4645

Please sign in to comment.