From f70d57bcac06bacff40cda4928493827ef7dc8c3 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Wed, 18 Jul 2007 20:37:40 -0600 Subject: [PATCH] 2.12r-4ubuntu3 --- debian/changelog | 7 +++++++ debian/rules | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2bd667f3..b7cc7403 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +util-linux (2.12r-4ubuntu3) dapper; urgency=low + + * Set the hardware clock via a udev rule as soon as /dev/rtc is available. + This fixes #33968 for people without /usr on a separate partition. + + -- Scott James Remnant Fri, 21 Apr 2006 11:30:48 +0100 + util-linux (2.12r-4ubuntu2) dapper; urgency=low * Move init script to S50 so it runs after /usr has definitely been diff --git a/debian/rules b/debian/rules index be3629d6..67be29f3 100755 --- a/debian/rules +++ b/debian/rules @@ -228,6 +228,12 @@ endif ifeq ($(DEB_HOST_GNU_SYSTEM),linux-gnu) ifneq ($(arch),$(nohwclock)) install -m 644 debian/conffiles debian/tmp/DEBIAN/ + + install -d -m 755 debian/tmp/lib/udev + install -m 755 debian/hwclock.udev debian/tmp/lib/udev/set_hwclock + + install -d -m 755 debian/tmp/etc/udev/rules.d + install -m 644 debian/hwclock.rules debian/tmp/etc/udev/rules.d/85-hwclock.rules endif endif ls debian/tmp/{bin,sbin,usr/{bin,sbin}}/* | xargs dpkg-shlibdeps -putil-linux -- 2.39.5