Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at 2017-01-31 12:36:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2017-01-15 11:02:41.549154598 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 2017-02-03 20:07:55.938504598 +0100 @@ -1,0 +2,17 @@ +Wed Jan 25 18:16:05 CET 2017 - shundham...@suse.de + +- Don't force separate /boot partition in expert partitioner + (fate#320215) +- Expert partitioner less restrictive with encryption + for system mount points (/, /usr/, /var, /opt) + and for Btrfs, LVM PVs, RAID +- 3.2.5 + +------------------------------------------------------------------- +Tue Jan 10 16:03:29 UTC 2017 - igonzalezs...@suse.com + +- Fix initialization of partitioning/btrfs_default_subvolume + product feature (bsc#1011541) +- 3.2.4 + +------------------------------------------------------------------- Old: ---- yast2-storage-3.2.3.tar.bz2 New: ---- yast2-storage-3.2.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.9I5plY/_old 2017-02-03 20:07:56.394440422 +0100 +++ /var/tmp/diff_new_pack.9I5plY/_new 2017-02-03 20:07:56.402439296 +0100 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.2.3 +Version: 3.2.5 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-storage-3.2.3.tar.bz2 -> yast2-storage-3.2.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/.travis.yml new/yast2-storage-3.2.5/.travis.yml --- old/yast2-storage-3.2.3/.travis.yml 2017-01-11 09:53:51.560308000 +0100 +++ new/yast2-storage-3.2.5/.travis.yml 2017-01-27 10:37:24.750924265 +0100 @@ -1,16 +1,11 @@ -language: cpp -compiler: - - gcc +sudo: required +language: bash +services: + - docker + before_install: - # disable rvm, use system Ruby - - rvm reset - - wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh - - sh ./travis_setup.sh -p "rake yast2-core-dev yast2 yast2-devtools doxygen yast2-testsuite libstorage5-dev libstorage5-ruby ruby-dbus" -g "rspec:3.3.0 yast-rake gettext cheetah abstract_method" + - docker build -t yast-storage-image . script: - - rake check:syntax - - rake check:pot - - make -f Makefile.cvs - - make -j 4 - - sudo make install - - make check - + # the "yast-travis-ruby" script is included in the base yastdevel/ruby image + # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby + - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-storage-image yast-travis-ruby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/Dockerfile new/yast2-storage-3.2.5/Dockerfile --- old/yast2-storage-3.2.3/Dockerfile 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-storage-3.2.5/Dockerfile 2017-01-27 10:37:24.750924265 +0100 @@ -0,0 +1,9 @@ +FROM yastdevel/ruby +RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ + libstorage-devel \ + libstorage-ruby \ + libtool \ + "rubygem(ruby-dbus)" \ + yast2-core-devel +COPY . /usr/src/app + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/package/yast2-storage.changes new/yast2-storage-3.2.5/package/yast2-storage.changes --- old/yast2-storage-3.2.3/package/yast2-storage.changes 2017-01-11 09:53:51.736308000 +0100 +++ new/yast2-storage-3.2.5/package/yast2-storage.changes 2017-01-27 10:37:24.766924265 +0100 @@ -1,4 +1,21 @@ ------------------------------------------------------------------- +Wed Jan 25 18:16:05 CET 2017 - shundham...@suse.de + +- Don't force separate /boot partition in expert partitioner + (fate#320215) +- Expert partitioner less restrictive with encryption + for system mount points (/, /usr/, /var, /opt) + and for Btrfs, LVM PVs, RAID +- 3.2.5 + +------------------------------------------------------------------- +Tue Jan 10 16:03:29 UTC 2017 - igonzalezs...@suse.com + +- Fix initialization of partitioning/btrfs_default_subvolume + product feature (bsc#1011541) +- 3.2.4 + +------------------------------------------------------------------- Tue Jan 10 14:41:54 UTC 2017 - an...@suse.com - Avoid recurring error pop-up in the expert partitioner when the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/package/yast2-storage.spec new/yast2-storage-3.2.5/package/yast2-storage.spec --- old/yast2-storage-3.2.3/package/yast2-storage.spec 2017-01-11 09:53:51.736308000 +0100 +++ new/yast2-storage-3.2.5/package/yast2-storage.spec 2017-01-27 10:37:24.766924265 +0100 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.2.3 +Version: 3.2.5 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/src/include/partitioning/custom_part_lib.rb new/yast2-storage-3.2.5/src/include/partitioning/custom_part_lib.rb --- old/yast2-storage-3.2.3/src/include/partitioning/custom_part_lib.rb 2017-01-11 09:53:51.824308000 +0100 +++ new/yast2-storage-3.2.5/src/include/partitioning/custom_part_lib.rb 2017-01-27 10:37:24.770924265 +0100 @@ -35,7 +35,6 @@ Yast.import "Greasemonkey" Yast.include include_target, "partitioning/partition_defines.rb" - end # Check lvm mount points @@ -108,26 +107,6 @@ ret end - # Check crypted mount points and return true if the mount point is ok. - # @param [String] mount mount point - # @param [Boolean] crypt_fs boolean - # @return [Boolean] - # - def check_crypt_fs_mount_points(mount, crypt_fs) - if crypt_fs && FileSystems.IsCryptMp(mount, false) - # error popup text - Popup.Error( - _( - "You have assigned an encrypted file system to a partition\n" + - "with one of the following mount points: \"/\", \"/usr\", \"/boot\",\n" + - "/var\". This is not possible. Change the mount point or use a\n" + - "nonloopbacked file system.\n" - ) - ) - return false - end - true - end def check_unique_label(targetMap, part) targetMap = deep_copy(targetMap) part = deep_copy(part) @@ -148,6 +127,7 @@ end unique end + def CheckFstabOptions(part) part = deep_copy(part) ret = true @@ -340,13 +320,6 @@ if UI.WidgetExists(Id(:crypt_fs)) crypt_fs = Convert.to_boolean(UI.QueryWidget(Id(:crypt_fs), :Value)) end - if !check_crypt_fs_mount_points( - Ops.get_string(new, "mount", ""), - crypt_fs - ) - Ops.set(ret, "ok", false) - Ops.set(ret, "field", :mount_point) - end if Ops.get_boolean(new, "noauto", false) && !check_noauto_mount(Ops.get_string(new, "mount", "")) Ops.set(ret, "ok", false) @@ -508,7 +481,6 @@ if apply_change && UI.WidgetExists(Id(:crypt_fs)) cr = Ops.get_boolean(selected_fs, :crypt, true) && - Ops.get_symbol(new, "used_fs", :unknown) != :btrfs && !Ops.get_boolean(new, "pool", false) Builtins.y2milestone("HandleFsChanged cr:%1", cr) @@ -843,10 +815,8 @@ if no_fs UI.ChangeWidget(Id(:do_not_mount), :Value, true) ChangeExistingSymbolsState([:fs_options, :fs], false) - ChangeExistingSymbolsState( - [:crypt_fs], - fs_int == Partitions.fsid_lvm - ) + enable_crypt = [Partitions.fsid_lvm, Partitions.fsid_raid].include?(fs_int) + ChangeExistingSymbolsState([:crypt_fs], enable_crypt) elsif fs_int == Partitions.fsid_native Ops.set(new, "used_fs", Partitions.DefaultFs) UI.ChangeWidget( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/src/include/partitioning/ep-dialogs.rb new/yast2-storage-3.2.5/src/include/partitioning/ep-dialogs.rb --- old/yast2-storage-3.2.3/src/include/partitioning/ep-dialogs.rb 2017-01-11 09:53:51.900308000 +0100 +++ new/yast2-storage-3.2.5/src/include/partitioning/ep-dialogs.rb 2017-01-27 10:37:24.774924265 +0100 @@ -208,7 +208,6 @@ :crypt_fs, :Enabled, Ops.get_boolean(fs_data, :crypt, true) && - Ops.get_symbol(data, "used_fs", :unknown) != :btrfs && !Ops.get_boolean(data, "pool", false) ) @@ -445,7 +444,7 @@ #not there in RAID/LVM/loop configuration (#483789) ChangeWidgetIfExists(:do_not_format_attachment, :Enabled, !do_format) - _EnableDisableFsOpts.call(used_fs) if do_format + _EnableDisableFsOpts.call(used_fs) #not there on s390s ChangeWidgetIfExists(:crypt_fs, :Value, crypt_fs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/src/modules/FileSystems.rb new/yast2-storage-3.2.5/src/modules/FileSystems.rb --- old/yast2-storage-3.2.3/src/modules/FileSystems.rb 2017-01-11 09:53:52.048308000 +0100 +++ new/yast2-storage-3.2.5/src/modules/FileSystems.rb 2017-01-27 10:37:24.782924265 +0100 @@ -360,12 +360,14 @@ :name => "LVM", :fsid => Partitions.fsid_lvm, :supports_format => false, + :crypt => true, :fsid_item => "0x8E Linux LVM " }, :raid => { :name => "RAID", :fsid => Partitions.fsid_raid, :supports_format => false, + :crypt => true, :fsid_item => "0xFD Linux RAID " }, :xbootdisk => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.2.3/src/modules/Storage.rb new/yast2-storage-3.2.5/src/modules/Storage.rb --- old/yast2-storage-3.2.3/src/modules/Storage.rb 2017-01-11 09:53:52.092308000 +0100 +++ new/yast2-storage-3.2.5/src/modules/Storage.rb 2017-01-27 10:37:24.782924265 +0100 @@ -337,6 +337,8 @@ return false end + FileSystems.InitSlib(@sint) + Partitions.InitSlib(@sint) StorageClients.InstallCallbacks(@sint) if Stage.initial @@ -352,9 +354,6 @@ @conts = getContainers log.info("InitLibstorage conts:#{@conts}") - FileSystems.InitSlib(@sint) - Partitions.InitSlib(@sint) - true end