forked from pool/kdump
Accepting request 239571 from home:ptesarik:branches:Kernel:kdump
Update to 0.8.15 OBS-URL: https://build.opensuse.org/request/show/239571 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=97
This commit is contained in:
parent
4dc45c77b4
commit
c5f7c591ff
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:67e6a549a42f4b78510b5cbe7e377f78df6ea1dcf0ffaf65fb3586dae7fb4bcf
|
|
||||||
size 3335797
|
|
3
kdump-0.8.15.tar.bz2
Normal file
3
kdump-0.8.15.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2d492a9b833e571b32721d949ca140889a48aae38ae2288d7988f6c4e3aa5185
|
||||||
|
size 3336592
|
@ -1,29 +0,0 @@
|
|||||||
From: Petr Tesarik <ptesarik@suse.cz>
|
|
||||||
Date: Mon Jun 16 13:26:52 2014 +0200
|
|
||||||
Subject: Disable memory cgroup in the kdump kernel
|
|
||||||
References: bnc#881091
|
|
||||||
Patch-mainline: v0.8.15
|
|
||||||
Git-commit: 63b43b62fa385f5b2a0326c57cb0821d698aecc8
|
|
||||||
|
|
||||||
Since cgroups are not used for anything in the kdump kernel, they only
|
|
||||||
take up part of the precious RAM. It is better to keep them disabled.
|
|
||||||
|
|
||||||
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
|
|
||||||
|
|
||||||
diff --git a/init/rc.kdump.functions b/init/rc.kdump.functions
|
|
||||||
index 6a42ef7..24c1656 100755
|
|
||||||
--- a/init/rc.kdump.functions
|
|
||||||
+++ b/init/rc.kdump.functions
|
|
||||||
@@ -99,10 +99,10 @@ function build_kdump_commandline()
|
|
||||||
if [ -z "$commandline" ]; then
|
|
||||||
commandline=$(
|
|
||||||
remove_from_commandline \
|
|
||||||
- 'crashkernel|splash|mem|BOOT_IMAGE|showopts|zfcp\.allow_lun_scan|hugepages|acpi_no_memhotplug' \
|
|
||||||
+ 'crashkernel|splash|mem|BOOT_IMAGE|showopts|zfcp\.allow_lun_scan|hugepages|acpi_no_memhotplug|cgroup_disable' \
|
|
||||||
< /proc/cmdline)
|
|
||||||
# Use deadline for saving the memory footprint
|
|
||||||
- commandline="$commandline elevator=deadline sysrq=yes reset_devices acpi_no_memhotplug"
|
|
||||||
+ commandline="$commandline elevator=deadline sysrq=yes reset_devices acpi_no_memhotplug cgroup_disable=memory"
|
|
||||||
local arch=$(uname -i)
|
|
||||||
case "$arch" in
|
|
||||||
i?86|x86_64|ia64)
|
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 4 11:25:25 UTC 2014 - ptesarik@suse.cz
|
||||||
|
|
||||||
|
- Update to 0.8.15
|
||||||
|
o Disable memory cgroup in kdump kernel
|
||||||
|
o Limit the number of CPUs on all architectures
|
||||||
|
o Increase udevd memory requirements
|
||||||
|
o If possible, use wicked to determine network mode
|
||||||
|
o Take number of possible CPUs into account for calibrate
|
||||||
|
|
||||||
|
- kdump-disable-memory-cgroup.patch: Dropped.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 16 11:27:57 UTC 2014 - ptesarik@suse.cz
|
Mon Jun 16 11:27:57 UTC 2014 - ptesarik@suse.cz
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
Url: https://github.com/ptesarik/kdump
|
Url: https://github.com/ptesarik/kdump
|
||||||
|
|
||||||
Name: kdump
|
Name: kdump
|
||||||
Version: 0.8.14
|
Version: 0.8.15
|
||||||
Release: 0
|
Release: 0
|
||||||
Requires: curl
|
Requires: curl
|
||||||
Requires: makedumpfile
|
Requires: makedumpfile
|
||||||
@ -59,7 +59,6 @@ PreReq: %insserv_prereq %fillup_prereq mkinitrd
|
|||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source2: %{name}-rpmlintrc
|
Source2: %{name}-rpmlintrc
|
||||||
Source3: kdump.service
|
Source3: kdump.service
|
||||||
Patch0: %{name}-disable-memory-cgroup.patch
|
|
||||||
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)
|
||||||
Provides: kdump-helpers = %{version}
|
Provides: kdump-helpers = %{version}
|
||||||
@ -97,7 +96,6 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags"
|
export CFLAGS="%optflags"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user