Skip to content

Commit

Permalink
Merge 98910e1 into f7c2f6c
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed May 19, 2021
2 parents f7c2f6c + 98910e1 commit b4de110
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/installation/clients/inst_doit.rb
Expand Up @@ -19,6 +19,8 @@
# current contact information at www.novell.com.
# ------------------------------------------------------------------------------

require "installation/installation_info"

module Yast
# Asks user to really do the installation/update.
class InstDoitClient < Client
Expand Down Expand Up @@ -64,6 +66,11 @@ def main
false,
false
)

# Log all information about the installation/update
::Installation::InstallationInfo.instance.write(
Mode.update ? "Starting update" : "Starting installation"
)
end

@confirmed ? :next : :back
Expand Down
4 changes: 4 additions & 0 deletions src/lib/installation/clients/installation.rb
Expand Up @@ -30,6 +30,7 @@
# $Id$

require "ui/wizards/layout"
require "installation/installation_data"

module Yast
class InstallationClient < Client
Expand All @@ -48,6 +49,9 @@ def main
Yast.import "ProductFeatures"
Yast.import "ProductControl"

# register the installation data dump callback
::Installation::InstallationData.add

# log the inst-sys identification for easier debugging
log_os_release

Expand Down

0 comments on commit b4de110

Please sign in to comment.