summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-patches
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-05-16 10:53:02 +0000
committerintrigeri <intrigeri@boum.org>2015-05-16 10:53:02 +0000
commit3f0ac5073441160a0745a23225465ba9b5438977 (patch)
tree2cb5ff4a5b7d5b1dd632135660935a805ecdf236 /config/chroot_local-patches
parentcdb369afa95bcaf0a691ddab083ee951b65b0754 (diff)
Disable the hwclock.sh initscript at reboot/shutdown time.
Otherwise it would set the hardware clock to the system time, violating (a strict interpretation of) our "don't leave traces on the hardware being used" design goal. Will-fix: #9364
Diffstat (limited to 'config/chroot_local-patches')
-rw-r--r--config/chroot_local-patches/do-not-modify-hardware-clock.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/chroot_local-patches/do-not-modify-hardware-clock.diff b/config/chroot_local-patches/do-not-modify-hardware-clock.diff
new file mode 100644
index 0000000..ee1e6e5
--- /dev/null
+++ b/config/chroot_local-patches/do-not-modify-hardware-clock.diff
@@ -0,0 +1,11 @@
+--- a/etc/init.d/hwclock.sh 2015-05-16 10:47:58.445109125 +0000
++++ b/etc/init.d/hwclock.sh 2015-05-16 10:48:20.140450601 +0000
+@@ -25,7 +25,7 @@
+ # Required-Stop: $local_fs
+ # Default-Start: S
+ # X-Start-Before: checkroot
+-# Default-Stop: 0 6
++# Default-Stop:
+ ### END INIT INFO
+
+ # These defaults are user-overridable in /etc/default/hwclock