From e56dca286266de0ffda334ad80d89db198641624 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Fri, 17 Jul 2009 22:06:30 +0000 Subject: [PATCH] sync sys clock to hardware to prevent fsck reboot bug for systems with wrong hardware clocks. there may be a better place for this code in bm. --- source/steps/ChainBootNode.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index 09b7678..6d1e39e 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -266,6 +266,7 @@ def Run( vars, log ): # kargs, which is ramdisk_size=8192 pass + utils.sysexec_noerr( 'hwclock --systohc --utc ' ) utils.breakpoint ("Before kexec"); try: utils.sysexec( 'kexec --force --initrd=/tmp/initrd ' \ -- 2.43.0