On Fri, Apr 06, 2012 at 06:30:49PM +0100, Roger Leigh wrote:
>
> I have attached an updated patch against current util-linux in
> unstable.
Patch attached to fix issues mentioned on IRC.
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
diff -urN util-linux-2.20.1.orig/debian/changelog util-linux-2.20.1/debian/changelog
--- util-linux-2.20.1.orig/debian/changelog 2012-05-18 13:29:39.511490368 -0700
+++ util-linux-2.20.1/debian/changelog 2012-05-18 13:31:40.887760589 -0700
@@ -34,7 +34,7 @@
- Add /etc/default/hwclock and hwclock(5) which permit
configuration without editing the initscript, and also document
all the undocumented variables used by the scripts.
- Closes: #481357, #659654
+ Closes: #481357, #659654, #660365
- The udev hwclock-set script runs hwclock --tzset unconditionally
in all cases (it's a no-op for UTC).
- The user running "hwclock --systohc (--utc|--localtime)" is now
diff -urN util-linux-2.20.1.orig/debian/hwclock-set util-linux-2.20.1/debian/hwclock-set
--- util-linux-2.20.1.orig/debian/hwclock-set 2012-05-18 13:29:39.511490368 -0700
+++ util-linux-2.20.1/debian/hwclock-set 2012-05-18 13:30:18.379577914 -0700
@@ -24,5 +24,5 @@
if [ yes = "$BADYEAR" ] ; then
/sbin/hwclock --rtc=$dev --systz --badyear
else
- /sbin/hwclock --rtc=$dev --systzif [ yes != "$UTC" ] ; then
+ /sbin/hwclock --rtc=$dev --systz
fi