Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-packager -> sle12 ## BNC# 854755 : "Installation freezes when adding on-line repositories" (RESOLVED/FIXED) ## BNC# 862578 : "Release Notes button doesn't take care of text mode" (RESOLVED/FIXED) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-packager/yast2-packager.changes 2014-01-27 16:09:12.000000000 +0100 +++ /mounts/work_src_done/SLE12/yast2-packager/yast2-packager.changes 2014-02-11 09:07:34.000000000 +0100 @@ -1,0 +2,13 @@ +Mon Feb 10 15:15:43 UTC 2014 - lslezak@suse.cz + +- display a warning when using online repositories with less than + 1GiB RAM (the installer may crash or freeze) (bnc#854755) +- 3.1.3 + +------------------------------------------------------------------- +Fri Feb 7 11:30:54 UTC 2014 - jsrain@suse.cz + +- use text version of release notes for NCurses (bnc#862578) +- 3.1.2 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-packager - at least 24 other packages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-packager (Old) and /mounts/work_src_done/SLE12/yast2-packager (BS:build ID:32283 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-packager", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-packager-3.1.1.tar.bz2 New: ---- yast2-packager-3.1.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-packager.spec ++++++ --- /var/tmp/diff_new_pack.7ZJneN/_old 2014-02-11 18:23:20.000000000 +0100 +++ /var/tmp/diff_new_pack.7ZJneN/_new 2014-02-11 18:23:20.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 3.1.1 +Version: 3.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -28,7 +28,8 @@ BuildRequires: yast2-country-data yast2-xml update-desktop-files yast2-testsuite BuildRequires: yast2-devtools >= 3.1.10 -BuildRequires: yast2 >= 3.0.5 +# HwDetection +BuildRequires: yast2 >= 3.1.19 # Pkg::SetZConfig() BuildRequires: yast2-pkg-bindings >= 2.21.8 @@ -39,8 +40,8 @@ # Pkg::SetZConfig() Requires: yast2-pkg-bindings >= 2.21.8 -# OSRelease -Requires: yast2 >= 3.0.5 +# HwDetection +Requires: yast2 >= 3.1.19 # unzipping license file Requires: unzip ++++++ yast2-packager-3.1.1.tar.bz2 -> yast2-packager-3.1.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.1/package/yast2-packager.changes new/yast2-packager-3.1.3/package/yast2-packager.changes --- old/yast2-packager-3.1.1/package/yast2-packager.changes 2014-01-27 11:58:31.000000000 +0100 +++ new/yast2-packager-3.1.3/package/yast2-packager.changes 2014-02-11 09:20:00.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Mon Feb 10 15:15:43 UTC 2014 - lslezak@suse.cz + +- display a warning when using online repositories with less than + 1GiB RAM (the installer may crash or freeze) (bnc#854755) +- 3.1.3 + +------------------------------------------------------------------- +Fri Feb 7 11:30:54 UTC 2014 - jsrain@suse.cz + +- use text version of release notes for NCurses (bnc#862578) +- 3.1.2 + +------------------------------------------------------------------- Tue Jan 7 17:59:13 CET 2014 - locilka@suse.com - Removed unneeded client inst_media (bnc#857681) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.1/package/yast2-packager.spec new/yast2-packager-3.1.3/package/yast2-packager.spec --- old/yast2-packager-3.1.1/package/yast2-packager.spec 2014-01-27 11:58:31.000000000 +0100 +++ new/yast2-packager-3.1.3/package/yast2-packager.spec 2014-02-11 09:20:00.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 3.1.1 +Version: 3.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -28,7 +28,8 @@ BuildRequires: yast2-country-data yast2-xml update-desktop-files yast2-testsuite BuildRequires: yast2-devtools >= 3.1.10 -BuildRequires: yast2 >= 3.0.5 +# HwDetection +BuildRequires: yast2 >= 3.1.19 # Pkg::SetZConfig() BuildRequires: yast2-pkg-bindings >= 2.21.8 @@ -39,8 +40,8 @@ # Pkg::SetZConfig() Requires: yast2-pkg-bindings >= 2.21.8 -# OSRelease -Requires: yast2 >= 3.0.5 +# HwDetection +Requires: yast2 >= 3.1.19 # unzipping license file Requires: unzip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.1/src/clients/inst_productsources.rb new/yast2-packager-3.1.3/src/clients/inst_productsources.rb --- old/yast2-packager-3.1.1/src/clients/inst_productsources.rb 2014-01-27 11:58:31.000000000 +0100 +++ new/yast2-packager-3.1.3/src/clients/inst_productsources.rb 2014-02-11 09:20:00.000000000 +0100 @@ -1,7 +1,14 @@ # encoding: utf-8 +require "yast2/hw_detection" + module Yast class InstProductsourcesClient < Client + + # too low memory for using online repositories (in MiB), + # at least 1GiB is recommended + LOW_MEMORY_MIB = 1024 + def main Yast.import "UI" Yast.import "Pkg" @@ -1301,6 +1308,9 @@ dialog_ret = nil + # warn if there is low memory + check_memory_size + while true dialog_ret = UI.UserInput @@ -1712,6 +1722,24 @@ Convert.to_symbol(ret) end + + private + + # display a warning when online repositories are used on a system + # with low memory (the installer may crash or freeze, see bnc#854755) + def check_memory_size + # less than LOW_MEMORY_MIB RAM + if Mode.installation && Yast2::HwDetection.memory < (LOW_MEMORY_MIB << 20) + Report.Warning(_("Low memory detected.\n\nUsing online repositories " + + "during initial installation with less than\n" + + "%dMiB system memory is not recommended.\n\n" + + "The installer may crash or freeze if the additional package data\n" + + "need too much memory.\n\n" + + "Using the online repositories later in the installed system is\n" + + "recommended in this case.") % LOW_MEMORY_MIB) + end + end + end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.1/src/include/packager/load_release_notes.rb new/yast2-packager-3.1.3/src/include/packager/load_release_notes.rb --- old/yast2-packager-3.1.1/src/include/packager/load_release_notes.rb 2014-01-27 11:58:31.000000000 +0100 +++ new/yast2-packager-3.1.3/src/include/packager/load_release_notes.rb 2014-02-11 09:20:00.000000000 +0100 @@ -33,8 +33,9 @@ end path_to_relnotes = "/docu" + filename_templ = UI.TextMode ? "/RELEASE-NOTES.%1.txt" : "/RELEASE-NOTES.%1.rtf" - path_templ = Ops.add(path_to_relnotes, "/RELEASE-NOTES.%1.rtf") + path_templ = path_to_relnotes + filename_templ Builtins.y2debug("Path template: %1", path_templ) # try 'en_UK' for 'en_UK' continue with "q"... Checked in at Tue Feb 11 18:23:29 CET 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org