commit crash for openSUSE:Factory
Hello community,
here is the log from the commit of package crash for openSUSE:Factory
checked in at Thu Oct 13 00:09:16 CEST 2011.
--------
--- openSUSE:Factory/crash/crash.changes 2011-10-02 09:53:29.000000000 +0200
+++ /mounts/work_src_done/STABLE/crash/crash.changes 2011-10-11 15:35:04.000000000 +0200
@@ -1,0 +2,16 @@
+Tue Oct 11 13:24:38 UTC 2011 - ptesarik@suse.cz
+
+- Add Requires: kernel-$flavor to new-style KMP packages.
+- Provide old-styl crash-kmp (for SLES9).
+
+-------------------------------------------------------------------
+Mon Oct 10 16:04:01 UTC 2011 - ptesarik@suse.cz
+
+- Build the crash memory driver kernel module as a KMP.
+
+-------------------------------------------------------------------
+Mon Oct 10 15:48:55 UTC 2011 - ptesarik@suse.cz
+
+- Change the license from GPLv3 (only) to GPLv3 or higher.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
crash-kmp-preamble
depmod.sh
get-kernel-flavors.sh
mkinitrd.sh
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ crash.spec ++++++
--- /var/tmp/diff_new_pack.rjWQFp/_old 2011-10-13 00:09:10.000000000 +0200
+++ /var/tmp/diff_new_pack.rjWQFp/_new 2011-10-13 00:09:10.000000000 +0200
@@ -33,17 +33,22 @@
%else
%define build_gcore 0
%endif
+%define build_kmp 1
Url: http://people.redhat.com/anderson/
Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles
Version: %{crash_version}
Release: 1
-License: GPLv3; GFDLv1.2
+License: GPLv3+; GFDLv1.2
Group: Development/Tools/Debuggers
Source: %{name}-%{version}.tar.gz
Source2: crash_whitepaper-%{whitepaper_version}.tar.bz2
Source3: README.SUSE
Source4: sial-scripts-%{scripts_version}.tar.bz2
Source5: gcore-%{gcore_version}.tar.bz2
+Source95: get-kernel-flavors.sh
+Source96: depmod.sh
+Source97: mkinitrd.sh
+Source98: %{name}-kmp-preamble
Source99: rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch1: %{name}-make-emacs-default.diff
@@ -58,6 +63,27 @@
ExclusiveArch: %ix86 x86_64 ia64 s390 s390x ppc64 alpha
# Source code says it can do ppc32. Excluded here?
ExcludeArch: ppc
+# crash driver KMP
+%if %build_kmp
+BuildRequires: kernel-syms module-init-tools
+%if 0%{?suse_version} >= 1130
+BuildRequires: kernel-devel
+%endif
+%endif
+
+%if %build_kmp
+%if 0%{?suse_version} >= 920
+%suse_kernel_module_package -n crash -p %_sourcedir/%{name}-kmp-preamble um
+%define arch %_target_cpu
+%define kmp_pkg KMP
+%else
+%define kver %(rpm -q --qf '%{VERSION}-%{RELEASE}' kernel-source)
+%define kver_ %(rpm -q --qf '%{VERSION}_%{RELEASE}' kernel-source)
+%define arch %(echo %_target_cpu | sed -e 's/i.86/i386/')
+%define flavors_to_build %(sh %_sourcedir/get-kernel-flavors.sh %arch)
+%define kmp_pkg kmp
+%endif
+%endif
%description
The core analysis suite is a self-contained tool that can be used to
@@ -149,6 +175,30 @@
%endif
+%if %build_kmp
+
+%package %kmp_pkg
+Group: System/Kernel
+License: GPL v2 only
+Summary: Memory driver for the crash utility
+%if 0%{?suse_version} < 920
+Version: %{version}_%{kver_}
+
+
+Requires: kernel = %kver
+%endif
+
+%description %kmp_pkg
+To run the crash utility on a live system, a memory device must be present.
+Due to many limitations of the /dev/mem interface, a separate kernel module
+is provided to access all RAM through the /dev/crash device.
+
+Authors:
+--------
+ David Anderson
participants (1)
-
root@hilbert.suse.de