From: Michael Biebl Date: Mon, 27 Dec 2010 15:10:42 +0000 (+0100) Subject: Fix hwclock X-Git-Tag: 16-1~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60b9d86fe5dced94c50d6e7e459b620fa1ea54e0;p=systemd 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. --- 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