From 60702c267d83bc75ca22e8efb5eff0e1a8821800 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 22 Sep 2007 20:42:04 -0400 Subject: Work around lame Ubuntu init scripts / installer bugs The Ubuntu init scripts don't properly set the system time correctly from hardware clock if the hardware clock is configured to tick local time instead of GMT time. Work around this as best as we can by providing an option in /etc/e2fsck.conf which can be set on Ubuntu systems: [options] buggy_init_scripts = 1 Addresses-Debian-Bug: #441093 Addresses-Ubuntu-Bug: #131201 Signed-off-by: "Theodore Ts'o" --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index bb3f1d3b..842965e4 100755 --- a/debian/rules +++ b/debian/rules @@ -342,6 +342,12 @@ binary-arch: install install-udeb $(INSTALL) -d ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION} + if test -f /etc/lsb-release && \ + grep -q DISTRIB_ID=Ubuntu /etc/lsb-release; then \ + $(INSTALL) -p -m 0644 e2fsck/e2fsck.conf.ubuntu \ + ${debdir}/e2fsprogs/etc/e2fsck.conf; \ + fi + dh_installinfo -pcomerr-dev ${stdbuilddir}/lib/et/com_err.info dh_installinfo -pe2fslibs-dev ${stdbuilddir}/doc/libext2fs.info -- cgit v1.2.3