Hello community,

here is the log from the commit of package yast2-storage for openSUSE:Factory 
checked in at 2016-03-26 15:10:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-storage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-storage"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes      
2016-03-11 09:47:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 
2016-03-26 15:10:24.000000000 +0100
@@ -1,0 +2,9 @@
+Fri Mar 11 15:27:46 CET 2016 - [email protected]
+
+- Add PowerNV support. (boo#970582)
+  PowerNV doesn't require any special boot partition.
+  Firmware just kexecs kernel of the root device
+- Require libstorage 2.25.36
+- 3.1.84
+
+-------------------------------------------------------------------
@@ -20,0 +30,7 @@
+
+-------------------------------------------------------------------
+Wed Mar  2 16:39:46 CET 2016 - [email protected]
+
+- Efi boot: Selecting Efi Boot file system ID and allowing
+  formating at the same time. (bnc#934652)
+- 3.1.83

Old:
----
  yast2-storage-3.1.82.tar.bz2

New:
----
  yast2-storage-3.1.84.tar.bz2

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

Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.MhY5PY/_old  2016-03-26 15:10:25.000000000 +0100
+++ /var/tmp/diff_new_pack.MhY5PY/_new  2016-03-26 15:10:25.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.1.82
+Version:        3.1.84
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -26,8 +26,8 @@
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
-BuildRequires:  libstorage-devel >= 2.25.23
-BuildRequires:  libstorage-ruby >= 2.25.23
+BuildRequires:  libstorage-devel >= 2.25.36
+BuildRequires:  libstorage-ruby >= 2.25.36
 BuildRequires:  libtool
 BuildRequires:  libxslt
 BuildRequires:  perl-XML-Writer
@@ -40,8 +40,8 @@
 BuildRequires:  yast2-testsuite >= 2.19.0
 BuildRequires:  rubygem(rspec)
 BuildRequires:  rubygem(ruby-dbus)
-Requires:       libstorage-ruby >= 2.25.23
-Requires:       libstorage6 >= 2.25.23
+Requires:       libstorage-ruby >= 2.25.36
+Requires:       libstorage6 >= 2.25.36
 Requires:       yast2 >= 3.1.22
 Requires:       yast2-core >= 2.18.3
 Requires:       yast2-libyui >= 2.18.7

++++++ yast2-storage-3.1.82.tar.bz2 -> yast2-storage-3.1.84.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/package/yast2-storage.changes 
new/yast2-storage-3.1.84/package/yast2-storage.changes
--- old/yast2-storage-3.1.82/package/yast2-storage.changes      2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/package/yast2-storage.changes      2016-03-17 
11:30:06.000000000 +0100
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Fri Mar 11 15:27:46 CET 2016 - [email protected]
+
+- Add PowerNV support. (boo#970582)
+  PowerNV doesn't require any special boot partition.
+  Firmware just kexecs kernel of the root device
+- Require libstorage 2.25.36
+- 3.1.84
+
+-------------------------------------------------------------------
 Wed Mar 09 12:08:53 CET 2016 - [email protected]
 
 - disallow to continue with workflow when no root filesystem is
@@ -20,6 +29,13 @@
 - 3.1.80
 
 -------------------------------------------------------------------
+Wed Mar  2 16:39:46 CET 2016 - [email protected]
+
+- Efi boot: Selecting Efi Boot file system ID and allowing
+  formating at the same time. (bnc#934652)
+- 3.1.83
+
+-------------------------------------------------------------------
 Wed Feb 24 12:00:37 UTC 2016 - [email protected]
 
 - Restoration of auto-deleted shadowed subvolumes works all along
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/package/yast2-storage.spec 
new/yast2-storage-3.1.84/package/yast2-storage.spec
--- old/yast2-storage-3.1.82/package/yast2-storage.spec 2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/package/yast2-storage.spec 2016-03-17 
11:30:06.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.1.82
+Version:        3.1.84
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -29,8 +29,8 @@
 BuildRequires: docbook-xsl-stylesheets
 BuildRequires: doxygen
 BuildRequires: gcc-c++ libtool
-BuildRequires: libstorage-devel >= 2.25.23
-BuildRequires: libstorage-ruby >= 2.25.23
+BuildRequires: libstorage-devel >= 2.25.36
+BuildRequires: libstorage-ruby >= 2.25.36
 BuildRequires: libxslt
 BuildRequires: perl-XML-Writer
 BuildRequires: rubygem(rspec)
@@ -42,8 +42,8 @@
 BuildRequires: yast2-devtools >= 3.1.10
 BuildRequires: yast2-ruby-bindings >= 3.1.7
 BuildRequires: yast2-testsuite >= 2.19.0
-Requires:      libstorage-ruby >= 2.25.23
-Requires:      libstorage6 >= 2.25.23
+Requires:      libstorage-ruby >= 2.25.36
+Requires:      libstorage6 >= 2.25.36
 Requires:      rubygem(%{rb_default_ruby_abi}:ruby-dbus)
 Requires:      yast2 >= 3.1.22
 Requires:      yast2-core >= 2.18.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/src/include/partitioning/ep-dialogs.rb 
new/yast2-storage-3.1.84/src/include/partitioning/ep-dialogs.rb
--- old/yast2-storage-3.1.82/src/include/partitioning/ep-dialogs.rb     
2016-03-09 12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/src/include/partitioning/ep-dialogs.rb     
2016-03-17 11:30:06.000000000 +0100
@@ -48,6 +48,15 @@
 
       role = data.value.fetch("role", :data)
 
+      efi_select = Empty()
+      if Partitions.EfiBoot && (Arch.i386 || Arch.x86_64 || Arch.aarch64)
+        efi_select = term(
+          :LeftRadioButton, Id(:efi_boot),
+          # radio button text
+          _("EFI Boot Partition"), role == :efi_boot
+        )
+      end
+
       tmp = VBox(
         term(
           :LeftRadioButton, Id(:system),
@@ -59,6 +68,7 @@
           # radio button text
           _("Data and ISV Applications"), role == :data
         ),
+        efi_select,
         term(
           :LeftRadioButton, Id(:swap),
           # radio button text
@@ -93,7 +103,10 @@
 
       if widget == :next
         role = UI.QueryWidget(Id(:role), :Value)
-        data.value["role"] = role
+        if data.value["role"] != role
+          data.value["role"] = role
+          data.value["formatmount_proposed"] = false #make a new proposal
+        end
       end
 
       log.info("MiniWorkflowStepRole data:#{data.value} ret:#{widget}")
@@ -256,6 +269,16 @@
           data["used_fs"] = used_fs
           data["mount"] = mount_point_proposal
 
+        when :efi_boot
+          mount_point_proposal = "/boot/efi"
+          used_fs = Partitions.DefaultBootFs
+
+          data["format"] = true
+          data["fsid"] = Partitions.FsidBoot( lbl )
+          data["ori_fsid"] = Partitions.FsidBoot( lbl )
+          data["used_fs"] = used_fs
+          data["mount"] = mount_point_proposal
+
         when :raw
           mount_point_proposal = ""
           used_fs = :none
@@ -441,6 +464,15 @@
       UI.ChangeWidget(Id(:do_mount_attachment), :Enabled, do_mount)
       UI.ChangeWidget(Id(:mount_point), :Value, mount)
 
+      if data["new"] && role == :efi_boot
+        # Creating a new one.
+        # Only vfat, /boot/efi and "Efi Boot" makes sense here.
+        # So alternative selections are disabled.
+        UI.ChangeWidget(Id(:mount_point), :Enabled, false)
+        UI.ChangeWidget(Id(:fs), :Enabled, false)
+        UI.ChangeWidget(Id(:fsid_point), :Enabled, false)
+      end
+
       widget = nil
 
       data = HandlePartWidgetChanges(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/src/modules/FileSystems.rb 
new/yast2-storage-3.1.84/src/modules/FileSystems.rb
--- old/yast2-storage-3.1.82/src/modules/FileSystems.rb 2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/src/modules/FileSystems.rb 2016-03-17 
11:30:06.000000000 +0100
@@ -1414,7 +1414,7 @@
 
     def FileSystems
       Ops.set(@support, :vfat, false) if Arch.sparc64 || Arch.sparc32
-      if Arch.ppc
+      if Arch.ppc and !Arch.board_powernv
         Ops.set(@support, :vfat, Arch.board_chrp)
         Ops.set(@support, :xbootdisk, true)
         Ops.set(@support, :xxbootdisk, true)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/src/modules/Partitions.rb 
new/yast2-storage-3.1.84/src/modules/Partitions.rb
--- old/yast2-storage-3.1.82/src/modules/Partitions.rb  2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/src/modules/Partitions.rb  2016-03-17 
11:30:06.000000000 +0100
@@ -335,7 +335,7 @@
 
     def NeedBoot
       ret = false
-      if EfiBoot() || Arch.ia64 || Arch.ppc || Arch.sparc || Arch.alpha || 
Arch.s390
+      if EfiBoot() || Arch.ia64 || (Arch.ppc and !Arch.board_powernv)|| 
Arch.sparc || Arch.alpha || Arch.s390
         ret = true
       end
       Builtins.y2milestone("NeedBoot ret:%1", ret)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/src/modules/Storage.rb 
new/yast2-storage-3.1.84/src/modules/Storage.rb
--- old/yast2-storage-3.1.82/src/modules/Storage.rb     2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/src/modules/Storage.rb     2016-03-17 
11:30:06.000000000 +0100
@@ -5051,7 +5051,7 @@
         subvol_names.push("boot/grub2/x86_64-efi")
       end
 
-      if Arch.ppc
+      if Arch.ppc and !Arch.board_powernv
         subvol_names.push("boot/grub2/powerpc-ieee1275")
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/src/modules/StorageProposal.rb 
new/yast2-storage-3.1.84/src/modules/StorageProposal.rb
--- old/yast2-storage-3.1.82/src/modules/StorageProposal.rb     2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/src/modules/StorageProposal.rb     2016-03-17 
11:30:06.000000000 +0100
@@ -646,6 +646,8 @@
       ret = Partitions.NeedBoot ||
         disk.fetch("type",:CT_UNKNOWN) == :CT_DMRAID ||
        (disk.fetch("label","")=="gpt" && !Partitions.EfiBoot)
+      #We don't need boot for PowerNV even on gpt
+      ret = Partitions.NeedBoot if Arch.board_powernv
       log.info("need_boot ret:#{ret}")
       return ret
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/testsuite/data/Makefile.am 
new/yast2-storage-3.1.84/testsuite/data/Makefile.am
--- old/yast2-storage-3.1.82/testsuite/data/Makefile.am 2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/data/Makefile.am 2016-03-17 
11:30:07.000000000 +0100
@@ -4,5 +4,6 @@
 
 SUBDIRS = empty empty-efi half-empty reuse-home windows windows-only           
\
        windows-only-no-resize windows-only-efi empty-s390x empty-ppc64le       
\
-       empty-small empty-big empty-big-ppc64le lvm
+       empty-small empty-big empty-big-ppc64le lvm empty-ppc64le-nv            
\
+       empty-big-ppc64le-nv
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/data/empty-big-ppc64le-nv/Makefile.am 
new/yast2-storage-3.1.84/testsuite/data/empty-big-ppc64le-nv/Makefile.am
--- old/yast2-storage-3.1.82/testsuite/data/empty-big-ppc64le-nv/Makefile.am    
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/data/empty-big-ppc64le-nv/Makefile.am    
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,6 @@
+#
+# Makefile.am for src/testsuite/data/empty-big-ppc64le
+#
+
+EXTRA_DIST = disk_sda.info arch.info
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/data/empty-big-ppc64le-nv/arch.info 
new/yast2-storage-3.1.84/testsuite/data/empty-big-ppc64le-nv/arch.info
--- old/yast2-storage-3.1.82/testsuite/data/empty-big-ppc64le-nv/arch.info      
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/data/empty-big-ppc64le-nv/arch.info      
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<arch>
+  <arch>ppc64le</arch>
+  <ppc_powernv>true</ppc_powernv>
+</arch>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/data/empty-big-ppc64le-nv/disk_sda.info 
new/yast2-storage-3.1.84/testsuite/data/empty-big-ppc64le-nv/disk_sda.info
--- old/yast2-storage-3.1.82/testsuite/data/empty-big-ppc64le-nv/disk_sda.info  
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/data/empty-big-ppc64le-nv/disk_sda.info  
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<disk>
+  <name>sda</name>
+  <device>/dev/sda</device>
+  <size_k>2684354560</size_k>
+  <major>8</major>
+  <minor>16</minor>
+  <range>256</range>
+  <geometry>
+    <cylinders>334186</cylinders>
+    <heads>255</heads>
+    <sectors>63</sectors>
+  </geometry>
+  <label>gpt</label>
+  <max_primary>128</max_primary>
+</disk>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/data/empty-ppc64le-nv/Makefile.am 
new/yast2-storage-3.1.84/testsuite/data/empty-ppc64le-nv/Makefile.am
--- old/yast2-storage-3.1.82/testsuite/data/empty-ppc64le-nv/Makefile.am        
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/data/empty-ppc64le-nv/Makefile.am        
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,6 @@
+#
+# Makefile.am for storage/storage/src/testsuite/data/empty-ppc64le
+#
+
+EXTRA_DIST = disk_sda.info arch.info
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/data/empty-ppc64le-nv/arch.info 
new/yast2-storage-3.1.84/testsuite/data/empty-ppc64le-nv/arch.info
--- old/yast2-storage-3.1.82/testsuite/data/empty-ppc64le-nv/arch.info  
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/data/empty-ppc64le-nv/arch.info  
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<arch>
+  <arch>ppc64le</arch>
+  <ppc_powernv>true</ppc_powernv>
+</arch>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/data/empty-ppc64le-nv/disk_sda.info 
new/yast2-storage-3.1.84/testsuite/data/empty-ppc64le-nv/disk_sda.info
--- old/yast2-storage-3.1.82/testsuite/data/empty-ppc64le-nv/disk_sda.info      
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/data/empty-ppc64le-nv/disk_sda.info      
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<disk>
+  <name>sda</name>
+  <device>/dev/sda</device>
+  <size_k>312571224</size_k>
+  <major>8</major>
+  <minor>0</minor>
+  <range>256</range>
+  <geometry>
+    <cylinders>38913</cylinders>
+    <heads>255</heads>
+    <sectors>63</sectors>
+  </geometry>
+  <label>msdos</label>
+  <max_primary>4</max_primary>
+  <ext_possible>true</ext_possible>
+  <max_logical>63</max_logical>
+</disk>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le3.out 
new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le3.out
--- old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le3.out     
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le3.out     
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,39 @@
+Dump   Hardware Excerpt:
+Dump   Arch: ppc64
+Dump   Platform: PowerNV
+Dump   
+Dump   Proposal Settings Excerpt:
+Dump   LVM
+Dump   Separate Home
+Dump   
+Dump   Proposal:
+Dump   Create volume /dev/sda1 (2.50 TiB)
+Dump   Create volume group system (2.50 TiB) from /dev/sda1 [destructive]
+Dump   Create logical volume /dev/system/home (50.00 GiB) for /home with xfs
+Dump   Create root volume /dev/system/root (20.00 GiB) with btrfs
+Dump   Create swap logical volume /dev/system/swap (768.00 MiB)
+Dump   Create subvolume opt on device /dev/system/root
+Dump   Create subvolume srv on device /dev/system/root
+Dump   Create subvolume tmp on device /dev/system/root
+Dump   Create subvolume usr/local on device /dev/system/root
+Dump   Create subvolume var/crash on device /dev/system/root
+Dump   Create subvolume var/lib/libvirt/images on device /dev/system/root with 
option "no copy on write"
+Dump   Create subvolume var/lib/mailman on device /dev/system/root
+Dump   Create subvolume var/lib/mariadb on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/lib/mysql on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/lib/named on device /dev/system/root
+Dump   Create subvolume var/lib/pgsql on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/log on device /dev/system/root
+Dump   Create subvolume var/opt on device /dev/system/root
+Dump   Create subvolume var/spool on device /dev/system/root
+Dump   Create subvolume var/tmp on device /dev/system/root
+Dump   
+Dump   Target Map Excerpt:
+Dump   device:/dev/sda label:gpt
+Dump   device:/dev/sda1 fsid:0x8e
+Dump   device:/dev/system/root
+Dump   device:/dev/system/swap
+Dump   device:/dev/system/home
+Dump   
+Dump   Proposal Feedback:
+Dump   Cound not do snapshots.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le3.rb 
new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le3.rb
--- old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le3.rb      
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le3.rb      
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,34 @@
+# encoding: utf-8
+
+# testedfiles: helper.rb
+
+module Yast
+
+  class TestClient < Client
+
+    def main
+
+      def setup1()
+        setup_system("empty-big-ppc64le-nv")
+      end
+
+      def setup2()
+        ProductFeatures.SetBooleanFeature("partitioning", "try_separate_home", 
true)
+        ProductFeatures.SetBooleanFeature("partitioning", "proposal_lvm", true)
+        ProductFeatures.SetStringFeature("partitioning", "vm_desired_size", 
"30 GB")
+        ProductFeatures.SetStringFeature("partitioning", "root_base_size", "20 
GB")
+        ProductFeatures.SetBooleanFeature("partitioning", 
"proposal_snapshots", true)
+      end
+
+      def setup3()
+      end
+
+      Yast.include self, "helper.rb"
+
+    end
+
+  end
+
+end
+
+Yast::TestClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le4.out 
new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le4.out
--- old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le4.out     
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le4.out     
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,39 @@
+Dump   Hardware Excerpt:
+Dump   Arch: ppc64
+Dump   Platform: PowerNV
+Dump   
+Dump   Proposal Settings Excerpt:
+Dump   LVM
+Dump   Separate Home
+Dump   
+Dump   Proposal:
+Dump   Create volume /dev/sda1 (2.50 TiB)
+Dump   Create volume group system (2.50 TiB) from /dev/sda1 [destructive]
+Dump   Create logical volume /dev/system/home (50.00 GiB) for /home with xfs
+Dump   Create root volume /dev/system/root (20.00 GiB) with btrfs
+Dump   Create swap logical volume /dev/system/swap (768.00 MiB)
+Dump   Create subvolume opt on device /dev/system/root
+Dump   Create subvolume srv on device /dev/system/root
+Dump   Create subvolume tmp on device /dev/system/root
+Dump   Create subvolume usr/local on device /dev/system/root
+Dump   Create subvolume var/crash on device /dev/system/root
+Dump   Create subvolume var/lib/libvirt/images on device /dev/system/root with 
option "no copy on write"
+Dump   Create subvolume var/lib/mailman on device /dev/system/root
+Dump   Create subvolume var/lib/mariadb on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/lib/mysql on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/lib/named on device /dev/system/root
+Dump   Create subvolume var/lib/pgsql on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/log on device /dev/system/root
+Dump   Create subvolume var/opt on device /dev/system/root
+Dump   Create subvolume var/spool on device /dev/system/root
+Dump   Create subvolume var/tmp on device /dev/system/root
+Dump   
+Dump   Target Map Excerpt:
+Dump   device:/dev/sda label:gpt
+Dump   device:/dev/sda1 fsid:0x8e
+Dump   device:/dev/system/root
+Dump   device:/dev/system/swap
+Dump   device:/dev/system/home
+Dump   
+Dump   Proposal Feedback:
+Dump   Cound not do snapshots.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le4.rb 
new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le4.rb
--- old/yast2-storage-3.1.82/testsuite/tests/empty-big-ppc64le4.rb      
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-big-ppc64le4.rb      
2016-03-17 11:30:07.000000000 +0100
@@ -0,0 +1,34 @@
+# encoding: utf-8
+
+# testedfiles: helper.rb
+
+module Yast
+
+  class TestClient < Client
+
+    def main
+
+      def setup1()
+        setup_system("empty-big-ppc64le-nv")
+      end
+
+      def setup2()
+        ProductFeatures.SetBooleanFeature("partitioning", "try_separate_home", 
true)
+        ProductFeatures.SetBooleanFeature("partitioning", "proposal_lvm", true)
+        ProductFeatures.SetStringFeature("partitioning", "vm_desired_size", 
"30 GB")
+        ProductFeatures.SetStringFeature("partitioning", "root_base_size", "20 
GB")
+        ProductFeatures.SetBooleanFeature("partitioning", 
"proposal_snapshots", true)
+      end
+
+      def setup3()
+      end
+
+      Yast.include self, "helper.rb"
+
+    end
+
+  end
+
+end
+
+Yast::TestClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le4.out 
new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le4.out
--- old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le4.out 1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le4.out 2016-03-17 
11:30:07.000000000 +0100
@@ -0,0 +1,32 @@
+Dump   Hardware Excerpt:
+Dump   Arch: ppc64
+Dump   Platform: PowerNV
+Dump   
+Dump   Proposal Settings Excerpt:
+Dump   
+Dump   Proposal:
+Dump   Create swap volume /dev/sda1 (517.72 MiB)
+Dump   Create root volume /dev/sda2 (297.58 GiB) with btrfs
+Dump   Create subvolume home on device /dev/sda2
+Dump   Create subvolume opt on device /dev/sda2
+Dump   Create subvolume srv on device /dev/sda2
+Dump   Create subvolume tmp on device /dev/sda2
+Dump   Create subvolume usr/local on device /dev/sda2
+Dump   Create subvolume var/crash on device /dev/sda2
+Dump   Create subvolume var/lib/libvirt/images on device /dev/sda2 with option 
"no copy on write"
+Dump   Create subvolume var/lib/mailman on device /dev/sda2
+Dump   Create subvolume var/lib/mariadb on device /dev/sda2 with option "no 
copy on write"
+Dump   Create subvolume var/lib/mysql on device /dev/sda2 with option "no copy 
on write"
+Dump   Create subvolume var/lib/named on device /dev/sda2
+Dump   Create subvolume var/lib/pgsql on device /dev/sda2 with option "no copy 
on write"
+Dump   Create subvolume var/log on device /dev/sda2
+Dump   Create subvolume var/opt on device /dev/sda2
+Dump   Create subvolume var/spool on device /dev/sda2
+Dump   Create subvolume var/tmp on device /dev/sda2
+Dump   
+Dump   Target Map Excerpt:
+Dump   device:/dev/sda label:msdos
+Dump   device:/dev/sda1 fsid:0x82
+Dump   device:/dev/sda2 fsid:0x83 userdata:{"/"=>"snapshots"}
+Dump   
+Dump   Proposal Feedback:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le4.rb 
new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le4.rb
--- old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le4.rb  1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le4.rb  2016-03-17 
11:30:07.000000000 +0100
@@ -0,0 +1,34 @@
+# encoding: utf-8
+
+# testedfiles: helper.rb
+
+module Yast
+
+  class TestClient < Client
+
+    def main
+
+      def setup1()
+        setup_system("empty-ppc64le-nv")
+      end
+
+      def setup2()
+        ProductFeatures.SetBooleanFeature("partitioning", "try_separate_home", 
false)
+        ProductFeatures.SetBooleanFeature("partitioning", "proposal_lvm", 
false)
+        ProductFeatures.SetStringFeature("partitioning", "vm_desired_size", 
"30 GB")
+        ProductFeatures.SetStringFeature("partitioning", "root_base_size", "20 
GB")
+        ProductFeatures.SetBooleanFeature("partitioning", 
"proposal_snapshots", true)
+      end
+
+      def setup3()
+      end
+
+      Yast.include self, "helper.rb"
+
+    end
+
+  end
+
+end
+
+Yast::TestClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le5.out 
new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le5.out
--- old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le5.out 1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le5.out 2016-03-17 
11:30:07.000000000 +0100
@@ -0,0 +1,34 @@
+Dump   Hardware Excerpt:
+Dump   Arch: ppc64
+Dump   Platform: PowerNV
+Dump   
+Dump   Proposal Settings Excerpt:
+Dump   Separate Home
+Dump   
+Dump   Proposal:
+Dump   Create swap volume /dev/sda1 (2.01 GiB)
+Dump   Create root volume /dev/sda2 (40.00 GiB) with btrfs
+Dump   Create volume /dev/sda3 (256.08 GiB) for /home with xfs
+Dump   Create subvolume opt on device /dev/sda2
+Dump   Create subvolume srv on device /dev/sda2
+Dump   Create subvolume tmp on device /dev/sda2
+Dump   Create subvolume usr/local on device /dev/sda2
+Dump   Create subvolume var/crash on device /dev/sda2
+Dump   Create subvolume var/lib/libvirt/images on device /dev/sda2 with option 
"no copy on write"
+Dump   Create subvolume var/lib/mailman on device /dev/sda2
+Dump   Create subvolume var/lib/mariadb on device /dev/sda2 with option "no 
copy on write"
+Dump   Create subvolume var/lib/mysql on device /dev/sda2 with option "no copy 
on write"
+Dump   Create subvolume var/lib/named on device /dev/sda2
+Dump   Create subvolume var/lib/pgsql on device /dev/sda2 with option "no copy 
on write"
+Dump   Create subvolume var/log on device /dev/sda2
+Dump   Create subvolume var/opt on device /dev/sda2
+Dump   Create subvolume var/spool on device /dev/sda2
+Dump   Create subvolume var/tmp on device /dev/sda2
+Dump   
+Dump   Target Map Excerpt:
+Dump   device:/dev/sda label:msdos
+Dump   device:/dev/sda1 fsid:0x82
+Dump   device:/dev/sda2 fsid:0x83 userdata:{"/"=>"snapshots"}
+Dump   device:/dev/sda3 fsid:0x83
+Dump   
+Dump   Proposal Feedback:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le5.rb 
new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le5.rb
--- old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le5.rb  1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le5.rb  2016-03-17 
11:30:07.000000000 +0100
@@ -0,0 +1,34 @@
+# encoding: utf-8
+
+# testedfiles: helper.rb
+
+module Yast
+
+  class TestClient < Client
+
+    def main
+
+      def setup1()
+        setup_system("empty-ppc64le-nv")
+      end
+
+      def setup2()
+        ProductFeatures.SetBooleanFeature("partitioning", "try_separate_home", 
true)
+        ProductFeatures.SetBooleanFeature("partitioning", "proposal_lvm", 
false)
+        ProductFeatures.SetStringFeature("partitioning", "vm_desired_size", 
"30 GB")
+        ProductFeatures.SetStringFeature("partitioning", "root_base_size", "20 
GB")
+        ProductFeatures.SetBooleanFeature("partitioning", 
"proposal_snapshots", true)
+      end
+
+      def setup3()
+      end
+
+      Yast.include self, "helper.rb"
+
+    end
+
+  end
+
+end
+
+Yast::TestClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le6.out 
new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le6.out
--- old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le6.out 1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le6.out 2016-03-17 
11:30:07.000000000 +0100
@@ -0,0 +1,39 @@
+Dump   Hardware Excerpt:
+Dump   Arch: ppc64
+Dump   Platform: PowerNV
+Dump   
+Dump   Proposal Settings Excerpt:
+Dump   LVM
+Dump   Separate Home
+Dump   
+Dump   Proposal:
+Dump   Create volume /dev/sda1 (298.09 GiB)
+Dump   Create volume group system (298.08 GiB) from /dev/sda1 [destructive]
+Dump   Create logical volume /dev/system/home (50.00 GiB) for /home with xfs
+Dump   Create root volume /dev/system/root (20.00 GiB) with btrfs
+Dump   Create swap logical volume /dev/system/swap (768.00 MiB)
+Dump   Create subvolume opt on device /dev/system/root
+Dump   Create subvolume srv on device /dev/system/root
+Dump   Create subvolume tmp on device /dev/system/root
+Dump   Create subvolume usr/local on device /dev/system/root
+Dump   Create subvolume var/crash on device /dev/system/root
+Dump   Create subvolume var/lib/libvirt/images on device /dev/system/root with 
option "no copy on write"
+Dump   Create subvolume var/lib/mailman on device /dev/system/root
+Dump   Create subvolume var/lib/mariadb on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/lib/mysql on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/lib/named on device /dev/system/root
+Dump   Create subvolume var/lib/pgsql on device /dev/system/root with option 
"no copy on write"
+Dump   Create subvolume var/log on device /dev/system/root
+Dump   Create subvolume var/opt on device /dev/system/root
+Dump   Create subvolume var/spool on device /dev/system/root
+Dump   Create subvolume var/tmp on device /dev/system/root
+Dump   
+Dump   Target Map Excerpt:
+Dump   device:/dev/sda label:msdos
+Dump   device:/dev/sda1 fsid:0x8e
+Dump   device:/dev/system/root
+Dump   device:/dev/system/swap
+Dump   device:/dev/system/home
+Dump   
+Dump   Proposal Feedback:
+Dump   Cound not do snapshots.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le6.rb 
new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le6.rb
--- old/yast2-storage-3.1.82/testsuite/tests/empty-ppc64le6.rb  1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/empty-ppc64le6.rb  2016-03-17 
11:30:07.000000000 +0100
@@ -0,0 +1,34 @@
+# encoding: utf-8
+
+# testedfiles: helper.rb
+
+module Yast
+
+  class TestClient < Client
+
+    def main
+
+      def setup1()
+        setup_system("empty-ppc64le-nv")
+      end
+
+      def setup2()
+        ProductFeatures.SetBooleanFeature("partitioning", "try_separate_home", 
true)
+        ProductFeatures.SetBooleanFeature("partitioning", "proposal_lvm", true)
+        ProductFeatures.SetStringFeature("partitioning", "vm_desired_size", 
"30 GB")
+        ProductFeatures.SetStringFeature("partitioning", "root_base_size", "20 
GB")
+        ProductFeatures.SetBooleanFeature("partitioning", 
"proposal_snapshots", true)
+      end
+
+      def setup3()
+      end
+
+      Yast.include self, "helper.rb"
+
+    end
+
+  end
+
+end
+
+Yast::TestClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.82/testsuite/tests/helper.rb 
new/yast2-storage-3.1.84/testsuite/tests/helper.rb
--- old/yast2-storage-3.1.82/testsuite/tests/helper.rb  2016-03-09 
12:32:42.000000000 +0100
+++ new/yast2-storage-3.1.84/testsuite/tests/helper.rb  2016-03-17 
11:30:07.000000000 +0100
@@ -17,6 +17,7 @@
 
       @part_info_size = 0
       @part_info_string = nil
+      @system = ""
 
 
       def setup_part_info(content)
@@ -30,6 +31,7 @@
         Testsuite.Dump("Hardware Excerpt:")
 
         Testsuite.Dump("Arch: " + Arch.architecture() + (Partitions.EfiBoot() 
? " efi" : ""))
+        Testsuite.Dump("Platform: " + @system ) if @system == "PowerNV"
 
       end
 
@@ -157,16 +159,19 @@
         file = File.new("tmp/arch.info")
         doc = REXML::Document.new(file)
         arch = doc.elements["arch"].elements["arch"].text
-        system = ""
         if arch == "s390x"
           arch = "s390_64"
         end
         if arch == "ppc64le"
           arch = "ppc64"
-          system = "CHRP"
+          if REXML::XPath.first( doc, "//arch/ppc_powernv" )
+            @system = "PowerNV"
+          else
+            @system = "CHRP"
+          end
         end
         @READ["probe"]["architecture"] = arch
-        @READ["probe"]["system"][0]["system"] = system
+        @READ["probe"]["system"][0]["system"] = @system
       rescue Errno::ENOENT
       end
 


Reply via email to