git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync sys clock to hardware to prevent fsck reboot bug for systems with wrong
[bootmanager.git]
/
source
/
steps
/
ChainBootNode.py
diff --git
a/source/steps/ChainBootNode.py
b/source/steps/ChainBootNode.py
index
09b7678
..
6d1e39e
100644
(file)
--- 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 ' \