Hello community, here is the log from the commit of package yast2-packager for openSUSE:Factory checked in at 2018-02-12 10:07:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old) and /work/SRC/openSUSE:Factory/.yast2-packager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-packager" Mon Feb 12 10:07:14 2018 rev:342 rq:574688 version:4.0.37 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes 2018-02-02 22:19:05.786799211 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes 2018-02-12 10:07:17.034654531 +0100 @@ -1,0 +2,12 @@ +Fri Feb 9 14:17:05 UTC 2018 - [email protected] + +- Adapt to new MountPoint API (part of fate#318196). +- 4.0.37 + +------------------------------------------------------------------- +Wed Feb 7 16:31:49 UTC 2018 - [email protected] + +- only use the repo from root of installation media (bsc#1078768) +- 4.0.36 + +------------------------------------------------------------------- Old: ---- yast2-packager-4.0.35.tar.bz2 New: ---- yast2-packager-4.0.37.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-packager.spec ++++++ --- /var/tmp/diff_new_pack.3nmR35/_old 2018-02-12 10:07:18.690594850 +0100 +++ /var/tmp/diff_new_pack.3nmR35/_new 2018-02-12 10:07:18.690594850 +0100 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 4.0.35 +Version: 4.0.37 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -30,8 +30,8 @@ BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake) -# New Y2Storage::StorageManager API -BuildRequires: yast2-storage-ng >= 0.1.32 +# Y2Storage::Mountable#mount_path +BuildRequires: yast2-storage-ng >= 4.0.90 # Mandatory language in Product#license and Product#license? BuildRequires: yast2 >= 4.0.49 @@ -69,8 +69,8 @@ # .process agent Requires: yast2-core >= 2.16.35 -# Mountable#persistent? -Requires: yast2-storage-ng >= 4.0.68 +# Y2Storage::Mountable#mount_path +Requires: yast2-storage-ng >= 4.0.90 # Augeas lenses Requires: augeas-lenses ++++++ yast2-packager-4.0.35.tar.bz2 -> yast2-packager-4.0.37.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.35/package/yast2-packager.changes new/yast2-packager-4.0.37/package/yast2-packager.changes --- old/yast2-packager-4.0.35/package/yast2-packager.changes 2018-02-02 16:03:57.000000000 +0100 +++ new/yast2-packager-4.0.37/package/yast2-packager.changes 2018-02-09 15:26:06.000000000 +0100 @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Fri Feb 9 14:17:05 UTC 2018 - [email protected] + +- Adapt to new MountPoint API (part of fate#318196). +- 4.0.37 + +------------------------------------------------------------------- +Wed Feb 7 16:31:49 UTC 2018 - [email protected] + +- only use the repo from root of installation media (bsc#1078768) +- 4.0.36 + +------------------------------------------------------------------- Fri Feb 2 11:56:09 UTC 2018 - [email protected] - InstProductLicense client provides the current language when diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.35/package/yast2-packager.spec new/yast2-packager-4.0.37/package/yast2-packager.spec --- old/yast2-packager-4.0.35/package/yast2-packager.spec 2018-02-02 16:03:57.000000000 +0100 +++ new/yast2-packager-4.0.37/package/yast2-packager.spec 2018-02-09 15:26:06.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 4.0.35 +Version: 4.0.37 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -30,8 +30,8 @@ BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake) BuildRequires: rubygem(%{rb_default_ruby_abi}:cfa) >= 0.5.0 -# New Y2Storage::StorageManager API -BuildRequires: yast2-storage-ng >= 0.1.32 +# Y2Storage::Mountable#mount_path +BuildRequires: yast2-storage-ng >= 4.0.90 # Mandatory language in Product#license and Product#license? BuildRequires: yast2 >= 4.0.49 @@ -69,8 +69,8 @@ # .process agent Requires: yast2-core >= 2.16.35 -# Mountable#persistent? -Requires: yast2-storage-ng >= 4.0.68 +# Y2Storage::Mountable#mount_path +Requires: yast2-storage-ng >= 4.0.90 # Augeas lenses Requires: augeas-lenses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.35/src/modules/Packages.rb new/yast2-packager-4.0.37/src/modules/Packages.rb --- old/yast2-packager-4.0.35/src/modules/Packages.rb 2018-02-02 16:03:57.000000000 +0100 +++ new/yast2-packager-4.0.37/src/modules/Packages.rb 2018-02-09 15:26:06.000000000 +0100 @@ -1730,7 +1730,7 @@ Pkg.SetZConfig("download_media_prefer_download" => false) while initial_repository.nil? - initial_repository = Pkg.SourceCreateBase(base_url, "") + initial_repository = Pkg.SourceCreateBase(base_url, "/") next unless initial_repository == -1 || initial_repository.nil? Builtins.y2error("No repository in '%1'", log_url) base_url = UpdateSourceURL(base_url) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.35/src/modules/SpaceCalculation.rb new/yast2-packager-4.0.37/src/modules/SpaceCalculation.rb --- old/yast2-packager-4.0.35/src/modules/SpaceCalculation.rb 2018-02-02 16:03:57.000000000 +0100 +++ new/yast2-packager-4.0.37/src/modules/SpaceCalculation.rb 2018-02-09 15:26:06.000000000 +0100 @@ -591,7 +591,7 @@ SCR.Execute(path(".target.bash"), "mkdir -p #{Shellwords.escape(tmpdir)}") # mount options determined by partitioner - mount_options = filesystem.fstab_options.to_a + mount_options = filesystem.mount_options # mount in read-only mode (safer) mount_options << "ro" @@ -690,7 +690,7 @@ free_size_kib = free_size / 1024 used_kib = used / 1024 - mount_name = filesystem.mountpoint + mount_name = filesystem.mount_path log.info "partition: mount: #{mount_name}, free: #{free_size_kib}KiB, used: #{used_kib}KiB" mount_name = mount_name[1..-1] if remove_slash && mount_name != "/" @@ -1060,11 +1060,11 @@ # Check this only in the initial installation (as the non-fstab values # will be missing in "/mnt"), in installed system they will stay available # at "/". See bsc#1073696 for details. - if fs.mountpoint - log.debug("Persistent #{fs.mountpoint.inspect}: #{fs.persistent?}") + if fs.mount_path + log.debug("Persistent #{fs.mount_path.inspect}: #{fs.persistent?}") end - fs.mountpoint && fs.mountpoint.start_with?("/") && (!Stage.initial || fs.persistent?) + fs.mount_path && fs.mount_path.start_with?("/") && (!Stage.initial || fs.persistent?) end filesystems.reject! { |fs| TARGET_FS_TYPES_TO_IGNORE.include?(fs.type) } filesystems diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-4.0.35/test/space_calculation_test.rb new/yast2-packager-4.0.37/test/space_calculation_test.rb --- old/yast2-packager-4.0.35/test/space_calculation_test.rb 2018-02-02 16:03:57.000000000 +0100 +++ new/yast2-packager-4.0.37/test/space_calculation_test.rb 2018-02-09 15:26:06.000000000 +0100 @@ -50,7 +50,8 @@ stub_devicegraph(target_map) if !with_options - allow_any_instance_of(Storage::BlkFilesystem).to receive(:fstab_options).and_return([]) + allow_any_instance_of(Y2Storage::Filesystems::BlkFilesystem) + .to receive(:mount_options).and_return([]) end allow(Yast::SCR).to receive(:Read).with(SCR_TMPDIR_PATH).and_return "/tmp"
