Package: util-linux
Version: 2.13~rc1-0
Tags: patch
User: [EMAIL PROTECTED]
Usertags: incorrect-dependency
When testing dependency based boot sequencing, I discovered a minor
bug in the init.d/hwclockfirst.sh script. It claim to provide
hwclock, which is also provided by the hwclock.sh script. This lead
to a slightly wrong dependency graph.
This patch solve the problem, by making sure the provide line matches
the script name.
--- debian/rules.orig 2007-12-30 16:08:18.000000000 +0100
+++ debian/rules 2007-12-30 16:10:20.000000000 +0100
@@ -107,7 +107,7 @@
fi
if [ -f debian/util-linux/sbin/hwclock ] ; then \
install -m 755 debian/hwclock.sh
debian/util-linux/etc/init.d/hwclockfirst.sh; \
- sed -i '/^FIRST=/s/no/yes/'
debian/util-linux/etc/init.d/hwclockfirst.sh; \
+ sed -i -e '/^FIRST=/s/no/yes/' -e 's/\(Provides:
*\)hwclock/\1hwclockfirst/' debian/util-linux/etc/init.d/hwclockfirst.sh; \
fi
ifneq ($(DISTRO),Debian)
if [ -f debian/util-linux/sbin/hwclock ] ; then \
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]