ref: e73ba064d23e82cc915d80145294b557f9424678
parent: 0626f892ff3c5c735a513489e396ded512f6cce0
author: Tuan Hoang <tmhoang@linux.ibm.com>
date: Mon Mar 11 12:57:10 CDT 2019
init: use hwclock on s390x
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -678,7 +678,7 @@
fi
# use swclock if no RTC is found
-if rtc_exists; then
+if rtc_exists || [ "$(uname -m)" = "s390x" ]; then
rc_add hwclock boot
else
rc_add swclock boot