diff options
author | Tuan Hoang <tmhoang@linux.ibm.com> | 2019-03-11 17:57:10 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-03-13 18:11:02 +0100 |
commit | e73ba064d23e82cc915d80145294b557f9424678 (patch) | |
tree | b99603a2a4ae2c615858691643e923d309f28dde | |
parent | 0626f892ff3c5c735a513489e396ded512f6cce0 (diff) | |
download | mkinitfs-e73ba064d23e82cc915d80145294b557f9424678.tar.bz2 mkinitfs-e73ba064d23e82cc915d80145294b557f9424678.tar.xz |
init: use hwclock on s390x
-rwxr-xr-x | initramfs-init.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs-init.in b/initramfs-init.in index e51db99..0855b27 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -678,7 +678,7 @@ if [ -n "$KOPT_ssh_key" ]; then 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 |