Do a one-time migration of the hwclock configuration. If UTC is set to "no" in
/etc/default/rcS, create /etc/adjtime and add the "LOCAL" setting.
* As autoreconf doesn't like intltool, override dh_autoreconf and call
intltoolize and autoreconf ourselves.
* Add Build-Depends on intltool.
+ * Do a one-time migration of the hwclock configuration. If UTC is set to
+ "no" in /etc/default/rcS, create /etc/adjtime and add the "LOCAL" setting.
-- Tollef Fog Heen <tfheen@debian.org> Wed, 14 Sep 2011 08:25:17 +0200
rmdir --ignore-fail-on-non-empty /cgroup
fi
fi
+ # Do a one-time migration of the local time setting
+ if dpkg --compare-versions "$2" lt "33-1"; then
+ . /etc/default/rcS
+ if [ $UTC ="no" ] && [ ! -e /etc/adjtime ]; then
+ echo "0 0 0\0\0LOCAL" > /etc/adjtime
+ fi
+ fi
fi
systemd-machine-id-setup