Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2017-06-12 15:12:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autoyast2" Mon Jun 12 15:12:43 2017 rev:224 rq:502535 version:3.2.16 Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2017-06-07 13:08:09.761747603 +0200 +++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2017-06-12 15:12:46.826717742 +0200 @@ -1,0 +2,7 @@ +Fri Jun 9 09:08:50 CEST 2017 - [email protected] + +- Report shrinked partitions if there is not enough space. + (bnc#1039528) +- 3.2.16 + +------------------------------------------------------------------- Old: ---- autoyast2-3.2.15.tar.bz2 New: ---- autoyast2-3.2.16.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.0DkRRb/_old 2017-06-12 15:12:47.722591332 +0200 +++ /var/tmp/diff_new_pack.0DkRRb/_new 2017-06-12 15:12:47.726590768 +0200 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.2.15 +Version: 3.2.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ autoyast2-3.2.15.tar.bz2 -> autoyast2-3.2.16.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.2.15/package/autoyast2.changes new/autoyast2-3.2.16/package/autoyast2.changes --- old/autoyast2-3.2.15/package/autoyast2.changes 2017-05-18 10:55:51.008751440 +0200 +++ new/autoyast2-3.2.16/package/autoyast2.changes 2017-06-09 11:58:05.770288775 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Jun 9 09:08:50 CEST 2017 - [email protected] + +- Report shrinked partitions if there is not enough space. + (bnc#1039528) +- 3.2.16 + +------------------------------------------------------------------- Thu May 18 10:46:35 CEST 2017 - [email protected] - clone system: Checking if snapshots have been enabled. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.2.15/package/autoyast2.spec new/autoyast2-3.2.16/package/autoyast2.spec --- old/autoyast2-3.2.15/package/autoyast2.spec 2017-05-18 10:55:51.008751440 +0200 +++ new/autoyast2-3.2.16/package/autoyast2.spec 2017-06-09 11:58:05.770288775 +0200 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.2.15 +Version: 3.2.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.2.15/src/modules/AutoinstStorage.rb new/autoyast2-3.2.16/src/modules/AutoinstStorage.rb --- old/autoyast2-3.2.15/src/modules/AutoinstStorage.rb 2017-05-18 10:55:51.268751440 +0200 +++ new/autoyast2-3.2.16/src/modules/AutoinstStorage.rb 2017-06-09 11:58:05.786288775 +0200 @@ -13,6 +13,9 @@ include Yast::Logger + # Report shrinking if it will be bigger than about 5 MBytes. + REPORT_DISK_SHRINKING_LIMIT = 5000000 + def main Yast.import "UI" textdomain "autoinst" @@ -504,6 +507,11 @@ else usedSize = Ops.subtract(usedSize, s) Builtins.y2milestone("shrinking to %1", s) + if (pe["size"] - s) > REPORT_DISK_SHRINKING_LIMIT + Report.Warning(_("Requested partition size of %s on \"%s\" will be reduced to "\ + "%s in order to fit on disk.") % + [Storage.ByteToHumanString(pe["size"]), pe["mount"], Storage.ByteToHumanString(s)]) + end Ops.set(pe, "size", s) end end
