Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at 2014-06-18 10:59:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-06-02 07:00:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 2014-06-18 10:59:41.000000000 +0200 @@ -1,0 +2,22 @@ +Tue Jun 10 23:15:17 CEST 2014 - dval...@suse.com + +- Change PReP partition naming to avoid confusion between msdos and + gpt disk labels (bnc#880094) +- adapt to new libstorage output in tests +- require libstorage 2.25.14 +- version 3.1.31 + +------------------------------------------------------------------- +Tue Jun 03 15:15:27 CEST 2014 - aschn...@suse.de + +- fixed partitioning check on EFI system with BIOS GRUB partition + (bnc#869716) +- version 3.1.30 + +------------------------------------------------------------------- +Mon Jun 02 17:08:44 CEST 2014 - aschn...@suse.de + +- allow translations for alignment options (bnc#877910) +- version 3.1.29 + +------------------------------------------------------------------- Old: ---- yast2-storage-3.1.28.tar.bz2 New: ---- yast2-storage-3.1.31.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.9zKrtM/_old 2014-06-18 10:59:42.000000000 +0200 +++ /var/tmp/diff_new_pack.9zKrtM/_new 2014-06-18 10:59:42.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.1.28 +Version: 3.1.31 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.13 -BuildRequires: libstorage-ruby >= 2.25.13 +BuildRequires: libstorage-devel >= 2.25.14 +BuildRequires: libstorage-ruby >= 2.25.14 BuildRequires: libtool BuildRequires: libxslt BuildRequires: perl-XML-Writer @@ -40,8 +40,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.13 -Requires: libstorage5 >= 2.25.13 +Requires: libstorage-ruby >= 2.25.14 +Requires: libstorage5 >= 2.25.14 Requires: rubygem-ruby-dbus Requires: yast2 >= 3.1.22 Requires: yast2-core >= 2.18.3 ++++++ yast2-storage-3.1.28.tar.bz2 -> yast2-storage-3.1.31.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/package/yast2-storage.changes new/yast2-storage-3.1.31/package/yast2-storage.changes --- old/yast2-storage-3.1.28/package/yast2-storage.changes 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/package/yast2-storage.changes 2014-06-13 07:42:54.000000000 +0200 @@ -1,8 +1,30 @@ ------------------------------------------------------------------- +Tue Jun 10 23:15:17 CEST 2014 - dval...@suse.com + +- Change PReP partition naming to avoid confusion between msdos and + gpt disk labels (bnc#880094) +- adapt to new libstorage output in tests +- require libstorage 2.25.14 +- version 3.1.31 + +------------------------------------------------------------------- +Tue Jun 03 15:15:27 CEST 2014 - aschn...@suse.de + +- fixed partitioning check on EFI system with BIOS GRUB partition + (bnc#869716) +- version 3.1.30 + +------------------------------------------------------------------- +Mon Jun 02 17:08:44 CEST 2014 - aschn...@suse.de + +- allow translations for alignment options (bnc#877910) +- version 3.1.29 + +------------------------------------------------------------------- Wed May 21 14:53:21 CEST 2014 - g...@suse.de - add configuration of FCoE interfaces to 'Configure...' -- version 3.1.28 +- version 3.1.28 ------------------------------------------------------------------- Wed May 21 11:12:55 CEST 2014 - aschn...@suse.de diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/package/yast2-storage.spec new/yast2-storage-3.1.31/package/yast2-storage.spec --- old/yast2-storage-3.1.28/package/yast2-storage.spec 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/package/yast2-storage.spec 2014-06-13 07:42:54.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.1.28 +Version: 3.1.31 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.13 -BuildRequires: libstorage-ruby >= 2.25.13 +BuildRequires: libstorage-devel >= 2.25.14 +BuildRequires: libstorage-ruby >= 2.25.14 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.13 -Requires: libstorage5 >= 2.25.13 +Requires: libstorage-ruby >= 2.25.14 +Requires: libstorage5 >= 2.25.14 Requires: rubygem-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.28/src/include/partitioning/custom_part_check_generated.rb new/yast2-storage-3.1.31/src/include/partitioning/custom_part_check_generated.rb --- old/yast2-storage-3.1.28/src/include/partitioning/custom_part_check_generated.rb 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/src/include/partitioning/custom_part_check_generated.rb 2014-06-13 07:42:54.000000000 +0200 @@ -26,6 +26,10 @@ module Yast module PartitioningCustomPartCheckGeneratedInclude + + include Yast::Logger + + def initialize_partitioning_custom_part_check_generated(include_target) Yast.import "Arch" Yast.import "Storage" @@ -180,7 +184,7 @@ boot_end = Region.End(Ops.get_list(part, "region", [])) boot_fs = Ops.get_symbol(part, "used_fs", :unknown) boot_size_k = Ops.get_integer(part, "size_k", 0) - elsif fsid == Partitions.fsid_bios_grub + elsif !Partitions.EfiBoot() && fsid == Partitions.fsid_bios_grub boot_found = true boot_end = Region.End(Ops.get_list(part, "region", [])) boot_fs = :none @@ -230,22 +234,10 @@ end end - Builtins.y2milestone("diskless:%1", diskless) - Builtins.y2milestone("root_found:%1 root_fs:%2 rootdlabel:%3", - root_found, root_fs, rootdlabel) - Builtins.y2milestone( - "boot_found:%1 boot_fs:%2 boot_fsid:%3", - boot_found, - boot_fs, - boot_fsid - ) - Builtins.y2milestone( - "root_dmraid:%1 root_raid:%2 boot_raid:%3 raid_type:%4", - root_dmraid, - root_raid, - boot_raid, - raid_type - ) + log.info("diskless:#{diskless}") + log.info("root_found:#{root_found} root_fs:#{root_fs} rootdlabel:#{rootdlabel}") + log.info("boot_found:#{boot_found} boot_fs:#{boot_fs} boot_fsid:#{boot_fsid}") + log.info("root_dmraid:#{root_dmraid} root_raid:#{root_raid} boot_raid:#{boot_raid} raid_type:#{raid_type}") ok = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/src/include/partitioning/ep-settings.rb new/yast2-storage-3.1.31/src/include/partitioning/ep-settings.rb --- old/yast2-storage-3.1.28/src/include/partitioning/ep-settings.rb 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/src/include/partitioning/ep-settings.rb 2014-06-13 07:42:54.000000000 +0200 @@ -1,6 +1,6 @@ # encoding: utf-8 -# Copyright (c) 2012 Novell, Inc. +# Copyright (c) [2012-2014] Novell, Inc. # # All Rights Reserved. # @@ -25,7 +25,9 @@ # Authors: Arvin Schnell <aschn...@suse.de> module Yast module PartitioningEpSettingsInclude + def initialize_partitioning_ep_settings(include_target) + textdomain "storage" @@ -66,8 +68,26 @@ # combo box entry :path => _("Device Path") } + + @alignments = { + # combo box entry + :align_optimal => _("Optimal"), + # combo box entry + :align_cylinder => _("Cylinder") + } + + @display_names = { + # combo box entry + :device => _("Device Name"), + # combo box entry + :id => _("Device ID"), + # combo box entry + :path => _("Device Path") + } + end + def CreateSettingsPanel(user_data) user_data = deep_copy(user_data) _PreselectVisibleFields = lambda do @@ -94,10 +114,13 @@ Item(Id(fs), FileSystems.GetName(fs, "Error")) end - partalign_items = Builtins.maplist([:align_optimal, :align_cylinder]) do |pal| - Item(Id(pal), Builtins.substring(Builtins.sformat("%1", pal), 7)) + alignment_items = Builtins.maplist(@alignments) do |item_id, label| + Item(Id(item_id), label) end + display_name_items = Builtins.maplist(@display_names) do |item_id, label| + Item(Id(item_id), label) + end UI.ReplaceWidget( :tree_panel, @@ -108,9 +131,7 @@ VBox( Left( term( - :ComboBoxSelected, - Id(:default_mountby), - Opt(:notify), + :ComboBoxSelected, Id(:default_mountby), Opt(:notify), # combo box label _("Default Mount by"), mount_by_items, @@ -119,9 +140,7 @@ ), Left( term( - :ComboBoxSelected, - Id(:default_fs), - Opt(:notify), + :ComboBoxSelected, Id(:default_fs), Opt(:notify), # combo box label _("Default File System"), filesystem_items, @@ -130,31 +149,20 @@ ), Left( term( - :ComboBoxSelected, - Id(:part_align), - Opt(:notify), + :ComboBoxSelected, Id(:part_align), Opt(:notify), # combo box label _("Alignment of Newly Created Partitions"), - partalign_items, + alignment_items, Id(Storage.GetPartitionAlignment) ) ), VSpacing(1), Left( term( - :ComboBoxSelected, - Id(:display_name), - Opt(:notify), + :ComboBoxSelected, Id(:display_name), Opt(:notify), # combo box label _("Show Storage Devices by"), - [ - # combo box entry - Item(Id(:device), _("Device Name")), - # combo box entry - Item(Id(:id), _("Device ID")), - # combo box entry - Item(Id(:path), _("Device Path")) - ], + display_name_items, Id(StorageSettings.GetDisplayName) ) ), @@ -259,6 +267,8 @@ nil end + + def DestroySettingsPanel(user_data) user_data = deep_copy(user_data) selected = Convert.convert( @@ -288,5 +298,6 @@ nil end + end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/src/modules/FileSystems.rb new/yast2-storage-3.1.31/src/modules/FileSystems.rb --- old/yast2-storage-3.1.28/src/modules/FileSystems.rb 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/src/modules/FileSystems.rb 2014-06-13 07:42:54.000000000 +0200 @@ -356,17 +356,17 @@ :fsid_item => "0xFD Linux RAID " }, :xbootdisk => { - :name => "PPCBOOT", + :name => "PReP", :fsid => Partitions.fsid_prep_chrp_boot, :supports_format => false, - :fsid_item => "0x41 PPC PReP Boot" + :fsid_item => "0x41 PReP Boot" }, :xxbootdisk => { :name => "GPT PReP", :fsid => Partitions.fsid_gpt_prep, :supports_format => false, :label => "gpt", - :fsid_item => "0x00 PReP Boot" + :fsid_item => "0x00 GPT PReP Boot" }, :xbootfat => { :name => "FATBOOT", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/src/modules/Partitions.rb new/yast2-storage-3.1.31/src/modules/Partitions.rb --- old/yast2-storage-3.1.28/src/modules/Partitions.rb 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/src/modules/Partitions.rb 2014-06-13 07:42:54.000000000 +0200 @@ -785,7 +785,7 @@ when 64 return "Venix 80286" when 65 - return "PPC PReP Boot" + return "PReP Boot" when 66 return "SFS" when 77 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/src/modules/StorageSettings.rb new/yast2-storage-3.1.31/src/modules/StorageSettings.rb --- old/yast2-storage-3.1.28/src/modules/StorageSettings.rb 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/src/modules/StorageSettings.rb 2014-06-13 07:42:54.000000000 +0200 @@ -47,6 +47,7 @@ @modified = false end + def GetModified @modified end @@ -150,6 +151,7 @@ Builtins.filter(fields) { |field| !Builtins.setcontains(hidden, field) } end + def InvertVisibleFields(all_fields, selected) all_fields = deep_copy(all_fields) selected = deep_copy(selected) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/empty-big-ppc64le1.out new/yast2-storage-3.1.31/testsuite/tests/empty-big-ppc64le1.out --- old/yast2-storage-3.1.28/testsuite/tests/empty-big-ppc64le1.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/empty-big-ppc64le1.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create GPT PReP volume /dev/sda1 (7.84 MiB) Dump Create swap volume /dev/sda2 (517.72 MiB) Dump Create root volume /dev/sda3 (2.50 TiB) with btrfs Dump Create subvolume boot/grub2/power-ieee1275 on device /dev/sda3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/empty-big-ppc64le2.out new/yast2-storage-3.1.31/testsuite/tests/empty-big-ppc64le2.out --- old/yast2-storage-3.1.28/testsuite/tests/empty-big-ppc64le2.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/empty-big-ppc64le2.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create GPT PReP volume /dev/sda1 (7.84 MiB) Dump Create volume /dev/sda2 (2.50 TiB) Dump Create volume group system (2.50 TiB) from /dev/sda2 [destructive] Dump Create logical volume /dev/system/home (50.00 GiB) for /home with xfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/empty-ppc64le1.out new/yast2-storage-3.1.31/testsuite/tests/empty-ppc64le1.out --- old/yast2-storage-3.1.28/testsuite/tests/empty-ppc64le1.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/empty-ppc64le1.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create PReP volume /dev/sda1 (7.84 MiB) Dump Create swap volume /dev/sda2 (517.72 MiB) Dump Create root volume /dev/sda3 (297.58 GiB) with btrfs Dump Create subvolume boot/grub2/power-ieee1275 on device /dev/sda3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/empty-ppc64le2.out new/yast2-storage-3.1.31/testsuite/tests/empty-ppc64le2.out --- old/yast2-storage-3.1.28/testsuite/tests/empty-ppc64le2.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/empty-ppc64le2.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create PReP volume /dev/sda1 (7.84 MiB) Dump Create swap volume /dev/sda2 (2.01 GiB) Dump Create root volume /dev/sda3 (40.00 GiB) with btrfs Dump Create volume /dev/sda4 (256.07 GiB) for /home with xfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/empty-ppc64le3.out new/yast2-storage-3.1.31/testsuite/tests/empty-ppc64le3.out --- old/yast2-storage-3.1.28/testsuite/tests/empty-ppc64le3.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/empty-ppc64le3.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create PReP volume /dev/sda1 (7.84 MiB) Dump Create volume /dev/sda2 (298.08 GiB) Dump Create volume group system (298.07 GiB) from /dev/sda2 [destructive] Dump Create logical volume /dev/system/home (50.00 GiB) for /home with xfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/flex-info-empty-big-ppc64le1.out new/yast2-storage-3.1.31/testsuite/tests/flex-info-empty-big-ppc64le1.out --- old/yast2-storage-3.1.28/testsuite/tests/flex-info-empty-big-ppc64le1.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/flex-info-empty-big-ppc64le1.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create GPT PReP volume /dev/sda1 (7.84 MiB) Dump Create swap volume /dev/sda2 (1.00 GiB) Dump Create volume /dev/sda3 (2.49 TiB) for /data with btrfs Dump Create root volume /dev/sda4 (8.01 GiB) with btrfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/flex-info-empty-ppc64le1.out new/yast2-storage-3.1.31/testsuite/tests/flex-info-empty-ppc64le1.out --- old/yast2-storage-3.1.28/testsuite/tests/flex-info-empty-ppc64le1.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/flex-info-empty-ppc64le1.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create PReP volume /dev/sda1 (7.84 MiB) Dump Create swap volume /dev/sda2 (1.00 GiB) Dump Create volume /dev/sda3 (289.07 GiB) for /data with btrfs Dump Create root volume /dev/sda4 (8.01 GiB) with btrfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/flex-info-empty-ppc64le2.out new/yast2-storage-3.1.31/testsuite/tests/flex-info-empty-ppc64le2.out --- old/yast2-storage-3.1.28/testsuite/tests/flex-info-empty-ppc64le2.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/flex-info-empty-ppc64le2.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create PReP volume /dev/sda1 (7.84 MiB) Dump Create swap volume /dev/sda2 (1.00 GiB) Dump Create volume /dev/sda3 (289.07 GiB) for /data with btrfs Dump Create root volume /dev/sda4 (8.01 GiB) with btrfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.28/testsuite/tests/flex-xml-empty-ppc64le1.out new/yast2-storage-3.1.31/testsuite/tests/flex-xml-empty-ppc64le1.out --- old/yast2-storage-3.1.28/testsuite/tests/flex-xml-empty-ppc64le1.out 2014-05-21 16:29:24.000000000 +0200 +++ new/yast2-storage-3.1.31/testsuite/tests/flex-xml-empty-ppc64le1.out 2014-06-13 07:42:54.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create PPC PReP volume /dev/sda1 (7.84 MiB) +Dump Create PReP volume /dev/sda1 (7.84 MiB) Dump Create swap volume /dev/sda2 (1.00 GiB) Dump Create volume /dev/sda3 (289.07 GiB) for /data with btrfs Dump Create root volume /dev/sda4 (8.01 GiB) with btrfs -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org