Hello community,

here is the log from the commit of package yast2-installation for 
openSUSE:Factory checked in at 2018-05-06 14:58:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-installation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-installation"

Sun May  6 14:58:09 2018 rev:402 rq:603592 version:4.0.55

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes    
2018-04-26 13:29:51.746038921 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes   
    2018-05-06 14:58:12.176216584 +0200
@@ -1,0 +2,37 @@
+Fri Apr 27 15:07:15 UTC 2018 - [email protected]
+
+- Do not warn too soon about missing disks during autoinstallation
+  (bsc#1091033)
+- 4.0.55
+
+-------------------------------------------------------------------
+Fri Apr 27 13:22:53 UTC 2018 - [email protected]
+
+- Better handle the restore scripts when YaST is aborted or
+  crashes (bsc#1089643)
+- Delete the .repo files accidentally saved into inst-sys
+  (fixes problems when restarting YaST after abort or crash)
+- 4.0.54
+
+-------------------------------------------------------------------
+Wed Apr 25 10:43:58 UTC 2018 - [email protected]
+
+- fix regression to show again iscsi configuration for disk-less
+  setup  (bsc#1090753)
+- 4.0.53
+
+-------------------------------------------------------------------
+Wed Apr 25 06:03:53 UTC 2018 - [email protected]
+
+- Fix text direction for RTL languages in the installer settings
+  screen (bsc#1089846).
+- 4.0.52
+
+-------------------------------------------------------------------
+Tue Apr 24 11:41:26 UTC 2018 - [email protected]
+
+- Fixed "vnc.sh: /root/.profile: No such file or directory"
+  (bsc#1089623).
+- 4.0.51
+
+-------------------------------------------------------------------

Old:
----
  yast2-installation-4.0.50.tar.bz2

New:
----
  yast2-installation-4.0.55.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.wMKGEJ/_old  2018-05-06 14:58:12.744195742 +0200
+++ /var/tmp/diff_new_pack.wMKGEJ/_new  2018-05-06 14:58:12.744195742 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-installation
-Version:        4.0.50
+Version:        4.0.55
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -28,7 +28,7 @@
 Requires:       yast2-ruby-bindings >= 4.0.6
 
 Summary:        YaST2 - Installation Parts
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/YaST
 
 Source1:        YaST2-Second-Stage.service
@@ -43,17 +43,17 @@
 BuildRequires:  rubygem(rspec)
 BuildRequires:  rubygem(yast-rake)
 
-# Mandatory language in Product#release_notes
-BuildRequires:  yast2 >= 4.0.49
+# TextHelpers#div_with_direction
+BuildRequires:  yast2 >= 4.0.72
 # Yast::Packages.check_remote_installation_packages
 BuildRequires:  yast2-packager >= 4.0.9
 
-# Y2Storage::StorageManager#activate and #probe as boolean
-BuildRequires:  yast2-storage-ng >= 4.0.114
-Requires:       yast2-storage-ng >= 4.0.114
+# Y2Storage::StorageManager#devices_for_installation?
+BuildRequires:  yast2-storage-ng >= 4.0.168
+Requires:       yast2-storage-ng >= 4.0.168
 
-# Mandatory language in Product#release_notes
-Requires:       yast2 >= 4.0.49
+# TextHelpers#div_with_direction
+Requires:       yast2 >= 4.0.72
 
 # Language::GetLanguageItems and other API
 # Language::Set (handles downloading the translation extensions)

++++++ yast2-installation-4.0.50.tar.bz2 -> yast2-installation-4.0.55.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/package/yast2-installation.changes 
new/yast2-installation-4.0.55/package/yast2-installation.changes
--- old/yast2-installation-4.0.50/package/yast2-installation.changes    
2018-04-19 16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/package/yast2-installation.changes    
2018-05-03 11:15:01.000000000 +0200
@@ -1,4 +1,41 @@
 -------------------------------------------------------------------
+Fri Apr 27 15:07:15 UTC 2018 - [email protected]
+
+- Do not warn too soon about missing disks during autoinstallation
+  (bsc#1091033)
+- 4.0.55
+
+-------------------------------------------------------------------
+Fri Apr 27 13:22:53 UTC 2018 - [email protected]
+
+- Better handle the restore scripts when YaST is aborted or
+  crashes (bsc#1089643)
+- Delete the .repo files accidentally saved into inst-sys
+  (fixes problems when restarting YaST after abort or crash)
+- 4.0.54
+
+-------------------------------------------------------------------
+Wed Apr 25 10:43:58 UTC 2018 - [email protected]
+
+- fix regression to show again iscsi configuration for disk-less
+  setup  (bsc#1090753)
+- 4.0.53
+
+-------------------------------------------------------------------
+Wed Apr 25 06:03:53 UTC 2018 - [email protected]
+
+- Fix text direction for RTL languages in the installer settings
+  screen (bsc#1089846).
+- 4.0.52
+
+-------------------------------------------------------------------
+Tue Apr 24 11:41:26 UTC 2018 - [email protected]
+
+- Fixed "vnc.sh: /root/.profile: No such file or directory"
+  (bsc#1089623).
+- 4.0.51
+
+-------------------------------------------------------------------
 Thu Apr 19 13:05:23 UTC 2018 - [email protected]
 
 - Log more details when unmounting the target partition fails
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/package/yast2-installation.spec 
new/yast2-installation-4.0.55/package/yast2-installation.spec
--- old/yast2-installation-4.0.50/package/yast2-installation.spec       
2018-04-19 16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/package/yast2-installation.spec       
2018-05-03 11:15:01.000000000 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:           yast2-installation
-Version:        4.0.50
+Version:        4.0.55
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -42,17 +42,17 @@
 BuildRequires:  rubygem(rspec)
 BuildRequires:  rubygem(yast-rake)
 
-# Mandatory language in Product#release_notes
-BuildRequires:  yast2 >= 4.0.49
+# TextHelpers#div_with_direction
+BuildRequires:  yast2 >= 4.0.72
 # Yast::Packages.check_remote_installation_packages
 BuildRequires: yast2-packager >= 4.0.9
 
-# Y2Storage::StorageManager#activate and #probe as boolean
-BuildRequires: yast2-storage-ng >= 4.0.114
-Requires:      yast2-storage-ng >= 4.0.114
+# Y2Storage::StorageManager#devices_for_installation?
+BuildRequires: yast2-storage-ng >= 4.0.168
+Requires:      yast2-storage-ng >= 4.0.168
 
-# Mandatory language in Product#release_notes
-Requires:       yast2 >= 4.0.49
+# TextHelpers#div_with_direction
+Requires:       yast2 >= 4.0.72
 
 # Language::GetLanguageItems and other API
 # Language::Set (handles downloading the translation extensions)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/src/include/installation/inst_inc_all.rb 
new/yast2-installation-4.0.55/src/include/installation/inst_inc_all.rb
--- old/yast2-installation-4.0.50/src/include/installation/inst_inc_all.rb      
2018-04-19 16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/src/include/installation/inst_inc_all.rb      
2018-05-03 11:15:01.000000000 +0200
@@ -26,6 +26,9 @@
 #
 # $Id$
 #
+
+require "y2storage"
+
 module Yast
   module InstallationInstIncAllInclude
     def initialize_installation_inst_inc_all(_include_target)
@@ -42,11 +45,6 @@
       Yast.import "Installation"
       Yast.import "Stage"
       Yast.import "Mode"
-# storage-ng
-# rubocop:disable Style/BlockComments
-=begin
-      Yast.import "Storage"
-=end
     end
 
     def SetInitializingUI
@@ -243,11 +241,7 @@
       # disable disks activation if not needed
       iscsi = Linuxrc.InstallInf("WithiSCSI") == "1"
       fcoe = Linuxrc.InstallInf("WithFCoE") == "1"
-      # storage-ng
-      no_disk = false
-=begin
-      no_disk = Builtins.isempty(Storage.GetDetectedDiskPaths)
-=end
+      no_disk = !::Y2Storage::StorageManager.instance.devices_for_installation?
 
       if !((Arch.s390 && !Arch.is_zkvm) || iscsi || fcoe || no_disk)
         Builtins.y2milestone("Disabling disk activation module")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/src/lib/installation/clients/inst_system_analysis.rb
 
new/yast2-installation-4.0.55/src/lib/installation/clients/inst_system_analysis.rb
--- 
old/yast2-installation-4.0.50/src/lib/installation/clients/inst_system_analysis.rb
  2018-04-19 16:07:10.000000000 +0200
+++ 
new/yast2-installation-4.0.55/src/lib/installation/clients/inst_system_analysis.rb
  2018-05-03 11:15:01.000000000 +0200
@@ -189,29 +189,21 @@
         drivers_info = ""
       end
 
-      if devicegraph.empty?
-        if Mode.auto
-          Report.Warning(
+      # This error message is only shown when no disks where found during a 
normal
+      # installation. The autoinstallation case will be handled later by 
AutoYaST at
+      # 
https://github.com/yast/yast-autoinstallation/blob/8e414637d8157462bee5e1ee29c5d2e747754670/src/modules/AutoinstStorage.rb#L334
+      if devicegraph.empty? && !Mode.auto?
+        Report.Error(
+          Builtins.sformat(
             # TRANSLATORS: Error pop-up
             _(
               "No hard disks were found for the installation.\n" \
-              "During an automatic installation, they might be detected 
later.\n" \
-              "(especially on S/390 or iSCSI systems)\n"
-            )
+              "Please check your hardware!\n" \
+              "%1\n"
+            ),
+            drivers_info
           )
-        else
-          Report.Error(
-            Builtins.sformat(
-              # TRANSLATORS: Error pop-up
-              _(
-                "No hard disks were found for the installation.\n" \
-                "Please check your hardware!\n" \
-                "%1\n"
-              ),
-              drivers_info
-            )
-          )
-        end
+        )
 
         return false
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/src/lib/installation/proposal_runner.rb 
new/yast2-installation-4.0.55/src/lib/installation/proposal_runner.rb
--- old/yast2-installation-4.0.50/src/lib/installation/proposal_runner.rb       
2018-04-19 16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/src/lib/installation/proposal_runner.rb       
2018-05-03 11:15:01.000000000 +0200
@@ -268,7 +268,7 @@
       @submodules_presentation.each do |mod|
         @proposal << (@html[mod] || "")
       end
-      display_proposal(@proposal)
+      display_proposal(div_with_direction(@proposal))
       submod_descriptions_and_build_menu
     end
 
@@ -478,7 +478,7 @@
           proposal = presentation_modules.reduce("") do |res, mod|
             res << (@html[mod] || "")
           end
-          display_proposal(proposal)
+          display_proposal(div_with_direction(proposal))
         end
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/src/lib/installation/select_system_role.rb 
new/yast2-installation-4.0.55/src/lib/installation/select_system_role.rb
--- old/yast2-installation-4.0.50/src/lib/installation/select_system_role.rb    
2018-04-19 16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/src/lib/installation/select_system_role.rb    
2018-05-03 11:15:01.000000000 +0200
@@ -22,6 +22,7 @@
 require "ui/installation_dialog"
 require "installation/services"
 require "installation/system_role"
+require "ui/text_helpers"
 
 Yast.import "GetInstArgs"
 Yast.import "Packages"
@@ -32,6 +33,8 @@
 
 module Installation
   class SelectSystemRole < ::UI::InstallationDialog
+    include UI::TextHelpers
+
     class << self
       # once the user selects a role, remember it in case they come back
       attr_accessor :original_role_id
@@ -254,7 +257,7 @@
       VBox(
         Left(Label(intro_text)),
         VSpacing(2),
-        RichText(Id(:roles_richtext), role_rt_radios.join("\n"))
+        RichText(Id(:roles_richtext), 
div_with_direction(role_rt_radios.join("\n")))
       )
     end
 
@@ -283,7 +286,10 @@
       installation = ENV["Y2STYLE"] == "installation.qss"
       if installation
         image = selected ? "inst_radio-button-checked.png" : 
"inst_radio-button-unchecked.png"
-        bullet = "<img src=\"#{IMAGE_DIR}/#{image}\"></img>"
+        # NOTE: due to a Qt bug, the first image does not get rendered 
properly. So we are
+        # rendering it twice (one with height and width set to "0").
+        bullet = "<img src=\"#{IMAGE_DIR}/#{image}\" height=\"0\" 
width=\"0\"></img>" \
+                 "<img src=\"#{IMAGE_DIR}/#{image}\"></img>"
       else
         bullet = selected ? BUTTON_ON : BUTTON_OFF
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/startup/First-Stage/F09-start 
new/yast2-installation-4.0.55/startup/First-Stage/F09-start
--- old/yast2-installation-4.0.50/startup/First-Stage/F09-start 2018-04-19 
16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/startup/First-Stage/F09-start 2018-05-03 
11:15:01.000000000 +0200
@@ -17,6 +17,10 @@
 # Using /dev/null - If there is nothing to do, let it fail silently
 SUSEConnect --cleanup > /dev/null 2>&1
 
+# delete the repositories accidentally saved into inst-sys
+# they make troubles when restarting YaST
+rm -fv /etc/zypp/repos.d/*.repo
+
 #=============================================
 # 9.1) check for driver update mode
 #---------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-installation-4.0.50/startup/YaST2.call 
new/yast2-installation-4.0.55/startup/YaST2.call
--- old/yast2-installation-4.0.50/startup/YaST2.call    2018-04-19 
16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/startup/YaST2.call    2018-05-03 
11:15:01.000000000 +0200
@@ -277,7 +277,9 @@
 function restore_backup () {
   # restores backup if it is available
     if [ -d /mnt/var/adm/backup/system-upgrade ]; then
+       log "\tStarting restore scripts"
         for i in /mnt/var/adm/backup/system-upgrade/restore-*.sh; do
+           log "\tStarting $i"
             sh $i /mnt
         done
     fi
@@ -334,6 +336,7 @@
                tee /var/log/YaST2/gdb-log
            Y2_EXIT_CODE=$?
        fi
+       log "\tY2_EXIT_CODE: $Y2_EXIT_CODE"
 
        Y2_ABORT_MESSAGE="YaST seems to be aborted abnormally !"
        Y2_OK_MESSAGE="YaST procedure ended successfully"
@@ -344,7 +347,6 @@
                cat /etc/yast.inf | grep -q -i "Aborted: 1"
                if [ $? = 0 ];then
                        log "\t$Y2_ABORT_MESSAGE"
-                        restore_backup
                fi
        else
                #=============================================
@@ -658,6 +660,13 @@
        done
 fi
 
+if [ -s /etc/yast.inf ];then
+        # aborted, restore the upgrade backup
+        grep -q -i "^Aborted:[ \t]*1" /etc/yast.inf && restore_backup
+        # no abort, not reboot status => YaST crashed, restore the upgrade 
backup
+        grep -q -i -v -e "^Aborted:" -e "^Root:" /etc/yast.inf && 
restore_backup
+fi
+
 #=============================================
 # 10) exit with YaST2 exit code
 #---------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-installation-4.0.50/startup/common/vnc.sh 
new/yast2-installation-4.0.55/startup/common/vnc.sh
--- old/yast2-installation-4.0.50/startup/common/vnc.sh 2018-04-19 
16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/startup/common/vnc.sh 2018-05-03 
11:15:01.000000000 +0200
@@ -18,7 +18,10 @@
 
 . /etc/YaST2/XVersion
 # set python path for websockify
-. /root/.profile
+# (only present and needed in the inst-sys)
+if [ -r /root/.profile ]; then
+        . /root/.profile
+fi
 
 #----[ setupVNCAuthentication ]------#
 setupVNCAuthentication () {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.0.50/test/select_system_role_test.rb 
new/yast2-installation-4.0.55/test/select_system_role_test.rb
--- old/yast2-installation-4.0.50/test/select_system_role_test.rb       
2018-04-19 16:07:10.000000000 +0200
+++ new/yast2-installation-4.0.55/test/select_system_role_test.rb       
2018-05-03 11:15:01.000000000 +0200
@@ -14,6 +14,7 @@
     end
 
     allow(Yast::UI).to receive(:ChangeWidget)
+    allow(Yast::Language).to receive(:language).and_return("en_US")
 
     Installation::SystemRole.clear # Clear system roles cache
   end


Reply via email to