Hello community, here is the log from the commit of package kexec-tools checked in at Thu Oct 9 18:48:53 CEST 2008. -------- --- kexec-tools/kexec-tools.changes 2008-10-08 16:58:46.000000000 +0200 +++ /mounts/work_src_done/STABLE/kexec-tools/kexec-tools.changes 2008-10-09 15:53:18.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Oct 09 15:47:46 CEST 2008 - bwalle@suse.de + +- Add newline in error message of "kexec-bootloader". +- Add error handling when Bootloader::Tools::GetDefaultSection() + fails. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kexec-tools.spec ++++++ --- /var/tmp/diff_new_pack.d28780/_old 2008-10-09 18:47:48.000000000 +0200 +++ /var/tmp/diff_new_pack.d28780/_new 2008-10-09 18:47:48.000000000 +0200 @@ -29,7 +29,7 @@ AutoReqProv: on Summary: Tools for fast kernel loading Version: 2.0.0 -Release: 37 +Release: 38 Source: %{name}-%{version}.tar.bz2 Source1: kexec-bootloader Source2: kexec-bootloader.8.txt @@ -138,6 +138,10 @@ %endif %changelog +* Thu Oct 09 2008 bwalle@suse.de +- Add newline in error message of "kexec-bootloader". +- Add error handling when Bootloader::Tools::GetDefaultSection() + fails. * Wed Oct 08 2008 bwalle@suse.de - IA64: Order of operations bug in PT_LOAD segment reader. * Wed Oct 08 2008 bwalle@suse.de ++++++ kexec-bootloader ++++++ --- kexec-tools/kexec-bootloader 2008-10-06 17:34:13.000000000 +0200 +++ /mounts/work_src_done/STABLE/kexec-tools/kexec-bootloader 2008-10-09 15:53:18.000000000 +0200 @@ -131,6 +131,11 @@ $section = Bootloader::Tools::GetDefaultSection(); } +if (!$section) { + print STDERR "Unable to get default section of bootloader configuration.\n"; + exit(1); +} + if ($debug) { print "Type : " . $section->{"type"}."\n"; print "Name : " . $section->{"name"}."\n"; @@ -142,7 +147,7 @@ } if ($section->{"type"} ne "image") { - print STDERR "Default boot section is no image."; + print STDERR "Default boot section is no image.\n"; exit(1); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de