Class: Yast::InstDataClass

Inherits:
Module
  • Object
show all
Defined in:
src/modules/InstData.rb

Instance Method Summary collapse

Instance Method Details

#mainObject



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'src/modules/InstData.rb', line 35

def main
  textdomain "installation"

  Yast.import "Directory"

  # --> system analysis

  @start_mode = nil

  # <-- system analysis

  # --> software selection

  @selected_desktop = nil

  @current_systasks_status = {}

  # <-- software selection

  # --> other

  @product_license_accepted = false

  # keep steps disabled in first stage also disabled in second stage
  # see bnc #364066
  @wizardsteps_disabled_modules = Ops.add(
    Directory.vardir,
    "/installation_disabled_steps"
  )
  @wizardsteps_disabled_proposals = Ops.add(
    Directory.vardir,
    "/installation_disabled_proposals"
  )
  @wizardsteps_disabled_subproposals = Ops.add(
    Directory.vardir,
    "/installation_disabled_subproposals"
  )
  # temporary variables for disabling and enabling steps
  @localDisabledModules = []
  @localDisabledProposals = []

  # <-- other

  # --> copy files -- config
  # FATE #305019: configure the files to copy from a previous installation

  @copy_files_use_control_file = true

  @additional_copy_files = []

  # <-- copy files -- config

  # variables for OEM image installation

  # disk to use for OEM image
  @image_target_disk = nil

  # downloaded (also from media) release notes, product => text
  @release_notes = {}
end