From 1926e9ef5ba605aa09c2d73e06da77721c302a35 Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Sat, 5 Mar 2016 23:44:59 +0000 Subject: [PATCH 1/1] Add a save call to the postinst Make sure that we save working time ASAP. Closes: #815833 --- debian/changelog | 7 +++++++ debian/fake-hwclock.postinst | 3 +++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 231aaf5..b3abe76 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +fake-hwclock (0.10) UNRELEASED; urgency=medium + + * Add a save call to the postinst, to make sure that we save working + time ASAP. Closes: #815833 + + -- Steve McIntyre <93sam@debian.org> Sat, 05 Mar 2016 23:34:59 +0000 + fake-hwclock (0.9) unstable; urgency=medium * Ensure fake-hwclock runs at shutdown on systemd systems too. diff --git a/debian/fake-hwclock.postinst b/debian/fake-hwclock.postinst index 549931f..c857351 100644 --- a/debian/fake-hwclock.postinst +++ b/debian/fake-hwclock.postinst @@ -23,6 +23,9 @@ case "${1:-}" in cleanup_initramfs force_remove_old_init_links fi + # Add a save here to make sure we have time data; the user may + # reboot immediately afterwards, for example. + fake-hwclock save ;; *) :;; -- 2.20.1