From: Kel Modderman Date: Thu, 13 Aug 2009 11:51:57 +0000 (-0600) Subject: hwclockfirst.sh: initscript LSB header in conflict with update-rc.d options X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17441f35ef5e1b7d8a1f3feefc1fd4c4f800072c;p=util-linux hwclockfirst.sh: initscript LSB header in conflict with update-rc.d options hwclockfirst should start before checkroot, followed by hwclock as far as I understand. This is not represented in the current dependency information, hwlockfirst and hwclock both only require mountdevsubfs to have started, thus they are started at same sequence in dependency based boot. Addresses-Debian-Bug: 487196 Signed-off-by: LaMont Jones --- diff --git a/debian/hwclock.sh b/debian/hwclock.sh index 80b17bc4..40eea8c0 100644 --- a/debian/hwclock.sh +++ b/debian/hwclock.sh @@ -18,7 +18,7 @@ ### BEGIN INIT INFO # Provides: hwclock -# Required-Start: mountdevsubfs +# Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 0 6 diff --git a/debian/rules b/debian/rules index 6e099eaf..e91e7840 100755 --- a/debian/rules +++ b/debian/rules @@ -107,6 +107,7 @@ endif install -m 755 debian/hwclock.sh debian/util-linux/etc/init.d/hwclock.sh; \ install -m 755 debian/hwclock.sh debian/util-linux/etc/init.d/hwclockfirst.sh; \ sed -i -e '/^FIRST=/s/no/yes/' -e '/Provides:/s/ck/ckfirst/' \ + -e '/Required-Start:/s/.local_fs/mountdevsubfs/' \ -e '/Required-Stop:/s/.local_fs/umountroot/' \ -e '/Default-Start:/a# Default-Stop:' -e '/Default-Stop:/d' \ debian/util-linux/etc/init.d/hwclockfirst.sh; \