[Libguestfs] [PATCH v4 4/6] appliance: init: Don't run hwclock command.

Richard W.M. Jones rjones at redhat.com
Wed Mar 23 13:35:42 UTC 2016


This command alone took 0.3 seconds which is about 10% of the current
launch time.  It appears to be unnecessary.

This reverts commit 508f1ee87e816bf6b6fc8e629ccbb2d61a971169.
---
 appliance/init | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/appliance/init b/appliance/init
index d5f7404..7a28780 100755
--- a/appliance/init
+++ b/appliance/init
@@ -107,9 +107,6 @@ for f in /sys/block/sd*/device/timeout; do echo 300 > $f; done
 for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done
 shopt -u nullglob
 
-# Update the system clock.
-hwclock -u -s
-
 # Set up the network.
 ip addr add 127.0.0.1/8 brd + dev lo scope host
 ip link set dev lo up
-- 
2.7.4




More information about the Libguestfs mailing list