git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d32aaf
)
sync sys clock to hardware to prevent fsck reboot bug for systems with wrong
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Fri, 17 Jul 2009 22:06:30 +0000
(22:06 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Fri, 17 Jul 2009 22:06:30 +0000
(22:06 +0000)
hardware clocks. there may be a better place for this code in bm.
source/steps/ChainBootNode.py
patch
|
blob
|
history
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 ' \