forked from pool/kdump
Accepting request 586460 from home:ptesarik:branches:Kernel:kdump
- kdump-always-copy-timezone.patch: Always copy timezone data into kdumprd (bsc#1081646). OBS-URL: https://build.opensuse.org/request/show/586460 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=158
This commit is contained in:
parent
9ede522d29
commit
58fc460f50
27
kdump-always-copy-timezone.patch
Normal file
27
kdump-always-copy-timezone.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From: Petr Tesarik <ptesarik@suse.com>
|
||||||
|
Date: Tue, 13 Mar 2018 16:40:13 +0100
|
||||||
|
Subject: Always copy timezone data into kdumprd
|
||||||
|
References: bsc#1081646
|
||||||
|
Upstream: merged
|
||||||
|
Git-commit: 58d5fa45ed8e7c12866765cadb520e92600c1d39
|
||||||
|
|
||||||
|
Timezone data is not always copied automatically by dracut. In fact,
|
||||||
|
the code which does that is SUSE-specific, see bsc#830060, or SUSE
|
||||||
|
patch 0020-00warpclock-Set-correct-timezone.patch.
|
||||||
|
|
||||||
|
Even with the above patch, localtime is not copied on s390(x).
|
||||||
|
|
||||||
|
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
|
||||||
|
---
|
||||||
|
init/module-setup.sh | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
--- a/init/module-setup.sh
|
||||||
|
+++ b/init/module-setup.sh
|
||||||
|
@@ -227,4 +227,6 @@ install() {
|
||||||
|
inst_multiple makedumpfile makedumpfile-R.pl kdumptool \
|
||||||
|
$KDUMP_REQUIRED_PROGRAMS
|
||||||
|
inst_simple /etc/resolv.conf
|
||||||
|
+ inst_simple /usr/share/zoneinfo/UTC
|
||||||
|
+ inst_simple /etc/localtime
|
||||||
|
}
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 13 15:48:28 UTC 2018 - ptesarik@suse.com
|
||||||
|
|
||||||
|
- kdump-always-copy-timezone.patch: Always copy timezone data into
|
||||||
|
kdumprd (bsc#1081646).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 27 10:26:57 UTC 2018 - ptesarik@suse.com
|
Tue Feb 27 10:26:57 UTC 2018 - ptesarik@suse.com
|
||||||
|
|
||||||
|
@ -90,6 +90,7 @@ Patch40: %{name}-bootloader-filter-out-KDUMPTOOL_FLAGS.patch
|
|||||||
Patch41: %{name}-always-kexec_load-if-kexec_file_load-fails.patch
|
Patch41: %{name}-always-kexec_load-if-kexec_file_load-fails.patch
|
||||||
Patch42: %{name}-nokaslr.patch
|
Patch42: %{name}-nokaslr.patch
|
||||||
Patch43: %{name}-no-crashkernel-in-Xen-PV-DomU.patch
|
Patch43: %{name}-no-crashkernel-in-Xen-PV-DomU.patch
|
||||||
|
Patch44: %{name}-always-copy-timezone.patch
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -195,6 +196,7 @@ cp %{S:1} tests/data/
|
|||||||
%patch41 -p1
|
%patch41 -p1
|
||||||
%patch42 -p1
|
%patch42 -p1
|
||||||
%patch43 -p1
|
%patch43 -p1
|
||||||
|
%patch44 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user