Hello community, here is the log from the commit of package yast2-kdump for openSUSE:Factory checked in at 2018-04-26 13:30:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-kdump (Old) and /work/SRC/openSUSE:Factory/.yast2-kdump.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-kdump" Thu Apr 26 13:30:39 2018 rev:89 rq:600019 version:4.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-kdump/yast2-kdump.changes 2018-02-07 18:18:21.484995803 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-kdump.new/yast2-kdump.changes 2018-04-26 13:30:40.792242368 +0200 @@ -1,0 +2,12 @@ +Thu Apr 19 22:55:41 UTC 2018 - [email protected] + +- do not write crashkernel to XEN dom0 (bsc#1085626) +- 4.0.3 + +------------------------------------------------------------------- +Thu Apr 19 16:25:07 CEST 2018 - [email protected] + +- log to /var/log/YaST2, not /var/lib/YaST2 (bsc#1090202) +- 4.0.2 + +------------------------------------------------------------------- Old: ---- yast2-kdump-4.0.1.tar.bz2 New: ---- yast2-kdump-4.0.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-kdump.spec ++++++ --- /var/tmp/diff_new_pack.eVagqw/_old 2018-04-26 13:30:41.276224639 +0200 +++ /var/tmp/diff_new_pack.eVagqw/_new 2018-04-26 13:30:41.276224639 +0200 @@ -17,7 +17,7 @@ Name: yast2-kdump -Version: 4.0.1 +Version: 4.0.3 Release: 0 Summary: Configuration of kdump License: GPL-2.0 ++++++ yast2-kdump-4.0.1.tar.bz2 -> yast2-kdump-4.0.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.0.1/package/yast2-kdump.changes new/yast2-kdump-4.0.3/package/yast2-kdump.changes --- old/yast2-kdump-4.0.1/package/yast2-kdump.changes 2018-02-05 17:25:26.000000000 +0100 +++ new/yast2-kdump-4.0.3/package/yast2-kdump.changes 2018-04-23 14:28:14.000000000 +0200 @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Thu Apr 19 22:55:41 UTC 2018 - [email protected] + +- do not write crashkernel to XEN dom0 (bsc#1085626) +- 4.0.3 + +------------------------------------------------------------------- +Thu Apr 19 16:25:07 CEST 2018 - [email protected] + +- log to /var/log/YaST2, not /var/lib/YaST2 (bsc#1090202) +- 4.0.2 + +------------------------------------------------------------------- Mon Feb 05 14:57:23 CET 2018 - [email protected] - added supplements for yast2 and kdump (bsc#1070423) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.0.1/package/yast2-kdump.spec new/yast2-kdump-4.0.3/package/yast2-kdump.spec --- old/yast2-kdump-4.0.1/package/yast2-kdump.spec 2018-02-05 17:25:26.000000000 +0100 +++ new/yast2-kdump-4.0.3/package/yast2-kdump.spec 2018-04-23 14:28:14.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-kdump -Version: 4.0.1 +Version: 4.0.3 Release: 0 Summary: Configuration of kdump License: GPL-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.0.1/src/modules/Kdump.rb new/yast2-kdump-4.0.3/src/modules/Kdump.rb --- old/yast2-kdump-4.0.1/src/modules/Kdump.rb 2018-02-05 17:25:26.000000000 +0100 +++ new/yast2-kdump-4.0.3/src/modules/Kdump.rb 2018-04-23 14:28:14.000000000 +0200 @@ -274,7 +274,6 @@ # @return [Boolean] successfull def ReadKdumpKernelParam result = Bootloader.kernel_param(:common, "crashkernel") - result = Bootloader.kernel_param(:xen_guest, "crashkernel") if result == :missing xen_result = Bootloader.kernel_param(:xen_host, "crashkernel") # result could be [String,Array,:missing,:present] # String - the value of the only occurrence @@ -416,7 +415,7 @@ # @param update_command [String] a command for .target.bash # @return [Boolean] whether successful def update_initrd_with(update_command) - update_logfile = File.join(Directory.vardir, "y2logmkinitrd") + update_logfile = File.join(Directory.logdir, "y2logmkinitrd") run_command = update_command + " >> #{update_logfile} 2>&1" y2milestone("Running command: #{run_command}") @@ -496,7 +495,7 @@ Service.Enable(KDUMP_SERVICE_NAME) Service.Restart(KDUMP_SERVICE_NAME) if Service.active?(KDUMP_SERVICE_NAME) else - Bootloader.modify_kernel_params(:common, :xen_guest, :recovery, "crashkernel" => crash_values) + Bootloader.modify_kernel_params(:common, :recovery, "crashkernel" => crash_values) Bootloader.modify_kernel_params(:xen_host, "crashkernel" => crash_xen_values) # do mass write in installation to speed up, so skip this one if !Stage.initial @@ -1220,7 +1219,7 @@ else value = nil end - Bootloader.modify_kernel_params(:common, :xen_guest, :recovery, "fadump" => value) + Bootloader.modify_kernel_params(:common, :recovery, "fadump" => value) Bootloader.Write unless Yast::Stage.initial # do mass write in installation to speed up end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.0.1/test/kdump_test.rb new/yast2-kdump-4.0.3/test/kdump_test.rb --- old/yast2-kdump-4.0.1/test/kdump_test.rb 2018-02-05 17:25:26.000000000 +0100 +++ new/yast2-kdump-4.0.3/test/kdump_test.rb 2018-04-23 14:28:14.000000000 +0200 @@ -447,7 +447,7 @@ it "writes the crashkernel value to the bootloader and enables the service" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => ["the_value"]) + .with(:common, :recovery, "crashkernel" => ["the_value"]) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["xen_value"]) @@ -464,7 +464,7 @@ it "writes an empty crashkernel in the bootloader and enables the service" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => []) + .with(:common, :recovery, "crashkernel" => []) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => []) @@ -481,7 +481,7 @@ it "writes a proposed crashkernel in the bootloader and enables the service" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => bootlader_kernel_params) + .with(:common, :recovery, "crashkernel" => bootlader_kernel_params) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => bootlader_xen_kernel_params) @@ -512,7 +512,7 @@ it "writes the crashkernel value without removing the offset" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => ["72M@128"]) + .with(:common, :recovery, "crashkernel" => ["72M@128"]) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["72M@128"]) @@ -541,7 +541,7 @@ it "writes the crashkernel value to the bootloader and enables the service" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => ["the_value"]) + .with(:common, :recovery, "crashkernel" => ["the_value"]) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["xen_value"]) @@ -558,7 +558,7 @@ it "writes an empty crashkernel in the bootloader and enables the service" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => []) + .with(:common, :recovery, "crashkernel" => []) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => []) @@ -575,7 +575,7 @@ it "rewrites the bootloader crashkernel settings and enables the service" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => bootlader_kernel_params) + .with(:common, :recovery, "crashkernel" => bootlader_kernel_params) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => bootlader_xen_kernel_params) @@ -606,7 +606,7 @@ it "writes the crashkernel value without removing the offset" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => ["72M@128"]) + .with(:common, :recovery, "crashkernel" => ["72M@128"]) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["72M@128"]) @@ -634,7 +634,7 @@ it "updates crashkernel and enables service if crashkernel is changed" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => ["128M"]) + .with(:common, :recovery, "crashkernel" => ["128M"]) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["128M\\<4G"]) @@ -675,7 +675,7 @@ it "writes chrashkernel and enables the service if kdump was enabled" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, "crashkernel" => ["64M"]) + .with(:common, :recovery, "crashkernel" => ["64M"]) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["64M\\<4G"]) @@ -712,7 +712,7 @@ it "removes the range" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, {"crashkernel" => ["64M"]}) + .with(:common, :recovery, {"crashkernel" => ["64M"]}) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["64M\\<4G"]) @@ -749,7 +749,7 @@ it "removes the offset" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, {"crashkernel" => ["64M"]}) + .with(:common, :recovery, {"crashkernel" => ["64M"]}) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, "crashkernel" => ["64M\\<4G"]) @@ -763,7 +763,7 @@ it "removes the offset" do expect(Yast::Bootloader) .to receive(:modify_kernel_params) - .with(:common, :xen_guest, :recovery, {"crashkernel" => ["-512M:64M,512M-:128M"]}) + .with(:common, :recovery, {"crashkernel" => ["-512M:64M,512M-:128M"]}) expect(Yast::Bootloader) .to receive(:modify_kernel_params) .with(:xen_host, {"crashkernel" => ["-512M:64M,512M-:128M"]}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.0.1/test/test_helper.rb new/yast2-kdump-4.0.3/test/test_helper.rb --- old/yast2-kdump-4.0.1/test/test_helper.rb 2018-02-05 17:25:26.000000000 +0100 +++ new/yast2-kdump-4.0.3/test/test_helper.rb 2018-04-23 14:28:14.000000000 +0200 @@ -1,6 +1,7 @@ srcdir = File.expand_path("../../src", __FILE__) y2dirs = ENV.fetch("Y2DIR", "").split(":") ENV["Y2DIR"] = y2dirs.unshift(srcdir).join(":") +ENV["LC_ALL"] = "en_US.utf-8" require "yast" require "yast/rspec"
