This commit is contained in:
parent
64467edc34
commit
0c5183455c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:61185b8b630e5b7548cdbb805d298838b93c0afef8aa6edc02a8409c7653a99f
|
|
||||||
size 3301699
|
|
3
kdump-0.6.0.tar.bz2
Normal file
3
kdump-0.6.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7a5133f099985c60d3cb690d462e54a5743f1755fbe27014611dc0aed3a08fa2
|
||||||
|
size 3373260
|
@ -1,19 +0,0 @@
|
|||||||
# HG changeset patch
|
|
||||||
# User Bernhard Walle <bwalle@suse.de>
|
|
||||||
# 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;
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 07 11:40:17 CEST 2008 - bwalle@suse.de
|
||||||
|
|
||||||
|
- update to 0.6.0
|
||||||
|
o add vmcore(5) manual page
|
||||||
|
o implement email support
|
||||||
|
- use PreReq for mkinitrd instead of BuildRequires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 4 22:27:26 CEST 2008 - bwalle@suse.de
|
Mon Aug 4 22:27:26 CEST 2008 - bwalle@suse.de
|
||||||
|
|
||||||
|
19
kdump.spec
19
kdump.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kdump (Version 0.5.5)
|
# spec file for package kdump (Version 0.6.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -21,18 +21,18 @@ Url: http://freehg.org/u/bwalle/kdump/
|
|||||||
|
|
||||||
Name: kdump
|
Name: kdump
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Version: 0.5.5
|
Version: 0.6.0
|
||||||
Release: 5
|
Release: 1
|
||||||
Requires: curl openssh makedumpfile
|
Requires: curl openssh makedumpfile
|
||||||
Summary: Script for kdump
|
Summary: Script for kdump
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Requires(post): mkinitrd
|
BuildRequires: libesmtp-devel
|
||||||
BuildRequires: gcc-c++ libcurl-devel libelf0-devel zlib-devel
|
BuildRequires: gcc-c++ libcurl-devel libelf0-devel zlib-devel
|
||||||
BuildRequires: asciidoc cmake libxslt mkinitrd
|
BuildRequires: asciidoc cmake libxslt
|
||||||
%if %suse_version > 1100
|
%if %suse_version > 1100
|
||||||
BuildRequires: libssh2-devel
|
BuildRequires: libssh2-devel
|
||||||
%endif
|
%endif
|
||||||
PreReq: %insserv_prereq %fillup_prereq
|
PreReq: %insserv_prereq %fillup_prereq mkinitrd
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
|
# rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
|
||||||
@ -42,7 +42,6 @@ Obsoletes: kdump-helpers <= 0.2.4
|
|||||||
Provides: kexec-tools:/etc/init.d/kdump
|
Provides: kexec-tools:/etc/init.d/kdump
|
||||||
Requires: kexec-tools
|
Requires: kexec-tools
|
||||||
PreReq: coreutils sed
|
PreReq: coreutils sed
|
||||||
Patch0: kdump-elf32.diff
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
kdump is a package that includes several scripts for kdump, including
|
kdump is a package that includes several scripts for kdump, including
|
||||||
@ -56,7 +55,6 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -104,6 +102,11 @@ echo "Stopping kexec ..."
|
|||||||
%config %{_sysconfdir}/udev/rules.d/70-kdump.rules
|
%config %{_sysconfdir}/udev/rules.d/70-kdump.rules
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 07 2008 bwalle@suse.de
|
||||||
|
- update to 0.6.0
|
||||||
|
o add vmcore(5) manual page
|
||||||
|
o implement email support
|
||||||
|
- use PreReq for mkinitrd instead of BuildRequires
|
||||||
* Tue Aug 05 2008 bwalle@suse.de
|
* Tue Aug 05 2008 bwalle@suse.de
|
||||||
- Don't report ELF32 as "invalid ELF class"
|
- Don't report ELF32 as "invalid ELF class"
|
||||||
* Fri Aug 01 2008 bwalle@suse.de
|
* Fri Aug 01 2008 bwalle@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user