[Pkg-utopia-commits] r265 - packages/unstable/hal/debian
Sjoerd Simons
sjoerd at costa.debian.org
Wed Aug 3 21:34:35 UTC 2005
Author: sjoerd
Date: 2005-08-03 21:34:35 +0000 (Wed, 03 Aug 2005)
New Revision: 265
Modified:
packages/unstable/hal/debian/changelog
packages/unstable/hal/debian/hal.udev.rules
Log:
Only run hal.dev and hal.hotplug when possible
Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog 2005-08-02 21:05:54 UTC (rev 264)
+++ packages/unstable/hal/debian/changelog 2005-08-03 21:34:35 UTC (rev 265)
@@ -1,3 +1,10 @@
+hal (0.4.8-6) unstable; urgency=low
+
+ * Only run hal.dev and hal.hotplug when possible. Stops spamming the logs with
+ DEVNAME and SEQNUM is not set. (Closes: #321033)
+
+ -- Sjoerd Simons <sjoerd at debian.org> Wed, 3 Aug 2005 22:02:34 +0200
+
hal (0.4.8-5) unstable; urgency=low
* Install hal-umount.sh in /usr/lib/hal instead of
Modified: packages/unstable/hal/debian/hal.udev.rules
===================================================================
--- packages/unstable/hal/debian/hal.udev.rules 2005-08-02 21:05:54 UTC (rev 264)
+++ packages/unstable/hal/debian/hal.udev.rules 2005-08-03 21:34:35 UTC (rev 265)
@@ -1,7 +1,9 @@
# hotplug.d and dev.d are obsolete, so simulate calling of the hal helpers
-ENV{UDEVD_EVENT}=="1" RUN+="/usr/lib/hal/hal.hotplug"
-ENV{UDEVD_EVENT}=="1" RUN+="/usr/lib/hal/hal.dev"
+ENV{SEQNUM}=="[0-9]*", ENV{UDEVD_EVENT}=="1" RUN+="/usr/lib/hal/hal.hotplug"
+# Only run the dev helper for real devices
+SYSFS{dev}=="*" RUN+="/usr/lib/hal/hal.dev"
+
# unmount block devices when they are removed
ENV{UDEVD_EVENT}=="1", SUBSYSTEM=="block",ACTION="remove", RUN+="/usr/lib/hal/hal-unmount.sh"
More information about the Pkg-utopia-commits
mailing list