From 60b9d86fe5dced94c50d6e7e459b620fa1ea54e0 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 27 Dec 2010 16:10:42 +0100 Subject: [PATCH] Fix hwclock Since we mask hwclock and hwclockfirst, we need to run hwclock-save.service on shutdown now. To avoid running hwclock twice during boot, we remove sysinit.target.wants/hwclock-load.service. hwclock is already triggered by /lib/udev/rules.d/85-hwclock.rules. This needs further coordination with udev. --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index ca220bc3..49d8596d 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,8 @@ override_dh_auto_clean: override_dh_install: rm debian/tmp/usr/share/doc/systemd/LICENSE rm debian/tmp/lib/security/pam_systemd.la - rm debian/tmp/lib/systemd/system/shutdown.target.wants/hwclock-save.service + # udev already triggers hwclock during boot + rm debian/tmp/etc/systemd/system/sysinit.target.wants/hwclock-load.service dh_install -O--parallel --fail-missing dh_install -plibpam-systemd debian/pam-configs /usr/share -- 2.39.5