Hello community, here is the log from the commit of package yast2-packager for openSUSE:Factory checked in at 2014-02-21 13:48:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old) and /work/SRC/openSUSE:Factory/.yast2-packager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-packager" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes 2014-01-30 11:38:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes 2014-02-21 13:48:05.000000000 +0100 @@ -1,0 +2,20 @@ +Mon Feb 17 16:30:26 CET 2014 - locilka@suse.com + +- Package tightvnc is no more required while installing over VNC + (bnc#859903) +- 3.1.4 + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- Old: ---- yast2-packager-3.1.1.tar.bz2 New: ---- yast2-packager-3.1.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-packager.spec ++++++ --- /var/tmp/diff_new_pack.zHkduy/_old 2014-02-21 13:48:06.000000000 +0100 +++ /var/tmp/diff_new_pack.zHkduy/_new 2014-02-21 13:48:06.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 3.1.1 +Version: 3.1.4 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -29,7 +29,8 @@ BuildRequires: yast2-testsuite BuildRequires: yast2-xml -BuildRequires: yast2 >= 3.0.5 +# HwDetection +BuildRequires: yast2 >= 3.1.19 # Pkg::SetZConfig() BuildRequires: yast2-pkg-bindings >= 2.21.8 @@ -40,8 +41,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.4.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.4/package/yast2-packager.changes --- old/yast2-packager-3.1.1/package/yast2-packager.changes 2014-01-24 17:23:58.000000000 +0100 +++ new/yast2-packager-3.1.4/package/yast2-packager.changes 2014-02-19 14:21:58.000000000 +0100 @@ -1,4 +1,24 @@ ------------------------------------------------------------------- +Mon Feb 17 16:30:26 CET 2014 - locilka@suse.com + +- Package tightvnc is no more required while installing over VNC + (bnc#859903) +- 3.1.4 + +------------------------------------------------------------------- +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.4/package/yast2-packager.spec --- old/yast2-packager-3.1.1/package/yast2-packager.spec 2014-01-24 17:23:58.000000000 +0100 +++ new/yast2-packager-3.1.4/package/yast2-packager.spec 2014-02-19 14:21:58.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 3.1.1 +Version: 3.1.4 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.4/src/clients/inst_productsources.rb --- old/yast2-packager-3.1.1/src/clients/inst_productsources.rb 2014-01-24 17:23:58.000000000 +0100 +++ new/yast2-packager-3.1.4/src/clients/inst_productsources.rb 2014-02-19 14:21:59.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.4/src/include/packager/load_release_notes.rb --- old/yast2-packager-3.1.1/src/include/packager/load_release_notes.rb 2014-01-24 17:23:58.000000000 +0100 +++ new/yast2-packager-3.1.4/src/include/packager/load_release_notes.rb 2014-02-19 14:21:59.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' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-3.1.1/src/modules/Packages.rb new/yast2-packager-3.1.4/src/modules/Packages.rb --- old/yast2-packager-3.1.1/src/modules/Packages.rb 2014-01-24 17:23:58.000000000 +0100 +++ new/yast2-packager-3.1.4/src/modules/Packages.rb 2014-02-19 14:21:59.000000000 +0100 @@ -818,7 +818,7 @@ packages = [] if Linuxrc.vnc - packages.concat [ "tightvnc", "yast2-qt", "xorg-x11-Xvnc", + packages.concat [ "yast2-qt", "xorg-x11-Xvnc", "xorg-x11-fonts", "icewm", "sax2-tools", "yast2-x11", "xinetd" ] end -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org