forked from pool/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
28 lines
875 B
Diff
28 lines
875 B
Diff
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
|
|
}
|