Mailinglist Archive: opensuse-commit (1191 mails)
| < Previous | Next > |
commit kdump
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Wed, 06 Aug 2008 01:49:41 +0200
- Message-id: <20080805234941.EA70F678178@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package kdump
checked in at Wed Aug 6 01:49:41 CEST 2008.
--------
--- kdump/kdump.changes 2008-08-01 14:06:03.000000000 +0200
+++ /mounts/work_src_done/STABLE/kdump/kdump.changes 2008-08-04
22:46:17.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 4 22:27:26 CEST 2008 - bwalle@xxxxxxx
+
+- Don't report ELF32 as "invalid ELF class"
+
+-------------------------------------------------------------------
New:
----
kdump-elf32.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.t13525/_old 2008-08-06 01:49:31.000000000 +0200
+++ /var/tmp/diff_new_pack.t13525/_new 2008-08-06 01:49:31.000000000 +0200
@@ -2,19 +2,27 @@
# spec file for package kdump (Version 0.5.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
+Url: http://freehg.org/u/bwalle/kdump/
Name: kdump
License: GPL v2 or later
Version: 0.5.5
-Release: 1
+Release: 5
Requires: curl openssh makedumpfile
Summary: Script for kdump
Group: System/Kernel
@@ -34,6 +42,7 @@
Provides: kexec-tools:/etc/init.d/kdump
Requires: kexec-tools
PreReq: coreutils sed
+Patch0: kdump-elf32.diff
%description
kdump is a package that includes several scripts for kdump, including
@@ -47,6 +56,7 @@
%prep
%setup
+%patch0 -p1
%build
mkdir build
@@ -94,6 +104,8 @@
%config %{_sysconfdir}/udev/rules.d/70-kdump.rules
%changelog
+* Tue Aug 05 2008 bwalle@xxxxxxx
+- Don't report ELF32 as "invalid ELF class"
* Fri Aug 01 2008 bwalle@xxxxxxx
- update to 0.5.5
o make dependency to libssh2 optional
++++++ kdump-elf32.diff ++++++
# HG changeset patch
# User Bernhard Walle <bwalle@xxxxxxx>
# Date 1217881323 -7200
# Node ID 6cd588dd331313494649612a36d8493ef36ab585
# Parent 20c1d15845d2ece1b22f63478b40f3304e014fcd
Don't report ELF32 as "invalid ELF class"
diff --git a/kdumptool/vmcoreinfo.cc b/kdumptool/vmcoreinfo.cc
--- a/kdumptool/vmcoreinfo.cc
+++ b/kdumptool/vmcoreinfo.cc
@@ -149,7 +149,7 @@
// check elf32 vs. elf64
int clazz = gelf_getclass(elf);
- if (clazz == ELFCLASS32)
+ if (clazz == ELFCLASSNONE)
throw KError("Vmcoreinfo: Invalid ELF class.");
isElf64 = clazz == ELFCLASS64;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |