Skip to content

Commit

Permalink
Merge b51da58 into f7c2f6c
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed May 20, 2021
2 parents f7c2f6c + b51da58 commit 916b5b8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
8 changes: 8 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu May 20 14:29:15 UTC 2021 - Ladislav Slezák <lslezak@suse.cz>

- Logging all available product information into directory
/var/log/YaST2/installation_info. This should help for evaluating
the cause of e.g. bsc#1180888, bsc#1180908, bsc#1178688.
- 4.4.8

-------------------------------------------------------------------
Tue May 18 12:39:25 UTC 2021 - Knut Anderssen <kanderssen@suse.com>

Expand Down
6 changes: 3 additions & 3 deletions package/yast2-installation.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-installation
Version: 4.4.7
Version: 4.4.8
Release: 0
Summary: YaST2 - Installation Parts
License: GPL-2.0-only
Expand Down Expand Up @@ -70,8 +70,8 @@ Requires: iproute2
Requires: pciutils
# tar-gzip some system files and untar-ungzip them after the installation (FATE #300421, #120103)
Requires: tar
# Yast2::FsSnapshotStore::IOError
Requires: yast2 >= 4.3.53
# Installation::InstallationInfo
Requires: yast2 >= 4.4.4
# CIOIgnore
Requires: yast2-bootloader
Requires: yast2-country >= 3.3.1
Expand Down
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 916b5b8

Please sign in to comment.